Results 1 to 11 of 11

Thread: changing units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  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

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