What's new in The Falklands War: 1982 What's new in The Star and the Crescent
|
How to Edit an Enemy PathThe basic method for building a Faction AI script is to first, plan paths for enemy hierarchies, then plan Missions for enemy hierarchies, and then, finally, create a Faction AI that triggers units to begin movement and execute Missions as triggers are met. The first step in creating an enemy battle plan to challenge the player is planning paths for enemy units. Obviously, if the enemy is defending in the scenario, you need only place the units and plan the commitment of a reserve. But in our example, to make things interesting, we will have the enemy attack to destroy the defending player. Planning a path for an enemy unit or hierarchy is almost the same as doing so for friendly units and hierarchies, except that all 'stop' nodes have 'cancel times', at time at which they revert to 'go' nodes. This allows you to create a kind of 'poor man's AI' if you do not want to script a simple move. Edit an Enemy Path:
|