

(also just "pathcost", which will turn it off) There are three different commands for this in the game (type in the console, no quotes): exe is completely unsupported, as is everything else in this mod tools release. BF2_modtools.exe can be found in the root of the BF2_ModTools folder. This executable still has a CD check, and has been crippled in some ways so as not to be used as a stand-alone exe to run and play the game. There is an arrow pointing in the direction of the node.Īlong with the Mod tools, we’ve released an executable that you can use to run Star Wars Battlefront 2 in a mode that will allow you access to the dev console (press ~ when in the game) which will help make debugging, and developing your mod easier. If you fly close to them it will draw (in text) the type, primary and secondary stances. HintNodesThis draws all the hint nodes and patrol paths in different colors based on type. Oneway connections are drawn with an arrow in the center of them, and there is text that shows Jump or Jetjump flags. You need to type "aimode" first for this to work.ĭynamic connections are either red (closed) or green (open).


STRATEGIC VALUES are the StrategicAttackValue and StrategicDefendValue that you set in the editor and in the scripts.ĭraws the barriers. SPAWN is the spawn weighting for this CP, which controls where guys will spawn in. If its a goal with a target, like Defend, it also shows the object that its assigned to. The goal name is followed by the number of units (8) currently assigned to this goal. A 100 weight will be half as important as a 200 weight. The first number (100.0) is the weight assigned to this goal. This will dump out a list of AI goals to the console, and also to the debug output (TTY on ps2, DrWatson for xbox):ġ00.0 Defend (8) myg1_prop_shield_generatorģ00.0 Destroy (14) myg1_prop_shield_generatorģ00.0 Destroy (13) kas2_prop_sea_walldoor_2 They're not inside a barrier ("ai.showobstacles"). If it says WAIT, that usually means they're stuck, so check that they have goals assigned to them ("aigoals") or that This is useful to figure out what they're trying to do. To use these, type them in to the console (type ~ on your keyboard, then type the command)
