Create starting positions for all players, including the AI and a waypoint path for the AI to follow.
1. Go into Edit->Edit Player List... and click Add Skirmish Players.
2. Go into Edit->Edit Teams... and click SkirmishGLA (you can use any but GLA is most commonly used).
3. Click Add New Team, name it Wave 1 and choose the unit type and how many of each unit you want.
4. Repeat for as many waves as you want.
5. Go into Edit->Scripts... and click on SkirmishGLA
6. Create a new script and in the "actions if true" section, click new and create timers to expire for Wave 1, Wave 2, etc.
7. Create another new script. In the "script conditions" section, click new, timer expired and put in the timer you created for Wave 1.
8. In the "actions if true" section, go into team->create->Spawn a reinforcement team. Choose the team that you created for Wave 1 and the waypoint that you want the team to spawn on.
9. In the "actions if true" section, go into team->Move->Set to follow a waypoint path. Use the waypoint path you want them to follow and the team for Wave 1.
10. Repeat steps 7, 8 & 9 for every other wave.
This is the basic coding for an AOD.
To stop players from making buildings, use the "actions if true" player->build->Set a player to be unable to build buildings. Use player0 for the host of the game, player1 for the second player, player2 for the third, etc.
Alternatively, you can use map->modify->Adjust the tech tree for a specific object type. With this, you can remove buttons and make buildings no longer require prerequisites. Then use Scripting->Add a command button to an object type. With this, you can add other buildings to a dozers commandset.
To transfer buildings to a player, use Player->Tranfer->Transfer a specific unit to the control of a player.
Edited by user Friday, July 3, 2009 1:28:56 PM(UTC)
| Reason: Not specified