Results 1 to 6 of 6

Thread: Editing the faction unit/building trees

Hybrid View

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

    Default Editing the faction unit/building trees

    Hello everyone,

    Apologies if this has been answered before, I've searched the forums but can't find anything.

    I've been messing around with the text files in the Imperial Campaign, and I'd like to start adding different units to the faction unit/building trees. Is it possible? And if so, does anyone know where in the directory I can find the relevant file?

    Thanks alot,
    JollySam
    Last edited by JollySam; February 07, 2010 at 08:37 PM.

  2. #2
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: Editing the faction unit/building trees

    Gotta do 2 things.

    First you have to make sure the unit has the appropriate faction skin coded into it;

    Code:
    type                barb_archer
    skeleton            fs_fast_archer, fs_fast_dagger
    indiv_range            40
    texture                dacia, data/models_unit/textures/unit_barb_warband_archer_dacia.tga
    texture                scythia, data/models_unit/textures/unit_barb_warband_archer_scythia.tga
    texture                slave, data/models_unit/textures/unit_barb_warband_archer_slave.tga
    model_flexi            data/models_unit/unit_warband_archer_high.cas, 8
    model_flexi            data/models_unit/unit_warband_archer_med.cas, 15
    model_flexi            data/models_unit/unit_warband_archer_low.cas, 30
    model_flexi            data/models_unit/unit_warband_archer_lowest.cas, max
    model_sprite        slave, 60.0, data/sprites/slave_barb_archer_sprite.spr
    model_sprite        scythia, 60.0, data/sprites/scythia_barb_archer_sprite.spr
    model_sprite        dacia, 60.0, data/sprites/dacia_barb_archer_sprite.spr
    model_tri            400, 0.5f, 0.5f, 0.5f
    If your faction isn't there, just copy one and paste it, then only change the faction name.

    And then add it to the building you want it recruited from;

    http://forums.totalwar.org/vb/showth...uide-%28WIP%29

    Hope that all makes sense.

    Good Luck.
    Last edited by Squid; February 08, 2010 at 10:14 AM.
    Under the Patronage of Lord Condormanius

  3. #3

    Default Re: Editing the faction unit/building trees

    Thanks Ramashan, thats very helpful.

    I managed to add the units to the building, using that link, but I don't know which file I need to edit to change the faction skin. Which file did you get that block of text from?

    Thanks again,
    JollySam

  4. #4

    Default

    Woops, forget that last post, I found it in 'export_descr_unit'.

    Thanks again for your help!
    JollySam

    Time to see how a unit consisting entirely of centurians fares.
    Last edited by Squid; February 08, 2010 at 10:15 AM. Reason: double post

  5. #5
    Ramashan's Avatar Artifex
    Join Date
    Apr 2007
    Location
    Los Angeles, CA
    Posts
    4,981

    Default Re: Editing the faction unit/building trees

    Sorry, I meant to add a link to the EDU, my bad. Glad you found it.
    Under the Patronage of Lord Condormanius

  6. #6

    Default Re: Editing the faction unit/building trees

    No problem.

Posting Permissions

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