Results 1 to 11 of 11

Thread: changing units

  1. #1

    Default changing units

    I need some little push!

    I transferred some units in the original RTW
    Example: Iberian Infantry to the Julii

    But…

    I wanted that, when I played by the Julii the Iberian Inf would appeared with the Spanish skin, but they appear with the carthagian.

    I changed the desc_model_battle.txt in the textures and in the sprites, like this:

    type carthaginian_infantry ; combat spear
    skeleton fs_swordsman
    indiv_range 40
    texture carthage, data/models_unit/textures/unit_carthage_infantry.tga
    texture spain, data/models_unit/textures/unit_carthage_infantry_spain.tga
    HERE - texture romans julii, data/models_unit/textures/unit_carthage_infantry_spain.tga
    texture slave, data/models_unit/textures/unit_carthage_infantry_rebel.tga
    model_flexi data/models_unit/unit_carthage_infantry_high.cas, 15
    model_flexi data/models_unit/unit_carthage_infantry_med.cas, 30
    model_flexi data/models_unit/unit_carthage_infantry_low.cas, 40
    model_flexi data/models_unit/unit_carthage_infantry_lowest.cas, max
    model_sprite slave, 60.0, data/sprites/slave_carthaginian_infantry_sprite.spr
    model_sprite spain, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
    AND HERE - model_sprite romans julii, 60.0, data/sprites/spain_carthaginian_infantry_sprite.spr
    model_sprite carthage, 60.0, data/sprites/carthage_carthaginian_infantry_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    but they still appear with the Carthaginian skins!
    What did I wrong?
    I still haven’t found the answer in the forums.

  2. #2
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: changing units

    There should be an underscore between the romans and the julii, like this: romans_julii

  3. #3

    Default Re: changing units

    Ave Myrddraal! Those who are learning to mod salute you!
    And I can’t believe I didn’t notice the underscore!
    Thanks!
    (Myrddraal? That sounds like a Phoenician name!)

  4. #4
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: changing units

    Its from the books the Wheel of Time. Check out the mod

  5. #5

    Default Re: changing units

    I have a question which is similiar.
    I wish to add triarii to militia barracks but were should I change? Is it only in the export_descr_buildings.txt file or anyother file too?

  6. #6
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: changing units

    Only in export_descr_buildings.txt

    Just add it to the unit list for that buliding

    Good luck, and welcome to the forums

  7. #7
    Magister Vitae Senior Member Kraxis's Avatar
    Join Date
    Feb 2002
    Location
    Frederiksberg, Denmark
    Posts
    7,129

    Default Re: changing units

    So by doing this any unit can have the proper skincolour for any faction?
    I have for instance given the Seleucids and Macedonians Heavy Peltasts, and those greek white troops don't fit (actually they don't look that bad with eh Seleucids).
    You may not care about war, but war cares about you!


  8. #8

    Default Re: changing units

    I believe (that is, I'm happy to be corrected) that this allows you to specify which faction skin the unit appears in as long as the faction skin already exists.

    So, as in the example above, you can tell the Julii to have their Iberian Infantry in Spanish rather than the default Carthaginian colours. However, they couldn't have Iberian Infantry in Briton colours because the .tga and .spr files wouldn't exist.
    Last edited by Epistolary Richard; 03-07-2005 at 17:57.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  9. #9
    Member Member tutankamon's Avatar
    Join Date
    Jan 2005
    Location
    Århus,Jylland, Denmark
    Posts
    186

    Question Newbi requests help

    Hi a friend and I have a great idea for a RTW mod. We have all the historical data we need but we don't know were to start or how to mod etc.

    So we need some to get started. So i wonder if any of you guys could help us.
    "…Birds of battle screech, the grey wolf howls, spears rattle, shield answers shaft. …Then many a thegn, laden in gold, buckled on his sword-belt. …The hollow shield called for bold men"s hands..."

  10. #10
    Magister Vitae Senior Member Kraxis's Avatar
    Join Date
    Feb 2002
    Location
    Frederiksberg, Denmark
    Posts
    7,129

    Default Re: changing units

    Ahhh... Had missed that little detail. Rats!
    You may not care about war, but war cares about you!


  11. #11

    Default Re: Newbi requests help

    Quote Originally Posted by tutankamon
    Hi a friend and I have a great idea for a RTW mod. We have all the historical data we need but we don't know were to start or how to mod etc.
    Well, I would work out what you want to change and then look through the Mod forums (especially the Guides, Tutorial and Tools forums) to see if someone has posted how to do whatever it is you want to do.

    As you look through them, I'd also make a note of anything you hadn't thought of doing but sounded cool so in the future so that you can find that thread again.

    If you haven't found a specific answer that you've been looking for, then post your question on this forum. The more specific your question, and the more details that you can give about what you're trying to achieve, the more likely it is that other posters will be able to help you.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

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