Results 1 to 9 of 9

Thread: Invisible Units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ashton's Avatar Semisalis
    Join Date
    Nov 2009
    Location
    Greece - Thessaloniki
    Posts
    428

    Default Invisible Units

    I tried to add my units to game.I did everything necessary like editing the export_descr_unit and the modeldb file.The unit is in the game but when i enter a custom battle the units are invisible.


    What am i doing wrong ???
    Help is really appreciated.

  2. #2
    alhoon's Avatar Comes Rei Militaris
    Join Date
    Apr 2008
    Location
    Chania, Greece
    Posts
    24,233

    Default Re: Invisible Units

    Happens often. You have a mistake in either the modeldb file or in the export_unit.txt file.

    have you put your modeldb name in the export_unit.txt file, in the line that tells the computer which model to use?
    alhoon is not a member of the infamous Hoons: a (fictional) nazi-sympathizer KKK clan. Of course, no Hoon would openly admit affiliation to the uninitiated.
    "Angry Uncle Gordon" describes me well.
    _______________________________________________________
    Beta-tester for Darthmod Empire, the default modification for Empire Total War that does not ask for your money behind patreon.
    Developer of Causa Belli submod for Darthmod, headed by Hammeredalways and a ton of other people.
    Developer of LtC: Random maps submod for Lands to Conquer (that brings a multitude of random maps and other features).

  3. #3
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Invisible Units

    Could be the faction missing from the battle_models.modeldb entry, if memory serves.

  4. #4
    Ashton's Avatar Semisalis
    Join Date
    Nov 2009
    Location
    Greece - Thessaloniki
    Posts
    428

    Default Re: Invisible Units

    What do you mean ?

  5. #5
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Invisible Units

    The faction you wish this unit to use has no entry for this moddel in moddels.db. If the unit should not have different skins for different factions, I would suggest to make it mercenary and declare ownership "all", that avoids most problems concerning avaibility (also in EDB).

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  6. #6
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Invisible Units

    Yes, like Konny explains; each unit model used by a faction must be set up correctly in battle_models.modeldb. If the model had no entry at all in there and was used in EDU then a CTD would occur at program launch. If the model is set up in battle_models but lacking the required section for that faction then it will be invisible on the battle map.

    So you open data\unit_models, and then battle_models.modeldb, and then search for the model indicated on the soldier line of the entry for the unit in EDU (also the armor upgrades will need to be checked).

    If they are not set up and the textures exist then create the missing sections, if the textures do not exist then make them yourself, use textures from another faction or do not use the model for this faction.

  7. #7
    IZob's Avatar Citizen
    Join Date
    Aug 2009
    Location
    Australia
    Posts
    9,829

    Default Re: Invisible Units

    My error log (* trace) is displaying this error:
    10:46:10.674 [script.err] [error] Script Error in mods/RegionMod_Kings/data/export_descr_unit.txt, at line 13090, column 1
    Could not find soldier battle model for unit type 'Order_Militia'.
    10:46:10.674 [data.invalid] [error] DATABASE_TABLE error found : error reading record from file mods/RegionMod_Kings/data/export_descr_unit.txt.
    So for every unit mentioned in the error log (this one is saying the 'order_militia' is missing) I should check that the unit is correctly both in the EDU and the battle_models.modeldb?
    Contact me on Steam: steamcommunity.com/id/IZob/ or send a PM.

  8. #8
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: Invisible Units

    Yes, the error says that there is no entry with that name found in battle_models.

  9. #9
    Ashton's Avatar Semisalis
    Join Date
    Nov 2009
    Location
    Greece - Thessaloniki
    Posts
    428

    Default Re: Invisible Units

    Ok guys thank you for your replies.I will check everything you said and see if i will make it.

Posting Permissions

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