Results 1 to 4 of 4

Thread: Relationship between export_descr_unit and descr_model_battle

Hybrid View

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

    Default Re: Relationship between export_descr_unit and descr_model_battle

    More confused now, I thought the gauls in the texture line and the model_sprite might have something to do with it, so I changed it to the below.

    Code:
    type				barb_peasant_germ
    skeleton			fs_dagger							
    indiv_range			40
    texture				germans, data/models_unit/textures/unit_barb_infantry_german.tga
    model_flexi			data/models_unit/unit_barb_peasant_high.cas, 8
    model_flexi			data/models_unit/unit_barb_peasant_med.cas, 15
    model_flexi			data/models_unit/unit_barb_peasant_low.cas, 30
    model_flexi			data/models_unit/unit_barb_peasant_lowest.cas, max
    model_sprite		germans, 60.0, data/sprites/germans_barb_peasant_sprite.spr
    model_tri			400, 0.5f, 0.5f, 0.5f
    and I now get a _Dacian_ peasant in the unit

    And indeed if I change the soldier type to barb_peasant_germ and create new officer peasants with the Briton, Slave and Dacian texture & model lines then they all appear Dacian...
    Last edited by Epistolary Richard; 02-26-2005 at 03:16.
    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

  2. #2
    Member Member chemchok's Avatar
    Join Date
    Sep 2004
    Location
    Brooklyn, New York
    Posts
    454

    Default Re: Relationship between export_descr_unit and descr_model_battle

    Quote Originally Posted by Epistolary Richard
    and I now get a _Dacian_ peasant in the unit

    And indeed if I change the soldier type to barb_peasant_germ and create new officer peasants with the Briton, Slave and Dacian texture & model lines then they all appear Dacian...
    That's somewhat strange, but there is a "default" texture that loads with each .cas file, in the case of the barbarian peasants, it must be the Dacian texture.

    To fix it, make a new subfolder called "textures" in the models folder. Copy the unit_barb_infantry_german.tga.dds file into it and rename it, something like unit_barb_infantry_germanoff.tga.dds, then make the same change to the texture line in descr_model_battle. You should see the German texture load up next time.

    One note - You're going to need to use Verc's unpacker to get at the texture files if you haven't done so already.

  3. #3

    Default Re: Relationship between export_descr_unit and descr_model_battle

    I'll give that a go, thanks a lot!
    Last edited by Epistolary Richard; 02-26-2005 at 18:38.
    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