- Joined
- Sep 18, 2010
- Messages
- 2
Hi there, this is my first tutorial here, hope it won't be too bad.
What is this tutorial about?
It's about how to create Speed & Damage auras for your structures, how to add upgrade system to increase the the auras level and some more interesting stuff in an Avarage Joe friendly way.
Contents:
1.How to create Speed & Damage auras for structures
2.Upgrade system with Research
3.Maintaining aura level (Build after upgrade)
Let's begin!
1. How to create Speed & Damage auras for structures
1.1 Damage aura
Okay so to create the Damage aura we need to create a new ability based on Command aura located in Standard Abilities > Neutral Hostile > Units and name it Damage aura (or whatever you want to call it)
Now we need to change setting of the newly created aura so that it works on structures.
1. Set the Hero Ability to False
2. Set the Levels to How much levels of upgrade you want for it
3. Change the Attack Damage Increase Data field values to your desired ones (remember, 1.00 = 100%, 0.01 = 1%)
4. Set all the Melee Bonus and Ranged Bonus fields to True
5. Set the Area of Effect fields to your desired range
Optional: Create a new Buff based on Command Aura and change its Icon, Tooltip and description to your needs and then add it to Buffs fields of the aura
6. Set the Targets Allowed field to Vulnurable, Invulnerable, Structure (you can add Ground and Air if you plan the aura to be used by units that are not structures)
7. Change the Icon, Tooltips and Description at your will
1.2 Speed Aura
This one is a lot like Damage aura, but it has it's differences.
Base it off the Endurance Aura from Standard Abilities > Orc > Hero section
1. Set the Hero Ability to False
2. Set the Levels to How much levels of upgrade you want for it
3. Change the Attack Speed Increase Data field values to your desired ones (remember, 1.00 = 100%, 0.01 = 1%)
4. Change the Movement Speed Increase Data field values to 0
5. Set the Area of Effect fields to your desired range
Optional: Create a new Buff based on Endurance Aura and change its Icon, Tooltip and description to your needs and then add it to Buffs fields of the aura
6. Set the Targets Allowed field to Vulnurable, Invulnerable, Structure (you can add Ground and Air if you plan the aura to be used by units that are not structures)
7. Change the Icon, Tooltips and Description at your will
Now that that's done, add the ability to your unit you want to have the aura and test it in your map to see if you did everything right.
Good?
Good!
Let's move on!
2. Upgrade System with Research
This system will use Research done by a building to increase the level of your aura (if you have multiple levels and want to be able to increase them)
To do this firstly go to Upgrades tab and create a custom Upgrade based on Cloud upgrade from Human section.
Change the values as follows:
1. Change the Gold Base and Gold Increment to How much you need it to cost
2. Change the Lumber Base and Lumber Increment to How much you need it to cost
3. Set Levels to how much levels your aura has -1 (because the unit already has aura at level 1)
4. Change the Time base and Time Increment to Whatever you need
5. Remove any Techtree - requirements
6. Change Icon, Tooltip and Description at your will
Repeat the same actions and make an upgrade for your other aura
Now that we have our auras and upgrades, add both upgrades to the structure you want to be able to research them.
Now let me show you how to increase the level of aura ability when its done upgrading.
Trigger #1
For this we will need 2 Variables of Integer type so go create them and name them DamageLeveland SpeedLevel and set the value to 1
And heres the trigger for increasing Speed Auras ability level after research
Now do the same with Damage aura research
Trigger #2
Great! Now go and test this on your map and see if its working.
3. Maintaining Ability Level
This section is about how to set the ability level to the same as you have already researched when you build another Unit with your auras.
It's quite simple actually and this is why we created the Variables LevelDamage and LevelSpeed.
Ok less talk more triggers:
Trigger #3
Okay then, guess that's it, hope you learned something and I would appreciate some criticism since this is my first tut.
Seeya,
d0F
What is this tutorial about?
It's about how to create Speed & Damage auras for your structures, how to add upgrade system to increase the the auras level and some more interesting stuff in an Avarage Joe friendly way.
Contents:
1.How to create Speed & Damage auras for structures
2.Upgrade system with Research
3.Maintaining aura level (Build after upgrade)
Let's begin!
1. How to create Speed & Damage auras for structures
1.1 Damage aura
Okay so to create the Damage aura we need to create a new ability based on Command aura located in Standard Abilities > Neutral Hostile > Units and name it Damage aura (or whatever you want to call it)
Now we need to change setting of the newly created aura so that it works on structures.
1. Set the Hero Ability to False
2. Set the Levels to How much levels of upgrade you want for it
3. Change the Attack Damage Increase Data field values to your desired ones (remember, 1.00 = 100%, 0.01 = 1%)
4. Set all the Melee Bonus and Ranged Bonus fields to True
5. Set the Area of Effect fields to your desired range
Optional: Create a new Buff based on Command Aura and change its Icon, Tooltip and description to your needs and then add it to Buffs fields of the aura
6. Set the Targets Allowed field to Vulnurable, Invulnerable, Structure (you can add Ground and Air if you plan the aura to be used by units that are not structures)
7. Change the Icon, Tooltips and Description at your will
1.2 Speed Aura
This one is a lot like Damage aura, but it has it's differences.
Base it off the Endurance Aura from Standard Abilities > Orc > Hero section
1. Set the Hero Ability to False
2. Set the Levels to How much levels of upgrade you want for it
3. Change the Attack Speed Increase Data field values to your desired ones (remember, 1.00 = 100%, 0.01 = 1%)
4. Change the Movement Speed Increase Data field values to 0
5. Set the Area of Effect fields to your desired range
Optional: Create a new Buff based on Endurance Aura and change its Icon, Tooltip and description to your needs and then add it to Buffs fields of the aura
6. Set the Targets Allowed field to Vulnurable, Invulnerable, Structure (you can add Ground and Air if you plan the aura to be used by units that are not structures)
7. Change the Icon, Tooltips and Description at your will
Now that that's done, add the ability to your unit you want to have the aura and test it in your map to see if you did everything right.
Good?
Good!
Let's move on!
2. Upgrade System with Research
This system will use Research done by a building to increase the level of your aura (if you have multiple levels and want to be able to increase them)
To do this firstly go to Upgrades tab and create a custom Upgrade based on Cloud upgrade from Human section.
Change the values as follows:
1. Change the Gold Base and Gold Increment to How much you need it to cost
2. Change the Lumber Base and Lumber Increment to How much you need it to cost
3. Set Levels to how much levels your aura has -1 (because the unit already has aura at level 1)
4. Change the Time base and Time Increment to Whatever you need
5. Remove any Techtree - requirements
6. Change Icon, Tooltip and Description at your will
Repeat the same actions and make an upgrade for your other aura
Now that we have our auras and upgrades, add both upgrades to the structure you want to be able to research them.
Now let me show you how to increase the level of aura ability when its done upgrading.
Trigger #1
For this we will need 2 Variables of Integer type so go create them and name them DamageLeveland SpeedLevel and set the value to 1
And heres the trigger for increasing Speed Auras ability level after research
-
Events
-
Unit - A unit Finishes research
-
-
Conditions
-
(Researched tech-type) Equal to Research Speed Aura
-
-
Actions
-
Set speedlevel = (speedlevel + 1)
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Equal to Aura Tower
-
-
Then - Actions
-
Unit - Increase level of Speed Aura for (Picked unit)
-
-
Else - Actions
-
-
-
-
-
(Unit-type of (Picked unit)) Equal to Aura Tower
Now do the same with Damage aura research
Trigger #2
-
Events
-
Unit - A unit Finishes research
-
-
Conditions
-
(Researched tech-type) Equal to Research Damage Aura
-
-
Actions
-
Set damagelevel = (damagelevel + 1)
-
Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
-
Loop - Actions
-
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
-
If - Conditions
-
(Unit-type of (Picked unit)) Equal to Aura Tower
-
-
Then - Actions
-
Unit - Increase level of Damage Aura for (Picked unit)
-
-
Else - Actions
-
-
-
-
-
(Unit-type of (Picked unit)) Equal to Aura Tower
Great! Now go and test this on your map and see if its working.
3. Maintaining Ability Level
This section is about how to set the ability level to the same as you have already researched when you build another Unit with your auras.
It's quite simple actually and this is why we created the Variables LevelDamage and LevelSpeed.
Ok less talk more triggers:
Trigger #3
-
Events
-
Unit - A unit Finishes construction
-
-
Conditions
-
(Unit-type of (Constructed structure)) Equal to Aura Tower
-
-
Actions
-
Unit - Set level of Damage Aura for (Triggering unit) to damagelevel
-
Unit - Set level of Speed Aura for (Triggering unit) to speedlevel
-
-
(Unit-type of (Constructed structure)) Equal to Aura Tower
Okay then, guess that's it, hope you learned something and I would appreciate some criticism since this is my first tut.
Seeya,
d0F
Last edited: