Results 1 to 5 of 5

Thread: transfering unites

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Ardashir 7's Avatar Libertus
    Join Date
    Jun 2010
    Location
    Cairo,Egypt
    Posts
    89

    Icon1 transfering unites

    hello everyone
    after i have transfered some unites from the hedjaz faction to ayyubioun
    the unites color turned to full white in the battle map !!!
    how can i fix this ?
    thanks

  2. #2
    TaronQuinn's Avatar Semisalis
    Join Date
    Oct 2009
    Location
    Eastern United States
    Posts
    445

    Default Re: transfering unites

    Hey Ardashir, it sounds like you transferred the owernship, but didn't give them proper skins in the battle_model_db. In DLV data folder, find the unit_models folder, then open battle_model_db and find the specific units: just find the Hedjaz listing for each unit. Basically, you have to copy that information under a new listing for Egypt; BUT you also have to make sure the single number just above the first entry is in agreement with the number of factions. So if it says, "3" just above Hedjaz, you'll need to change that to "4" when you add Egypt. Also, the number at the beginning of every line indicates the number of letters and characters in the line. Complicated, like I said.

    For more detail, please see: http://www.twcenter.net/forums/showthread.php?t=74945

    TQ

  3. #3
    Ardashir 7's Avatar Libertus
    Join Date
    Jun 2010
    Location
    Cairo,Egypt
    Posts
    89

    Default Re: transfering unites

    yeah its a bit complicated , but i ve tried to do it , i ve copied the information of the arabguard to egypt units and i ve changed the number from 6 (hedjaz)
    to 5 (egypt) , also i ve changed the name from hedjaz to egypt and the result was the game crashed down !!!
    any more explaining is appreciated.

  4. #4
    Harry Lime's Avatar Not a ToS violation
    Artifex Moderator Emeritus

    Join Date
    Feb 2005
    Location
    Kent, England
    Posts
    15,771

    Default Re: transfering unites

    Did you change the number at the top of the modelsdb file?

    modelsdb 22 serialization::archive 3 0 0 0 0 1043 0 0


    My example is from Europa so it won't have any relevance to yours but if you have added a unit then the bolded number needs to be increased by one.
    Proud Patron of derdrakken, dave scarface, J@mes & irishron
    Indulging in the insight & intelligence of imb39

  5. #5
    TaronQuinn's Avatar Semisalis
    Join Date
    Oct 2009
    Location
    Eastern United States
    Posts
    445

    Default Re: transfering unites

    No, you need to ADD egypt, not replace Hedjaz...although that also might work. And there are TWO entries, one for the skin, one for the shield or whatever. I'm talking about the number in its own line, as in: "2 " with nothing after it. It refers to the number of factions who can use the unit. There is a separate number for the line describing the faction, which operates like all the other numbers; it describes the number of characters for the computer to read in that line. If its off by even 1, the game won't load.

    AND, you also need to add Egypt to the ownership of the unit in the export_descr_unit file; at the end of the list for Arab Guard, it will list the factions who can use it, so you need to add Egypt there too.

    TQ

Posting Permissions

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