Results 1 to 18 of 18

Thread: A little info on adding units with battle_models.modeldb

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #10
    Member Member Musashi's Avatar
    Join Date
    Nov 2002
    Location
    The Mists of Legend
    Posts
    811

    Default Re: A little info on adding units with battle_models.modeldb

    Quote Originally Posted by D Wilson
    I've been swapping around units from faction to faction with great success so far, but now I've tried to add a new unit for Milan (actually not Milan but the Welsh, but that's another story) based on the Polish Nobles.

    I've got them to appear on the menu screens and all that, but once in battle only the mount is showing up.

    Here is the entry in the db,



    and the entry in EDU



    Any ideas why only the mounts are showing up?

    Thanks in advance!
    Because your soldier and upgrade model entries are still "polish nobles", which means that's what the game looks for in the battle_models.modeldb file, and when it looks there it sees there is no entry for Milan, and therefore you get no textures.

    Change
    soldier Polish_Nobles, 32, 0, 1
    to
    soldier Teulu, 32, 0, 1
    and
    armour_ug_models Polish_Nobles, Polish_Nobles_ug1
    to
    armour_ug_models Polish_Nobles, Teulu_ug1
    Also you have a problem in your modeldb file. The line:
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 17 polish_nobles_ug1
    should read:
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 17 Teulu_ug1
    Last edited by Musashi; 12-21-2006 at 01:52.
    Fear nothing except in the certainty that you are your enemy's begetter and its only hope of healing. For everything that does evil is in pain.
    -The Maestro Sartori, Imajica by Clive Barker

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