Results 1 to 6 of 6

Thread: Question: Unit adds to personal Mods

  1. #1

    Default Question: Unit adds to personal Mods

    Hello. I've been trying to add the saxon units to a little mod I am trying to put together, and I am having HUGE difficulties. Even though I have copied and transferred what should be all the relevant files from ATW to my little mod, some units just could not be used (got a CTD on trying to load the game, said models weren't in there even though I could go in and see them), and now others - since I gave up on units like duguthas and gesithas; cause a CTD upon trying to go to the battlemap.

    The error message I get is: Generic Error:

    Failed to find texture 'bi/data/models_unit/textures/1BI_unit_western_peasant_franks.tga.

    Now I don't get a CTD in playing ATW. And all the same files are there.

    Anyone here know what might be causing this?

  2. #2
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default Re: Question: Unit adds to personal Mods

    I guess you are used to the way to add units. Check that all skins and models are coded righlty in the dmb, ie name and target in the dmb exactly the same than in explorer. Eventually disable the sprites.

  3. #3

    Default Re: Question: Unit adds to personal Mods

    Hi, Agraes. Just have to say that this is an awesome mod that this team has put together (even if it is difficult).

    And to answer your inplied question, the only way that I do and can add units is by following Epistolary Richards' fine tutorial, "Adding new units for beginners". I am not really very versed in all the incatricies of each coded line in the dmb, although I can certainly see what they must be referring to. And if they refer to files contained in both ATW and my mod, I'm not sure why it's not working.

    Not sure I understand why I would disable the sprites?

    Thank you for the prompt reply. Your explanation assumes that I know what I'm doing, though. heh heh

  4. #4
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default Re: Question: Unit adds to personal Mods

    Except the model name in dmb and of course the corresponding factions, the entries should look like this:

    type gesith
    skeleton fs_javelinman, fs_swordsman
    indiv_range 40
    texture saxons,bi/data/models_unit/textures/ATW_gesith.tga
    texture franks,bi/data/models_unit/textures/ATW_gesith3.tga
    texture alemanni,bi/data/models_unit/textures/ATW_gesith4.tga
    texture slave,bi/data/models_unit/textures/ATW_gesith2.tga
    model_flexi bi/data/models_unit/ATW_gesith.cas, 15
    model_flexi bi/data/models_unit/ATW_gesith.cas, 30
    model_flexi bi/data/models_unit/ATW_gesith.cas, 40
    model_flexi bi/data/models_unit/ATW_gesith.cas, max
    model_sprite saxons, 60.0, bi/data/sprites/saxons_gesith_sprite.spr
    model_sprite franks, 60.0, bi/data/sprites/franks_gesith_sprite.spr
    model_sprite alemanni, 60.0, bi/data/sprites/alemanni_gesith_sprite.spr
    model_sprite slave, 60.0, bi/data/sprites/slave_gesith_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f

    type duguthas
    skeleton fs_spearman
    indiv_range 40
    texture saxons, bi/data/models_unit/textures/ATW_duguth04.tga
    texture franks, bi/data/models_unit/textures/ATW_duguth03.tga
    texture alemanni, bi/data/models_unit/textures/ATW_duguth1.tga
    texture slave, bi/data/models_unit/textures/ATW_duguth02.tga
    model_flexi bi/data/models_unit/ATW_duguth.cas, 15
    model_flexi bi/data/models_unit/ATW_duguth.cas, 30
    model_flexi bi/data/models_unit/ATW_duguth.cas, 40
    model_flexi bi/data/models_unit/ATW_duguth.cas, max
    ;model_sprite slave, 60.0, bi/data/sprites/slave_duguthas_sprite.spr
    ;model_sprite alemanni, 60.0, bi/data/sprites/alemanni_duguthas_sprite.spr
    ;model_sprite franks, 60.0, bi/data/sprites/franks_duguthas_sprite.spr
    ;model_sprite saxons, 60.0, bi/data/sprites/saxons_duguthas_sprite.spr
    model_tri 400, 0.5f, 0.5f, 0.5f
    There is also two versions of both duguth and gesithas in the mod, you may have added the wrong files so, just search for "gesith" and "duguth" in ATW directories and copy all models and skins to be sure everyting is ok

  5. #5

    Default Re: Question: Unit adds to personal Mods

    My CTD during the loading of the battle screen was do to some sort of problem with either the lideremen or the hundradeflocc, and it never gave me any error description when it happened. However, I did discover why the gesithas unit was causing problems (at least on loadup, haven't had a unit yet to check in battlemap).

    What it was, the soldier line for the unit said gesith instead of gesithas. I really have no idea why it works in ATW and not in my mod, but that was it. Probably something similar in duguthas, I would imagine.

    Anyway, I certainly appreciate your help. Still wondering about the sprites though...)

    Cormaeg

    neophyte modder so generally dazed and confused

  6. #6
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default Re: Question: Unit adds to personal Mods

    Sometimes it can be very confusive, one unit can have:
    - different model file name
    - different skin file name
    - different model name in dmb
    - different unit name in edu
    - and different name in export_units.txt - only this one is showed to player

Posting Permissions

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