- Joined
- Aug 14, 2006
- Messages
- 122
What is an AoS?
An AoS(Aeon of Strife) is a map where all the players select one hero, an then appear in a computer controlled base, how many such bases there are can vary. Most AoS'es have mostly 2 or 3 bases.
The bases also spawns units regulary, which sometimes look different but have the same stats to ensure balance.
Right, so how do i make the units spawn and attack?
To do so you must first make Regions(to do so enter layer, then regions) first make a region for where they shall spawn and call the something which you remember(Like: Creep Spawn 1). Then make regions for the path that the units will follow(like make one right up from the first regions, then make one that turns right and so on, and the last within one of the enemies base).
After having made the regions you go in the trigger editor and can make something like this:
Spawn Trigger:
To make them attack create a trigger like this:
Replace the regions(Creep Spawn 1, and Creep Move 1) with your own. And replace Equal to Player 1 with the player that is the comp of that faction.
Okay, then what about the heroes?
You have to make a way of creating the heroes, there is several ways to do that.
I will explain one of the ways, do so that a player who are not in game(example, Brown if there is no brown player) have a hero unit somewhere in mapw here other units can reach(example: on the top of a cliff, surrounded by boundaries, etc) and in front of him make a Circle of Power(Unit layer, neutral passive under campaigns).
Then make a Region inside the circle of power.
Then create a Hero chooser unit, which is invulnerable and have no attack in the object editor, and make one such unit at where youl make the heroes for all the players.
Then go in trigger editor and do this:
What about winning?
There are several objectives that can be used, now i'm going to take an example in one which is most commonly used. That one side have to destroy a certain building in the enemies base. This can be used with a simple trigger(one for both sides).
But what when a hero dies, then he cant come back unless all have a Altar!
That can also be fixed with triggers, first you need to make a Region for each of the teams where their hero will respawn. You must also make aWhen you have done that you make a trigger like this:
Hey I wanna add random heroes to, how may i do that?
It is possible but first you must make a variable, go to the variable section within the triggers editor and do following:
Make the type Unit Type and call it something like Random_Hero_Type
Set the array to how many different heroes you have.
Then make this trigger:
But how do I make so that the ones who send units give gold to the ones who killed them?
Thats done with one simple trigger like this one:
Christers
An AoS(Aeon of Strife) is a map where all the players select one hero, an then appear in a computer controlled base, how many such bases there are can vary. Most AoS'es have mostly 2 or 3 bases.
The bases also spawns units regulary, which sometimes look different but have the same stats to ensure balance.
Right, so how do i make the units spawn and attack?
To do so you must first make Regions(to do so enter layer, then regions) first make a region for where they shall spawn and call the something which you remember(Like: Creep Spawn 1). Then make regions for the path that the units will follow(like make one right up from the first regions, then make one that turns right and so on, and the last within one of the enemies base).
After having made the regions you go in the trigger editor and can make something like this:
Spawn Trigger:
-
Events
-
Time - Every 60.00 seconds of game time
-
Conditions
-
Actions
-
Unit - Create 20 Footman for Player 1 (Red) at (Center of Creep Spawn 1 <gen>) facing Default building facing degrees
To make them attack create a trigger like this:
-
Events
-
Unit - A unit enters Creep Spawn 1 <gen>
-
Conditions
-
(Owner of (Triggering unit)) Equal to Player 1 (Red)
-
Actions
-
Unit - Order (Triggering Unit) to Attack-Move To (Creep Move 1 <gen>)
Replace the regions(Creep Spawn 1, and Creep Move 1) with your own. And replace Equal to Player 1 with the player that is the comp of that faction.
Okay, then what about the heroes?
You have to make a way of creating the heroes, there is several ways to do that.
I will explain one of the ways, do so that a player who are not in game(example, Brown if there is no brown player) have a hero unit somewhere in mapw here other units can reach(example: on the top of a cliff, surrounded by boundaries, etc) and in front of him make a Circle of Power(Unit layer, neutral passive under campaigns).
Then make a Region inside the circle of power.
Then create a Hero chooser unit, which is invulnerable and have no attack in the object editor, and make one such unit at where youl make the heroes for all the players.
Then go in trigger editor and do this:
-
Events:
-
Unit - A Unit enters Hero Select <gen>
-
Conditions:
-
(Unit-type of (Triggering Unit) Equal to Hero Selector
-
Actions:
-
Unit - Create 1 Paladin for (Owner of(Triggering Unit)) at (Center of Hero Spawn <gen>) facing default building degrees
-
Unit - Remove (Triggering Unit) from the game
What about winning?
There are several objectives that can be used, now i'm going to take an example in one which is most commonly used. That one side have to destroy a certain building in the enemies base. This can be used with a simple trigger(one for both sides).
-
Events:
-
Unit - Winning_Building 000 Dies
-
Conditions
-
Actions
-
Game - Victory Player 1 (Red) (Show dialogs, Show scores)
-
Game - Victory Player 2 (Blue) (Show dialogs, Show scores)
-
Game - Defeat Player 3 (Teal) with the message: Defeat!
-
Game - Defeat Player 4 (Purple) with the message: Defeat!
But what when a hero dies, then he cant come back unless all have a Altar!
That can also be fixed with triggers, first you need to make a Region for each of the teams where their hero will respawn. You must also make aWhen you have done that you make a trigger like this:
-
Events
-
Unit - A unit Dies
-
-
Conditions
-
((Triggering unit) is A Hero) Equal to True
-
-
Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering player) is an ally of Player 1 (Red)) Equal to True
-
-
Then - Actions
-
Wait 30.00 seconds
-
Hero - Instantly revive (Triggering unit) at (Center of revive spot 1 <gen>), Hide revival graphics
-
-
Else - Actions
-
Do nothing
-
-
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
((Triggering player) is an ally of Player 4 (Purple)) Equal to True
-
-
Then - Actions
-
Wait 30.00 seconds
-
Hero - Instantly revive (Triggering unit) at (Center of revive spot 2 <gen>), Hide revival graphics
-
-
Else - Actions
-
Do nothing
-
-
-
Hey I wanna add random heroes to, how may i do that?
It is possible but first you must make a variable, go to the variable section within the triggers editor and do following:
Make the type Unit Type and call it something like Random_Hero_Type
Set the array to how many different heroes you have.
Then make this trigger:
-
Set Random Hero
-
Events
-
Map initialization
-
-
Conditions
-
Actions
-
Set Random_Hero_Type[1] = One Of Your Heroes
-
Set Random_Hero_Type[2] = Another Of Your Heroes
-
Set Random_Hero_Type[3] = And Yet Another Hero
-
Set Random_Hero_Type[4] = ETC.
-
-
-
Create Random Hero
-
Events
-
Unit - A unit enters Random Hero Select <gen>
-
-
Conditions
-
(Unit-type of (Triggering unit)) Equal to Hero Selector
-
-
Actions
-
Unit - Create 1 Random_Hero_Type[(Random integer number between 1 and 17)] for (Owner of (Triggering unit)) at (Center of Hero Spawn <gen>) facing Default building facing degrees
-
Unit - Remove (Triggering unit) from the game
-
-
But how do I make so that the ones who send units give gold to the ones who killed them?
Thats done with one simple trigger like this one:
-
Make Spawning Units Give Gold
-
Events
-
Time - Elapsed game time is 0.01 seconds
-
-
Conditions
-
Actions
-
Player - Turn Gives bounty On for Player 11 (Dark Green)
-
Player - Turn Gives bounty On for Player 12 (Brown)
-
-
Christers
Last edited: