Star wars battlefront 2 fake console commands

broken image
broken image

Note that Lua DOES NOT accept the '+' sign, so do not do: I've added support for the Historical campaign lua commands: Where value can be between 1 (dumbest) and 20 (smartest) Not sure if I mentioned this new keyboard command to you.Īi.showhints 1 will display hint nodes in game Map.displayall 1 will make the map display info for all teams (e.g.

broken image

'setcontrols 1' will turn player control back on

broken image

This way you can fly around in freecam whilst keeping the player stationary. I've updated all the lua scripts with this new function name.Ī useful console command is 'setcontrols 0' to disable player movement. The new function name generalizes the environment type better. I've renamed the script function, 'SetUrbanEnvironment' to 'SetDenseEnvironment' since I realized with Endor that I wanted the AI vehicles to behave in the same way in forested environments as in city environments. I've added the setting to all current lua files, so you will only need to add it to any new lua mission files you create: This allows the AI to change some combat behaviors to be more suitable to an urban environment (for example, ATST will not move as much around during combat, since in a tight urban setting they will collide with walls too much). I've added a setting to the lua mission scripts that tells the AI the mission is urban. This creates an unnecessary walker slot which never gets used, wasting memory. If you have CommandWalkers in your mission, you usually have to do something like this: