i've noticed the "police patrol" scenario now has a nice feature that announces "take care, your vehicle is xx% damaged!" whenever you incur damage. How can i add this to other scenarios like Bank-Robbery? (because its not there now) I can't find anything specific in the lua files for police-patrol, although it is in damageGoal.lua** so im not sure why its happening in some scenarios but not others. **C:\BeamNGDrive-0.5.6.1.2462\lua\ge\extensions\scenario
I am just wondering why beamng is installed in that location? the name and the location make it seem like a pirated copy. if i was any good at lua i would help, but sadly im not.
I bought the game through HumbleBundle. Everytime i download a new update, i get a zip file with the whole BeamNGDrive-0.5.x,x,xxx directory structure. I drag it from the zip file onto my C drive and its ready to go. At first I thought it was really strange, a large software package that doesn't go through any kind of install process. I'm guessing your on steam and it works different?
yea. steam installs into the steam folder in program files. They way humble bundle does make sense, as its a good way to keep track of the versions in my opinion.
Now that you bring it up, this is unclear to me as well! FWIW checkGoals.lua calls the function you mentioned in damageGoal.lua. Offhand I don't see where the goals are passed from these scenario luas though...
Police Patrol sets various goals in the scenario .json, and the code for the damage goals shows the message (as you already discovered). The Bank Robbery scenario uses it's own Lua instead, which doesn't have the messages.