Results 1 to 4 of 4

Thread: Texture problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Texture problems

    Hey everyone, I'm a NEWBIE Rome:Total War text modder and I've run into some trouble. I want to add Archers to Carthage's unit list, but when i enter the game, it shows a peasant picture. I know that this happens because the texture is wrong or something...

    So my question is, WHAT do i need to do so that when i load a custom battle, the archer picture is fine and the textures and skin is the same of Greek Archers?

  2. #2

    Default Re: Texture problems

    The two are not related.

    For the unit texture, all you need to do is open descr_model_battle.txt, find the model entry for greek archers and add a texture (and sprite) line for carthage, like this:
    Code:
    type                greek_archer
    skeleton            fs_semi_fast_archer, fs_semi_fast_dagger
    indiv_range            40
    texture                macedon, data/models_unit/textures/unit_greek_archer_macedon.tga
    texture                seleucid, data/models_unit/textures/unit_greek_archer_seleucid.tga
    texture                greek_cities, data/models_unit/textures/unit_greek_archer_greek.tga
    texture                carthage,  data/models_unit/textures/unit_greek_archer_greek.tga
    texture                thrace, data/models_unit/textures/unit_greek_archer_thrace.tga
    texture                merc, data/models_unit/textures/unit_greek_archer_mercs.tga
    model_flexi            data/models_unit/unit_greek_archer_high.cas, 15
    model_flexi            data/models_unit/unit_greek_archer_med.cas, 30
    model_flexi            data/models_unit/unit_greek_archer_low.cas, 40
    model_flexi            data/models_unit/unit_greek_archer_lowest.cas, max
    model_sprite        thrace, 60.0, data/sprites/thrace_greek_archer_sprite.spr
    model_sprite        greek_cities, 60.0, data/sprites/greek_cities_greek_archer_sprite.spr
    model_sprite        carthage, 60.0,  data/sprites/greek_cities_greek_archer_sprite.spr
    model_sprite        seleucid, 60.0, data/sprites/seleucid_greek_archer_sprite.spr
    model_sprite        macedon, 60.0, data/sprites/macedon_greek_archer_sprite.spr
    model_tri            400, 0.5f, 0.5f, 0.5f
    For the UI, you need to copy the greek archer unit-info card and unit card from *data/packs/data/ui/unit_info/greek_cities and *data/packs/data/ui/units/greek_cities and paste them into data/ui/unit_info/carthage and data/ui/units/carthage respectively.


    * In vanilla RTW unit card files are packed inside ui_0.pak and ui_1.pak files (can't remember which one atm), located inside the data/packs folder. You will need to unpack those using pak extractor, so that you have access to the files. After you have unpacked, you'll see a packs/data/ui folder created. You should copy the files you need from there, then go to RTW/data, create a folder named 'ui' with two subfolders, 'unit_info' and 'units', and in each one of those a 'carthage' subfolder. It is there that you put the cards you copied.

  3. #3

    Default Re: Texture problems

    Thanks alot mate! Now i can add all sorts of units to other factions

    Oh and, do you know how to add factions to the game? I know this isn't really the place to ask, but its close to the subject

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: Texture problems

    You can't, you can only replace existing factions.
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •