Results 1 to 9 of 9

Thread: invisible units from mod to another

  1. #1

    Icon3 invisible units from mod to another

    hi guys, i've tried to add some units from one mod to another i did every thing it's right way and the game starts without any problems
    just one :::: the units in battle are hollow the are invisible!!! any help..

  2. #2
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: invisible units from mod to another

    Quote Originally Posted by tarekmohsen View Post
    hi guys, i've tried to add some units from one mod to another i did every thing it's right way and the game starts without any problems
    just one :::: the units in battle are hollow the are invisible!!! any help..
    Apparently you did not do everything right.
    Make sure that the names of the texture files are properly stated in the bmdb file.
    It would help a lot if you gave more details, like posting the parts of the bmdb and edu that are particular to that unit.

  3. #3

    Default Re: invisible units from mod to another

    this is the script

    17 venetian_infantry
    1 4
    52 unit_models/_Units/units/venetian_infantry_lod0.mesh 121
    52 unit_models/_Units/units/venetian_infantry_lod1.mesh 900
    52 unit_models/_Units/units/venetian_infantry_lod2.mesh 2500
    52 unit_models/_Units/units/venetian_infantry_lod3.mesh 6400
    1
    6 venice
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_venice.texture
    77 unit_models/_Units/LN_Brigandine_heavy/textures/LN_ Brigandine_normal.texture
    48 unit_sprites/venice_Venetian_Infantry_sprite.spr
    1
    6 venice 60 unit_models/AttachmentSets/Final Italian_venice_diff.texture
    60 unit_models/AttachmentSets/Final Italian_venice_norm.texture 0
    1 4 None
    14 MTW2_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield 0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002 21
    venetian_infantry_ug1
    1 3
    56 unit_models/_Units/units/venetian_infantry_ug1_lod0.mesh 121
    56 unit_models/_Units/units/venetian_infantry_ug1_lod1.mesh 1225
    56 unit_models/_Units/units/venetian_infantry_ug1_lod2.mesh 6400
    1
    6 venice
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_venice.texture
    81 unit_models/_Units/LN_3QPlate_HalfPlate/textures/mtw2_LN_halfplate_normal.texture
    52 unit_sprites/venice_Venetian_Infantry_ug1_sprite.spr
    1
    6 venice
    60 unit_models/AttachmentSets/Final Italian_venice_diff.texture
    60 unit_models/AttachmentSets/Final Italian_venice_norm.texture 0
    1 4 None
    14 MTW2_Swordsman 0 2 18 MTW2_Sword_Primary 14 fs_test_shield
    0 16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002

    the unit and units info is right and the unit appears in custom battles the nams and the tribute and also i revise the files and it's location when the battle starts the models are units are invisible

  4. #4

    Default Re: invisible units from mod to another

    is it possible that TATW .mesh file doesn't work in m2tw or kingdoms???

  5. #5
    Medusa0's Avatar Artifex
    Join Date
    Apr 2009
    Location
    Nowhere
    Posts
    379

    Default Re: invisible units from mod to another

    Did you add the entry to the end of the BMDB? There is a possibility that the last few entries in the file will yield invisible units on the battlefield, you can prevent that from happening by sticking several dummy (unused) entries down there as buffer.

  6. #6
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: invisible units from mod to another

    Quote Originally Posted by tarekmohsen View Post
    is it possible that TATW .mesh file doesn't work in m2tw or kingdoms???
    No, if it is right, it is right.
    Try the recommendation of Medusa0 and if this does not solve your problem then upload all the files that are relevant to your unit-model, the milkshape files, the mesh files, the textures, the bmdb and the edu and I will give them a good look.

  7. #7
    Moon's Avatar Centenarius
    Join Date
    Oct 2008
    Location
    The dark side
    Posts
    878

    Default Re: invisible units from mod to another

    Have you increased this part of the BMDB as you haven't mentioned it?
    22 serialization::archive 3 0 0 0 0 713 0 0
    Your's will be different to mine so if I added two extra models it would need to be increased by 2 to 715. It won't crash the game if an upg is beyond the serialisation count but that is usually when you get invisible models.

    17 venetian_infantry? look in the BMDB and make sure this unit is not already there, if it is and its before the one you have added it will use that one and ignore yours.

  8. #8

    Default Re: invisible units from mod to another

    hi guys, thankx for ur help by the way i have fixwd this problem last night and imported many many units in my mod,,
    Medusa0
    ur are tottaly right

    exactly my problem was that i have add the entry to the end of the BMDB ,,,, i was gone mad but i saw old post tells about this prolem

    thank u alllllllllllllll

  9. #9
    paleologos's Avatar You need burrito love!!
    Join Date
    Feb 2011
    Location
    Variable
    Posts
    8,431

    Default Re: invisible units from mod to another

    Quote Originally Posted by tarekmohsen View Post
    thank u alllllllllllllll
    Any time mate!

Posting Permissions

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