Results 1 to 15 of 15

Thread: Need BMDB help

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Need BMDB help

    Hello, i need assistance with my BMDB as some units that i added to my install are invisible in game. The odd thing is that NONE of my M2TW mod tools work properly as of recent, hence i cannot check if it is correct. The unit i am having trouble with is the deli unit i added from Wars of Renaissance. As i can see their mount ingame, but not the Deli rider. Also, i am using that deli unit as a replacement for the existing deli unit, hence i am using the same edu text as the old deli. Either way, i tried to use the new deli's edu, and still have the same invisible problem, note, this is not the only unit to have this problem i will type the edu, and attach the bmdb.



    type Delis
    dictionary Delis ; Balkan Lancers
    category cavalry
    class light
    voice_type Light
    banner faction eastern_main_cavalry
    banner holy crusade_cavalry
    soldier delis, 32, 0, 1
    officer serbia_hussars_officer
    mount pony
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, can_withdraw, mercenary_unit, free_upkeep_unit
    formation 2, 4.4, 3, 6, 2, square
    stat_health 1, 0
    stat_pri 7, 8, no, 0, 0, melee, melee_blade, piercing, spear, 60, 1
    stat_pri_attr no
    stat_sec 8, 5, no, 0, 0, melee, melee_blade, piercing, sword, 30, 1
    stat_sec_attr no
    stat_pri_armour 0, 4, 3, flesh
    stat_sec_armour 0, 0, flesh
    stat_heat 1
    stat_ground 0, 0, -3, -1
    stat_mental 8, low, untrained
    stat_charge_dist 20
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 540, 250, 90, 70, 685, 4, 100
    armour_ug_levels 0
    armour_ug_models deli
    ownership all,
    era 0 turks, hungary
    era 1 turks, hungary
    era 2 turks, hungary

  2. #2
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Need BMDB help

    Did you remember to import the models as well as the textures? Also, if they have unique animations you will need those as well.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  3. #3
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    i have added the models and textures, the thing is that i changed the directory of one of the textures, but the BMDB was modified to accommodate the change. However, it might be the animations

  4. #4
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Need BMDB help

    The BMDB is not crashing the game correct, it's just a matter of the units not showing properly?

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  5. #5
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    i see, i did a little BMDB editing, and the unit is now visible, however, the textures do not load

  6. #6
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Need BMDB help

    Make sure the "soldier" line corresponds to the correct BMDB entry, this screwed me up many times. For example, if you clone a unit entry and leave the old soldier reference while adding a new BMDB entry it will still look at the old one.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  7. #7
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    thank you. if you mean change the soldier line in the edu, i have done that, yet the unit has no texture on them, hence has that silvery look to it

  8. #8
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Need BMDB help

    Are they completely silver or do they have faint detail? If it's the latter then you are using a texture that doesn't quite fit the model.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  9. #9
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    completely silver.

  10. #10
    Emperor of Hell's Avatar SPA-NED 1-5
    Join Date
    Jul 2011
    Location
    Netherlands
    Posts
    5,747

    Default Re: Need BMDB help

    Then you should add the textures for the faction you want them to have

  11. #11
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    the unit is for the turks hence i have it as this:

    4 deli
    1 1
    39 unit_models/_Units/turks/deli_lod0.mesh 6400
    1
    5 turks
    56 unit_models/_Units/turks/textures/delils_diffuse.texture
    57 unit_models/_Units/turks/textures/tufekchi_normal.texture
    50 unit_sprites/turks_Janissary_Musketeers_sprite.spr
    1
    5 turks
    55 unit_models/_Units/turks/textures/delils_attach.texture
    58 unit_models/_Units/strelec/textures/cos_inf_normal.texture 0
    1
    5 Horse
    13 MTW2_HR_Spear
    13 MTW2_HR_Sword 2
    21 MTW2_HR_spear_Primary
    14 fs_test_shield 2
    18 MTW2_Sword_Primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

  12. #12

    Default Re: Need BMDB help

    delete the "mercenary_unit" atribute from the atribute line in the EDU,
    all units with that attribute always use the "merc" skin instead of the "faction specific" one in the ModelDB.

  13. #13
    Emperor of Hell's Avatar SPA-NED 1-5
    Join Date
    Jul 2011
    Location
    Netherlands
    Posts
    5,747

    Default Re: Need BMDB help

    Quote Originally Posted by ilmrik View Post
    delete the "mercenary_unit" atribute from the atribute line in the EDU,
    all units with that attribute always use the "merc" skin instead of the "faction specific" one in the ModelDB.
    Never knew that, useful info

  14. #14
    AJStoner's Avatar Lord of Entropy
    Join Date
    Dec 2010
    Location
    Currently exiled to Florida
    Posts
    1,746

    Default Re: Need BMDB help

    If you want the unit to be available as a Merc there are two options:

    1) Always have the unit use 1 texture (entered as "merc") This can be useful if the unit type in question is from a certain region. For example I have some Welsh units that can be recruited as mercs but always use their Welsh textures.

    2) Make a second Mercenary version of the unit in EDU. If you do this they can refer to the same BMDB soldier entry where a mercenary texture can be included an not affect the regular unit's textures.

    *MEMBER OF THE HOUSE OF HADER* *UNDER THE CRUEL & MERCILESS PATRONAGE OF y2day*

  15. #15
    Nihirizumu no tsumetai ame's Avatar Civis
    Join Date
    Jun 2010
    Location
    Side 3, the principality of Zeon, and Miraflores, Lima, Peru
    Posts
    136

    Default Re: Need BMDB help

    Thank you all for your suggestions, they have helped me fix the problem, rep is on the way

Posting Permissions

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