Results 1 to 2 of 2

Thread: Help needed with Battle_modelDB.

Hybrid View

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

    Default Help needed with Battle_modelDB.

    Hi there,
    I try to add a dismounted variag using the secondary weapon so i removed the spear with Milkshape 3d and then added two new entries in both Battle_modelDb and EDU. I guess something is wrong in the battle_model because i get a CDT when i lauch the game.
    (i'm pretty noob in modding)

    At the bottom of Battle_modelDB:
    Spoiler Alert, click show to read: 
    15 variag_infantry 1 1
    51 unit_models/_Units/Slaves/variag_infantry_lod0.mesh
    2
    5 slave
    55 unit_models/_Units/Slaves/textures/variag_heavy.texture
    60 unit_models/_Units/Slaves/textures/variag_heavy_norm.texture
    37 unit_sprites/venice_rhunei_sprite.spr
    4 merc
    55 unit_models/_Units/Slaves/textures/variag_heavy.texture
    60 unit_models/_Units/Slaves/textures/variag_heavy_norm.texture
    63 unit_sprites/normans_cum_bodyguard_kog_cav_sp_ma_ug0_sprite.spr
    2
    5 slave
    55 unit_models/_Units/Slaves/textures/variag_equip.texture
    60 unit_models/_Units/Slaves/textures/variag_equip_norm.texture 0
    4 merc
    55 unit_models/_Units/Slaves/textures/variag_equip.texture
    60 unit_models/_Units/Slaves/textures/variag_equip_norm.texture 0
    1
    4 None
    12 MTW2_HR_Mace 2
    2
    17 MTW2_Mace_Primary
    14 fs_test_shield

    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    In the EDU:
    Spoiler Alert, click show to read: 
    type Variag Infantrydictionary Variag_Infantry ; Variag Infantry
    category infantry
    class heaavy
    voice_type Heavy
    accent Arabic
    banner faction main_infantry
    banner holy crusade
    soldier variag_cavalry, 60, 0, 1.575
    officer rhun_captain_early_flag
    attributes sea_faring, hide_forest, can_withdraw, hardy, free_upkeep_unit, mercenary_unit
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 2
    stat_pri 6, 4, no, 0, 0, melee, melee_blade, piercing, mace, 45, 1
    stat_pri_attr no
    stat_sec 0, 0, no, 0, 0, no, melee_simple, blunt, none, 0, 1
    stat_sec_attr ap
    stat_pri_armour 6, 7, 3, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 0
    stat_ground -1, 1, -3, -2
    stat_mental 11, normal, trained
    stat_charge_dist 6
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 820, 290, 100, 100, 820, 3, 150
    armour_ug_levels 3
    armour_ug_models variag_cavalry
    ownership slave, spain, venice
    era 0 slave, spain, venice
    era 1 slave, spain, venice
    era 2 slave, spain, venice

    recruit_priority_offset 15

  2. #2
    Mhaedros's Avatar Brave Heart Tegan
    Content Emeritus

    Join Date
    Feb 2011
    Location
    Finland
    Posts
    8,764
    Blog Entries
    2

    Default Re: Help needed with Battle_modelDB.

    Code:
    class heaavy
    single a in heavy

    You still need to change "variag_cavalry" to "variag_infantry" but that shouldn't cause errors CTD at startup

    Code:
    ownership slave, spain, venice
    era 0 slave, spain, venice
    era 1 slave, spain, venice
    era 2 slave, spain, venice
    Red needs to match the texture assignments in bmdb, but that shouldn't cause CTD either.
    Under the patronage of Finlander. Once patron to someone, no longer.
    Content's well good, innit.


Posting Permissions

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