wabbit
Awesome Member
     
Posts: 730
Joined: Jul 2010
|
RE: unit skills in the effects folder?
Yep - that I know. I've made quite a few new abilities. My post wasn't very clear, so here is a different version.
In Resources/Skills: there are 2 major 'types' of files.
1) Base skills files which code how the skill triggers (how much AP, battle/global/passive, the icon it has, enemy/friendly, range, etc..) An example of this is: n2_n_poison_strike.
2) Unit skill trees. These are either grids for leaders, or a simple tree for regular units. For example, the file empire_wizard, which when opened looks like this:
grid "empire_wizard"
{
unit_start 1 1;
unit_skill "n_invulnerability" 1 1 2 1;
uses 1;
}
Now, lets take a visit in the Resources/Effects folder. Like above, there are 2 major types of files:
1) Base effect files which link to host files from the 'skill' folder. This describes the exact details of the effect (stat mods, damage) and applies graphic FX, etc..
2) Unit skill trees, kinda like in the skills folder. This is where my question is, because if we look at the n2_empire_wizard tree in the 'Effects' folder, he looks like:
// profile ID
ID "empire_wizard"
{
}
Where did the invulnerability go?
Why do some units in the effects folder match those in the skills folder? For example: here is demons_fiend in SKILLS folder:
grid "demons_fiend"
{
unit_start 1 1;
unit_skill "n_poison_strike" 1 1 2 1;
}
And here is the n2_demons_fiend file in the EFFECTS folder:
// profile ID
ID "demons_fiend"
{
skill n_poison_strike;
}
So why are there matches in some cases, but in others there are not?
Also, I don't see any 'new' skills in the effect folder for units - it either has the same or less. I'm just not understanding why there are less. I also don't understand why even have them there in the first place. I've been making quite a few new skills, and have never had to make a new file for the unit skill tree in the effects folder for it. They always work just fine.
Is this what the AI uses?
|
|
| 21-09-2010 03:44 AM |
|
pensuke89
Unofficial Bug Tracker
   
Posts: 214
Joined: Jul 2010
|
|
| 21-09-2010 04:02 PM |
|