Creating your own attributes!
Posted: Fri Oct 24, 2008 10:10 am
You can create abilities and even your own attributes in all AGE games.
An attribute allows you to check if an ability will work on the element or against the element.
An example will make things simpler. I want to have ironclads do much more damages against wooden ships than against others ships.
I'll create a Combat ability with a 200% to Hit chance (Param0 for abilities of class BattleBonus). But I will restrict its use against Woodenships.
(First create if they are not there new columns called StrParam0 to StrParam7).
In StrParam7 I add this string: *woodenships*. This is a string of your choice (*FlyingSaucer* is perfectly legal, but put * at start and end though....
This mean that this ability will only work against targets which has this attribute.
Now, to finish the work, we go to Models.xls. There you find a column named ... Attributes. And guess why? You put *woodenships* in this column for ships which are flying saucer.
ok, this was to see if you were with me... You put the attribute to ships which are made of wood. 
If you already have an attribute, simply separate them with a pipe character |
An attribute allows you to check if an ability will work on the element or against the element.
An example will make things simpler. I want to have ironclads do much more damages against wooden ships than against others ships.
I'll create a Combat ability with a 200% to Hit chance (Param0 for abilities of class BattleBonus). But I will restrict its use against Woodenships.
(First create if they are not there new columns called StrParam0 to StrParam7).
In StrParam7 I add this string: *woodenships*. This is a string of your choice (*FlyingSaucer* is perfectly legal, but put * at start and end though....
This mean that this ability will only work against targets which has this attribute.
Now, to finish the work, we go to Models.xls. There you find a column named ... Attributes. And guess why? You put *woodenships* in this column for ships which are flying saucer.


If you already have an attribute, simply separate them with a pipe character |