Results 1 to 3 of 3

Thread: Adding Britannia units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Adding Britannia units

    Hi, I've successfully added the Teutonic Camp to the Regions Provinces Basemap and I would like to add the Britannia units to it next. Although I'm totally confused by the battle_models.modeldb. For example I want to add Wales Teulu cavalry. I've added the following to the end of the battle_models.modeldb file:

    PHP Code:
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    5 teulu 
    1 4 
    49 unit_models
    /_Units/EN_Lmail_Hmail/teulu_lod0.mesh 121 
    49 unit_models
    /_Units/EN_Lmail_Hmail/teulu_lod1.mesh 900 
    49 unit_models
    /_Units/EN_Lmail_Hmail/teulu_lod2.mesh 2500 
    49 unit_models
    /_Units/EN_Lmail_Hmail/teulu_lod3.mesh 6400 

    5 wales 
    71 unit_models
    /_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_wales.texture 
    72 unit_models
    /_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture 
    35 unit_sprites
    /wales_Teulu_sprite.spr 

    5 wales 
    58 unit_models
    /AttachmentSets/Final Heater_wales_diff.texture 
    58 unit_models
    /AttachmentSets/Final Heater_wales_norm.texture 0  

    5 Horse 
    13 MTW2_HR_Lance 
    13 MTW2_HR_Spear 2 
    21 MTW2_HR_Lance_Primary 
    14 fs_test_shield 2 
    18 MTW2_Spear_primary 
    14 fs_test_shield 
    16 
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    9 teulu_ug1 
    1 3 
    54 unit_models
    /_Units/EN_Pplate_Plate/teulu_ug1_lod0.mesh 121 
    54 unit_models
    /_Units/EN_Pplate_Plate/teulu_ug1_lod1.mesh 1225 
    54 unit_models
    /_Units/EN_Pplate_Plate/teulu_ug1_lod2.mesh 6400 

    5 wales 
    72 unit_models
    /_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_wales.texture 
    73 unit_models
    /_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture 
    39 unit_sprites
    /wales_Teulu_ug1_sprite.spr 

    5 wales 
    58 unit_models
    /AttachmentSets/Final Heater_wales_diff.texture 
    58 unit_models
    /AttachmentSets/Final Heater_wales_norm.texture 0  

    5 Horse 
    13 MTW2_HR_Lance 
    13 MTW2_HR_Spear 2 
    21 MTW2_HR_Lance_Primary 
    14 fs_test_shield 2 
    18 MTW2_Spear_primary 
    14 fs_test_shield 
    16 
    -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 
    It crashes when I start the game. What Am I doing wrong. Any help would be greatly appreciated. Thanks

  2. #2

    Default Re: Adding Britannia units

    Spoiler Alert, click show to read: 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 <- del
    5 teulu
    1 4
    49 unit_models/_Units/EN_Lmail_Hmail/teulu_lod0.mesh 121
    49 unit_models/_Units/EN_Lmail_Hmail/teulu_lod1.mesh 900
    49 unit_models/_Units/EN_Lmail_Hmail/teulu_lod2.mesh 2500
    49 unit_models/_Units/EN_Lmail_Hmail/teulu_lod3.mesh 6400
    1
    5 wales
    71 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_wales.texture
    72 unit_models/_Units/EN_Lmail_Hmail/textures/EN_Lmail_Hmail_normal.texture
    35 unit_sprites/wales_Teulu_sprite.spr
    1
    5 wales
    58 unit_models/AttachmentSets/Final Heater_wales_diff.texture
    58 unit_models/AttachmentSets/Final Heater_wales_norm.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    13 MTW2_HR_Spear 2
    21 MTW2_HR_Lance_Primary
    14 fs_test_shield 2
    18 MTW2_Spear_primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    9 teulu_ug1
    1 3
    54 unit_models/_Units/EN_Pplate_Plate/teulu_ug1_lod0.mesh 121
    54 unit_models/_Units/EN_Pplate_Plate/teulu_ug1_lod1.mesh 1225
    54 unit_models/_Units/EN_Pplate_Plate/teulu_ug1_lod2.mesh 6400
    1
    5 wales
    72 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_wales.texture
    73 unit_models/_Units/EN_Pplate_Plate/textures/mtw2_EN_Pplate_normal.texture
    39 unit_sprites/wales_Teulu_ug1_sprite.spr
    1
    5 wales
    58 unit_models/AttachmentSets/Final Heater_wales_diff.texture
    58 unit_models/AttachmentSets/Final Heater_wales_norm.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    13 MTW2_HR_Spear 2
    21 MTW2_HR_Lance_Primary
    14 fs_test_shield 2
    18 MTW2_Spear_primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002


    also make sure you placed all meshes and textures in the appropriate folders. Also I do not know if you have the whole Wales faction into your game? because this unit is now assigned to them.

    You also need to add an entry to your export_descr_units file.
    Last edited by Chim; October 01, 2007 at 04:59 AM.
    Artifex
    Under the patronage of King Kong
    Proud patron of y2day and yelowdogg23

  3. #3

    Default Re: Adding Britannia units

    Thanks for taking the time to reply. I found out the issue I was having. I forgot to update the model count on the first part of the battle_models.modeldb file.

Posting Permissions

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