Log in

View Full Version : How do I define a unit special ability?



Attalus
01-11-2005, 01:17
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

eadingas
01-11-2005, 10:14
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.

Attalus
01-11-2005, 14:30
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

eadingas
01-11-2005, 15:50
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...

Attalus
01-11-2005, 22:11
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

eadingas
01-12-2005, 13:21
I think it should be greek_heavy_peltasts2.tga - the descr_unit name, not dictionary name.

Attalus
01-13-2005, 13:19
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