Results 1 to 2 of 2

Thread: Unit textures question

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member B1ueBa11's Avatar
    Join Date
    Aug 2004
    Location
    Canada
    Posts
    25

    Default Unit textures question

    If I just add the "roman, " faction in a particular unit's texture and sprite entry in the desc_model_battle.txt file, will it work? If not, can I add an entry pointing to the original faction's folder? Also, do my files have to be unpacked for the options above to work?
    An old man dies... A young woman lives... Fair trade.
    BANG!
    I love you Nancy.

    Hardigan, Frank Miller's Sin City, That Yellow Bastard

  2. #2

    Default Re: Unit textures question

    If you mean you want to make a foreign unit recruitable by the roman factions. Copy the texture and sprite and label them 'romans_julii, romans_scipii....'.

    e.g.

    type greek_armoured_hoplite
    skeleton fs_spearman, fs_swordsman
    indiv_range 40
    texture carthage, data/models_unit/textures/unit_greek_elite_hoplite_carthage.tga
    texture greek_cities, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
    texture romans_julii, data/models_unit/textures/unit_greek_elite_hoplite_greek.tga
    model_flexi data/models_unit/unit_greek_hoplite_elite_high.cas, 15
    model_flexi data/models_unit/unit_greek_hoplite_elite_med.cas, 30
    model_flexi data/models_unit/unit_greek_hoplite_elite_low.cas, 40
    model_flexi data/models_unit/unit_greek_hoplite_elite_lowest.cas, max
    model_sprite greek_cities, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_sprite romans_julii, 60.0, data/sprites/greek_cities_greek_armoured_hoplite_sprite.spr
    model_sprite carthage, 60.0, data/sprites/carthage_greek_armoured_hoplite_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    Then add the Roman faction to the corrosponding entries in 'export_descr_unit' and 'export_descr_buildings'.

    You will need to unpack some files in order to get the unit cards working, use Vercingetorix's PAK Extractor. It's in the downloads section of this site (Under Tools)

    Once you've unpacked the PAKs, copy the unit's cards into the roman factions folders ('data/ui /unit_info' and 'data/ui /units').

    Good luck.

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