Results 1 to 4 of 4

Thread: Adding new units to battle models file

  1. #1
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,179

    Default Adding new units to battle models file

    hi there
    If I am adding a new unit to the battle models file
    the line at the top of the file refers to the number of entires

    example, 22 serialization::archive 3 0 0 0 0 756 0 0

    but if Im adding a unit with say two upgrade levels, do I increase the the bold number by 1 or by 3 (one for each upgrade level inc the starting one)
    many thanks
    Jason

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

  2. #2

    Default Re: Adding new units to battle models file

    I have worked that way so far. I believe the game sees them as completely different entries, not upgrades of the same unit.
    Check out my Otherworld mod: A big fantasy map for Medieval 2, new playable factions and more! -Release 7 is now available-

  3. #3
    Socal_infidel's Avatar PDER Piper
    Join Date
    Jan 2007
    Location
    Brooklyn USA
    Posts
    2,563

    Default Re: Adding new units to battle models file

    Yeah, you'd have to add three to the top number.

    As an aside, if you're editing the modelsdb file, I would really suggest downloading KnightErrant's Formatted Modeldb and Syntax checker

    It requires Python which is easy enough to install and basically it will take your modeldb and format it for you and you can check it to to see if the serialization number at the top is correct or whether the strings count is off.

    Very handy.

  4. #4
    TheFirstONeill's Avatar Father of Thera
    Join Date
    May 2007
    Location
    Knutsford Cheshire, England
    Posts
    16,179

    Default Re: Adding new units to battle models file

    cheers Gundug (still loving otherworld by the way) and thanks again Social (seems to be you answering all my queries recently, bless you)
    + rep to you both of course

    Many thanks
    Jason
    (EDIT, sorry Social, says I cant add to you again, til Ive passed some around)

    House of Wilpuri :By the Patronage of Elrond: Patron of Caki : Aduellist : Borissomeone
    Proud Creator of Thera, Legacy of the Great Torment: Opifex :

Posting Permissions

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