Results 1 to 1 of 1

Thread: Fairy "Banshee" LoD-issue and Stalfos "Battleforged" texture-issue FIX!

  1. #1
    Mr_Nygren's Avatar Berserkir
    Join Date
    Mar 2009
    Location
    Sweden
    Posts
    4,351

    Default Fairy "Banshee" LoD-issue and Stalfos "Battleforged" texture-issue FIX!

    Hello guys, when working on my submod for Hyrule Total War 3.8 - Hyrule Total War: Classic Ultimate, i've found out that the Stalfos "Battleforged" had an issue with it's texture. It did use the same lines for both the body and attachments, causing the shoulderpads, shield and helmet to look glitched.

    I've managed to fix this issue by changing the lines in the Battle_models.modeldb-file (BMDB-file) for the "attachments" to the other texture in use by the other units of the Stalfos. I believe there are textures named "sta_main1" and "sta_main2" or similar entry - by changing the faulty lines of the attachments to the lines below i managed to make the Battleforged look as they should. - They do still have a glitch making the green eyes pop out of the head when the head moves - i can't fix this issue as that is a model/animation-issue. But at least the textures will now be correct.

    The current faulty entry of the battleforged:


    Code:
    12 battleforged 
    1 4 
    53 unit_models/_Units/stalfos/sta_battleforged_lod0.mesh 121 
    53 unit_models/_Units/stalfos/sta_battleforged_lod1.mesh 900 
    53 unit_models/_Units/stalfos/sta_battleforged_lod2.mesh 2500 
    53 unit_models/_Units/stalfos/sta_battleforged_lod2.mesh 6400 
    3 
    7 stalfos 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    6 majora 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    5 slave 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    3 
    7 stalfos 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 0
    6 majora 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 0
    5 slave 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.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
    Correct fixed entry:

    Code:
    12 battleforged 
    1 4 
    53 unit_models/_Units/stalfos/sta_battleforged_lod0.mesh 121 
    53 unit_models/_Units/stalfos/sta_battleforged_lod1.mesh 900 
    53 unit_models/_Units/stalfos/sta_battleforged_lod2.mesh 2500 
    53 unit_models/_Units/stalfos/sta_battleforged_lod2.mesh 6400 
    3 
    7 stalfos 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    6 majora 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    5 slave 
    53 unit_models/_Units/stalfos/textures/sta_main1.texture 
    60 unit_models/_Units/stalfos/textures/sta_main1_normal.texture 
    52 unit_sprites/stalfos/stalfos_battleforged_sprite.spr
    3 
    7 stalfos 
    53 unit_models/_Units/stalfos/textures/sta_main2.texture 
    60 unit_models/_Units/stalfos/textures/sta_main2_normal.texture 0
    6 majora 
    53 unit_models/_Units/stalfos/textures/sta_main2.texture 
    60 unit_models/_Units/stalfos/textures/sta_main2_normal.texture 0
    5 slave 
    53 unit_models/_Units/stalfos/textures/sta_main2.texture 
    60 unit_models/_Units/stalfos/textures/sta_main2_normal.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 fairy unit "Banshee" had a LoD-issue making the yellow variations of the unit completely vanish/disappear whenever you move the camera away from the unit. I've seen that Neph is using many different LoD-files (pretty unusal approach) with numbers like 121, 900, 2500 and 6400. - This is not necessary as i've found that all the LoD-levels can have 10000 (maximum entry) and it will look great from long distances.

    I've changed all the LoD-levels to 10000 of this specific unit (could be done to all the models to further the distance of the units) fixing the issue with the Yellow Banshee disappearing when moving short distances away from it with the camera.

    Fixed entry:

    Code:
    7 banshee 
    1 4 
    46 unit_models/_units/fairy/fai_banshee_lod0.mesh 10000 
    46 unit_models/_units/fairy/fai_banshee_lod1.mesh 10000 
    46 unit_models/_units/fairy/fai_banshee_lod1.mesh 10000 
    46 unit_models/_units/fairy/fai_banshee_lod1.mesh 10000
    Last edited by Mr_Nygren; June 07, 2019 at 10:54 AM.
    Be your friend's, true friend. Return gift for gift. Repay laughter, with laughter again
    but betrayal with treachery.

    - The Havamal

Posting Permissions

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