How do I define a unit special ability?
I am using Calins' Myrmidons from TWC (which I have written .txt's for) and I want to know how I can give the unit 'skirmish' ability.
Which part of export_descr_unit.txt do I need to edit to reflect this?
or is it somewhere else?
I have examined the export_descr_unit.txt for an already skirmishing unit...but can't see the difference...unless it is right in front of me!!
Can someone please help me out?
-Attalus-
Fool me once...shame on you
Fool me twice...prepare to die
Re: How do I define a unit special ability?
You don't. You have to make them a 'missile' type and give them missile weapon as first weapon (although I'm not sure about that second thing). Only missile units can skirmish.
Re: How do I define a unit special ability?
thx eadingas, I also found that you can't have a first weapon that is thrown as a precursor to secondary weapon, ala legionaries pilii.
The Myrmidons work great now!!
Now If I can only get the unit card to work....
-Attalus-
Fool me once...shame on you
Fool me twice...prepare to die
Re: How do I define a unit special ability?
What doesn't work with the unit card? You just have to put the small one in the ui/units/faction/ and the big one in ui/unit_info/faction folders...
Re: How do I define a unit special ability?
Quote:
Originally Posted by eadingas
What doesn't work with the unit card? You just have to put the small one in the ui/units/faction/ and the big one in ui/unit_info/faction folders...
I have UI/UNIT_INFO/GREEK_CITIES containing myrmidon_info.tga (64Kb)
and
UI/UNIT/GREEK_CITIES containing #myrmidon.tga (8Kb)
The unit is called Myrmidons in the dictionary entry (greek_heavy_peltasts2).
Is it case sensitive?
I am getting nothing but a grey peasant...all my other added units work great, I don't understand what is different with this one :embarassed:
Have you seen these units BTW? Very nice work.
Thanks again eadingas!
-Attalus-
Fool me once...shame on you
Fool me twice...prepare to die
Re: How do I define a unit special ability?
I think it should be greek_heavy_peltasts2.tga - the descr_unit name, not dictionary name.
Re: How do I define a unit special ability?
Thanks again eadingas...you've been a big help!
I actually discovered this for myself, about 2 minutes after I posted :embarassed:
I thought...'what if I........'
~D
-Attalus-
Fool me once...shame on you
Fool me twice...prepare to die