Results 1 to 7 of 7

Thread: invisible unit. Again...

Hybrid View

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

    Default invisible unit. Again...

    It's itneresting thing because i've changed nothing in modeldb. In sprite of it when i've runned the game yesterday evening instead of ready to fight light cavalry i only could see empty horses...

    This is my modeldb entry:
    9 skythikon
    1 3
    46 unit_models/_Units/armenia/turkomans_lod0.mesh 121
    46 unit_models/_Units/armenia/turkomans_lod0.mesh 1225
    46 unit_models/_Units/armenia/turkomans_lod0.mesh 6400
    3
    9 byzantium
    60 unit_models/_Units/armenia/textures/turkoman_light_2.texture
    65 unit_models/_Units/armenia/textures/turkoman_light_2_norm.texture
    43 unit_sprites/byzantium_Skythikon_sprite.spr
    7 armenia
    77 unit_models/_Units/ES_Greek_Greek_Heavy/textures/as_light_fancy_greek.texture
    84 unit_models/_Units/ES_Greek_Greek_Heavy/textures/as_light_fancy_greek_normal.texture
    39 unit_sprites/slave_Skythikon_sprite.spr
    5 slave
    77 unit_models/_Units/ES_Greek_Greek_Heavy/textures/as_light_fancy_greek.texture
    84 unit_models/_Units/ES_Greek_Greek_Heavy/textures/as_light_fancy_greek_normal.texture
    39 unit_sprites/slave_Skythikon_sprite.spr
    3
    9 byzantium
    55 unit_models/_Units/armenia/attach/turkoman_diff.texture
    55 unit_models/_Units/armenia/attach/turkoman_norm.texture 0
    7 armenia
    59 unit_models/AttachmentSets/Final Asian_mongols_diff.texture
    59 unit_models/AttachmentSets/Final Asian_mongols_norm.texture 0
    5 slave
    59 unit_models/AttachmentSets/Final Asian_mongols_diff.texture
    59 unit_models/AttachmentSets/Final Asian_mongols_norm.texture 0
    1
    5 Horse
    11 MTW2_HR_Bow
    18 MTW2_HR_Non_Shield 1
    19 MTW2_HR_Bow_Primary 1
    18 MTW2_Sword_Primary
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    i've checked all very carefully, but i cant't find the reason of this problem. Maybe someone of you can find something? (i cant' increase or decrease the amunt of entrys in first part of file, because the game crasches - so i suppose the ammount is correct)

  2. #2

    Default

    i've found the bug. If i can ask for erase thi thread... i'm sorry...

    i'm sorry
    it's very strange situations. I've made some new units for Armenia. The last one is my version of armenian archers. I made all as usually, but modeldb doesn't accept the last entry and it's entry needed by armenian archers.
    I've made it 5 times and the result is the same all the time. the game doesn't want to accept this unit. I always have two options only:
    1. i can incrase amount of entries in start of file, but the game crasches or
    2. i can keep the amount of entries, but the unis is unvisible on the battlefield.

    I've tried to move this entry into another position, but the result is the same all the time: the game ends reading the file on this specific entry.
    This is the enty i'm talking about:
    Code:
    16 armenia_mountain 
    1 3 
    41 unit_models/_Units/armenia/armenia_medium_archers_lod0.mesh 121 
    41 unit_models/_Units/armenia/armenia_medium_archers_lod1.mesh 1225 
    41 unit_models/_Units/armenia/armenia_medium_archers_lod2.mesh 6400 
    2 
    7 armenia 
    70 unit_models/_Units/armenia/textures/attach_armenia_archer_diff.texture 
    70 unit_models/_Units/armenia/textures/attach_armenia_archer_norm.texture 
    57 unit_sprites/byzantium_Byzantine_Guard_Archers_sprite.spr 
    5 slave 
    70 unit_models/_Units/armenia/textures/attach_armenia_archer_diff.texture 
    70 unit_models/_Units/armenia/textures/attach_armenia_archer_norm.texture 
    57 unit_sprites/byzantium_Byzantine_Guard_Archers_sprite.spr 
    2 
    7 armenia 
    67 unit_models/_Units/armenia/Attach/armenia_round_shield_diff.texture 
    67 unit_models/_Units/armenia/Attach/armenia_round_shield_norm.texture 0  
    5 slave 
    67 unit_models/_Units/armenia/Attach/armenia_round_shield_diff.texture 
    67 unit_models/_Units/armenia/Attach/armenia_round_shield_norm.texture 0  
    1 
    4 None 
    16 MTW2_Fast_Bowman 
    20 MTW2_Non_Shield_Fast 1 
    19 MTW2_Bowman_Primary 1 
    18 MTW2_Sword_Primary 
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    Last edited by Ishan; November 11, 2010 at 06:41 AM. Reason: double post

  3. #3

    Default Re: invisible unit. Again...

    Check it with the modeldb checker and make sure the files are in the right location and are not corrupted.

  4. #4

    Default Re: invisible unit. Again...

    there is modeldb checker? Where can i find it?

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

    Default Re: invisible unit. Again...

    This is the problem, string says 41 change it to 59 and it should work.

    16 armenia_mountain
    1 3
    41 unit_models/_Units/armenia/armenia_medium_archers_lod0.mesh 121
    41 unit_models/_Units/armenia/armenia_medium_archers_lod1.mesh 1225
    41 unit_models/_Units/armenia/armenia_medium_archers_lod2.mesh 6400

  6. #6

    Default Re: invisible unit. Again...

    Quote Originally Posted by attyla View Post
    there is modeldb checker? Where can i find it?
    Here

  7. #7

    Default Re: invisible unit. Again...

    thanx you all and espetially thanx for this checker. Maybe searching bungs will be less time consuming

Posting Permissions

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