Results 1 to 7 of 7

Thread: How do I define a unit special ability?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member Attalus's Avatar
    Join Date
    Oct 2004
    Location
    in green fields, with the sun on my face..
    Posts
    97

    Default 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
    -Attalus-
    Fool me once...shame on you
    Fool me twice...prepare to die

  2. #2
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default 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.
    I'm still not here

  3. #3
    Member Member Attalus's Avatar
    Join Date
    Oct 2004
    Location
    in green fields, with the sun on my face..
    Posts
    97

    Default 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
    -Attalus-
    Fool me once...shame on you
    Fool me twice...prepare to die

  4. #4
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default 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...
    I'm still not here

  5. #5
    Member Member Attalus's Avatar
    Join Date
    Oct 2004
    Location
    in green fields, with the sun on my face..
    Posts
    97

    Default 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

    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
    Last edited by Attalus; 01-11-2005 at 22:17.
    -Attalus-
    Fool me once...shame on you
    Fool me twice...prepare to die

  6. #6
    Wandering Historian Member eadingas's Avatar
    Join Date
    Nov 2004
    Location
    Llanfairpwll- gwyngyll- gogerych- wyrndrobwll- llantysilio- gogogoch
    Posts
    4,714

    Default 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.
    I'm still not here

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO