Results 1 to 12 of 12

Thread: Help needed with modelsdb

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Help needed with modelsdb

    I'm having some trouble with implementing a new unit, I followed the tutorial just as it said but it crashes after the loading screen.

    This is the part:
    Code:
    16 mirkwood_rangers 
    1 1 
    57 unit_models\_units\mirkwood_rangers\mirk_ranger_lod0.mesh 6400 
    1 
    7 mongols 
    64 unit_models/_Units/mirkwood_rangers/textures/mirk_ranger.texture
    71 unit_models/_Units/mirkwood_rangers/textures/mirk_ranger_normal.texture
    41 unit_sprites/mongols_elf_guard_sprite.spr
    1 
    7 mongols 
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_norm.texture
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_norm.texture
    0
    1 
    4 None 
    27 MTW2_Fast_Longbowman_String 
    16 MTW2_2HSwordsman 1 
    19 MTW2_Bowman_Primary 1 
    24 MTW2_2HSwordsman_Primary 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

  2. #2
    koultouras's Avatar Πέος
    Join Date
    Nov 2008
    Location
    Greece / Thessaloniki
    Posts
    3,711

    Default Re: Help needed with modelsdb

    have you increased serialization number by 1 (1st line of bm.db)
    1165=>1166?


  3. #3
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Re: Help needed with modelsdb

    Yes

  4. #4
    Stephan's Avatar Campidoctor
    Join Date
    Jun 2008
    Location
    Wien
    Posts
    1,575

    Default Re: Help needed with modelsdb

    you used the attachment norm texture also for the normal attachments texture

    7 mongols
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_norm.texture
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_norm.texture

    edit: damn it too late

    Yes, I know that Ishtar is spelled wrong

  5. #5
    koultouras's Avatar Πέος
    Join Date
    Nov 2008
    Location
    Greece / Thessaloniki
    Posts
    3,711

    Default Re: Help needed with modelsdb

    everything looks fine
    but
    the weapons line skin
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_diff.texture
    71 unit_models/_units/mirkwood_rangers/textures/mirk_rang_att_norm.texture
    should look like that
    have you made an edu.txt entry!?


  6. #6
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Re: Help needed with modelsdb

    Yes

  7. #7
    koultouras's Avatar Πέος
    Join Date
    Nov 2008
    Location
    Greece / Thessaloniki
    Posts
    3,711

    Default Re: Help needed with modelsdb

    can you post the edu.txt fraction refering to your unit?


  8. #8
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Re: Help needed with modelsdb

    type mirkwood rangers
    dictionary mirkwood_rangers ; Mirkwood Rangers
    category infantry
    class missile
    voice_type Heavy
    banner faction main_missile
    banner holy crusade
    soldier mirkwood_ranger, 48, 0, 1
    officer silvan_captain_early_flag
    mount_effect elephant +3
    attributes sea_faring, hide_anywhere, very_hardy, can_withdraw, stakes, stakes, free_upkeep_unit
    move_speed_mod 1.1
    formation 1.2, 1.2, 2.4, 2.4, 4, square
    stat_health 1, 3
    stat_pri 16, 2, elven_arrow, 210, 35, missile, missile_mechanical, piercing, none, 0, 1
    stat_pri_attr ap
    stat_sec 10, 4, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    stat_sec_attr no
    stat_pri_armour 3, 7, 0, leather
    stat_sec_armour 0, 0, flesh
    stat_heat 6
    stat_ground 1, 0, 2, -1
    stat_mental 15, disciplined, highly_trained, lock_morale
    stat_charge_dist 15
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 860, 250, 100, 100, 860, 4, 100
    armour_ug_levels 1, 2
    armour_ug_models mirkwood_ranger
    ownership mongols
    era 0 mongols
    era 1 mongols
    era 2 mongols
    recruit_priority_offset 5

    I changed it to diff.texture, but it doesn't make any difference.
    Last edited by el Cid; March 14, 2010 at 04:07 AM.

  9. #9
    koultouras's Avatar Πέος
    Join Date
    Nov 2008
    Location
    Greece / Thessaloniki
    Posts
    3,711

    Default Re: Help needed with modelsdb

    you have placed 2 armour upgrades in edu but you have only one bm.db entry
    erase this as below
    armour_ug_levels 1, 2
    armour_ug_models mirkwood_ranger

    and delete this

    soldier mirkwood_ranger
    and replace with
    soldier Elf_Archer
    Last edited by koultouras; March 14, 2010 at 04:16 AM.


  10. #10
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Re: Help needed with modelsdb

    It still crashes

  11. #11
    Stephan's Avatar Campidoctor
    Join Date
    Jun 2008
    Location
    Wien
    Posts
    1,575

    Default Re: Help needed with modelsdb

    you could send me the files and ill see what i can do

    Yes, I know that Ishtar is spelled wrong

  12. #12
    el Cid's Avatar Campidoctor
    Join Date
    May 2009
    Location
    The Netherlands
    Posts
    1,645

    Default Re: Help needed with modelsdb

    I sent you the files.

Posting Permissions

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