Results 1 to 16 of 16

Thread: All captained armies have a silver officer in battles.

  1. #1
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default All captained armies have a silver officer in battles.

    Does anyone know the simplest reason for this problem, mentioned by one user of my mod here :http://www.twcenter.net/forums/showt...-Grim-Reality-

    I think it is only happening for him as no one has reported it over the years since release.
    Last edited by Byg; January 09, 2015 at 06:56 AM. Reason: Ping pong tournament

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  2. #2
    Lord Caim's Avatar Libertus
    Join Date
    Oct 2014
    Location
    Western America
    Posts
    72

    Default Re: All captained armies have a silver officer in battles.

    replied in your forum its a lot, and probably unnecessary to a degree, but it is thorough. this:
    The troubleshooting is fairly universal to all mods and you can use this for any 'silver' units
    Go into a custom match and pick every unit from Lithuania(not the mercs, just the local faction units.) take note to the particular name of each and every unit which has a silver surfer. then go into the export_descr_unit.txt file under the mods data folder(for a file path not unlike this: SEGA>M2TW>mods>ss6.3>data) and press ctrl+f and type lithuania, and go find every unit that had a silver. from there take note of each DIFFERENT "officer' model (will look kind of like this)
    soldier EE_Peasant_Archers, 48, 0, 0.7
    officer northern_captain
    From there, you can verify that each of these officer units has a file in the battle models DB (standard filepath:SEGA\Medieval II Total War\mods\SS6.3\data\unit_models)(on a side note, open the battle_models.modeldb file with NOTEPAD. do NOT NOT NOT CHANGE ANYTHING here as you will cause CTD's and more silver surfers if you have no clue. simply verify, by hand that each file is linked and exists.)
    To verify each officer unit press ctrl+f and type the officer name, exactly as it appeared in the EDU ( "northern_captain" for example will take you to "16 northern_captain") and it should take you to that entry the first time. from here(and this is a hard file to navigate, I know) scroll down under the officer name and find the entry on lithuania. (looks like this)
    9 lithuania
    103 unit_models/_Generals_and_Captains/northern_captain_early/textures/late_northern_captain_russia.texture
    103 unit_models/_Generals_and_Captains/northern_captain_early/textures/late_northern_captain_normal.texture 0 {<< ignore this zero, but be aware that its there}

    Then, without typing anything into the Model DB, go into the folder of each entries filepath and ensure that the file actually exists at the end of the path and is named the exact same thing... exactly. if the file is missing you will need to redownload at least that file(easier just to reinstall) and place it there exactly. if all the files and filepaths and linkages are correct, then you likely have a corrupt texture file(happens occasionally) and should be able to identify which one is corrupt by the common officer name from the EDU.

    Seeing as you are encountering something wrong, i.e. the silver dudes, at least one of these entries or filepaths should be jacked up. if it is a simple spelling error in a file try to correct it. the numbers I've highlighted green from the modelDB are a 'line count' and you need exactly that many characters on that line or the game will crash. if you need to adjust this, be very careful. If you experience trouble opening M2TW after this, you messed something up here. if you see more silver dudes, you messed something up here. if you experience CTD's... again, you messed something up here. but you wrote everything down, and went step by step, and didn't save anything you didnt purposefully try to fix so it should be easy to fix/ undo, right?
    Last edited by Lord Caim; January 13, 2015 at 04:42 PM. Reason: spelling and cleaned up post

  3. #3
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    Yup, silver surfers (also known as T-1000) are caused by missing faction texture, be it through absence or lack of entry in the modeldb.

    The battle model for default captains (and generals) are defined in descr_characters, custom officers are defined in the EDU - see line entries headed by 'officer'

    Nice detailed stuff LC, by the way.










  4. #4
    Lord Caim's Avatar Libertus
    Join Date
    Oct 2014
    Location
    Western America
    Posts
    72

    Default Re: All captained armies have a silver officer in battles.

    Quote Originally Posted by Gigantus View Post
    The battle model for default captains (and generals) are defined in descr_characters
    forgot about that one. but i was bored so i was manually doing it myself anyway. thank you, by the way.

    It would appear that ducal cavalry is the only unit affected(for me, at least) and his second officer, EE_Bodyguard is the cause.
    Upon inspection of the model.db low and behold, the lithuania entry is missing outright. i will walk you through putting it in, i could just as easily give you the answer, but it would be easier for you to mess up putting it in.

    Spoiler Alert, click show to read: 


    open your battle model.db as per my previous post, hit ctrl+f and type "ee_bodyguard"
    you will see this.
    12 ee_bodyguard 1 3
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 121
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 1225
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 6400
    8 {change this to a 9. this is how many factions use this model}
    6 russia {copy and paste the entire green section directly under it}
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/russia_rus_bodyguard_cav_sp_ug0_sprite.spr
    7 england {Paste russia right above, england, and right below russia}
    54 unit_models/rus/textures/rus_drugina_close_suz.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/saxons_rus_bodyguard_cav_sp_ug0_sprite.spr
    10 kievan_rus
    54 unit_models/rus/textures/rus_drugina_close_nov.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/polock_rus_bodyguard_cav_sp_ug0_sprite.spr
    6 venice
    54 unit_models/rus/textures/rus_drugina_close_suz.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    57 unit_sprites/smolensk_rus_bodyguard_cav_sp_ug0_sprite.spr
    6 poland
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/galich_rus_bodyguard_cav_sp_ug0_sprite.spr
    7 hungary
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    56 unit_sprites/hungary_rus_bodyguard_cav_sp_ug0_sprite.spr
    7 hungary
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    56 unit_sprites/hungary_rus_bodyguard_cav_sp_ug0_sprite.spr
    5 slave
    54 unit_models/rus/textures/rus_drugina_close_reb.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    54 unit_sprites/slave_rus_bodyguard_cav_sp_ug0_sprite.spr
    8 {Change this to a 9. this is the head models}
    7 england
    60 unit_models/rus/attachments/rus_equipment_advans_suz.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    6 venice
    60 unit_models/rus/attachments/rus_equipment_advans_suz.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    5 slave
    58 unit_models/rus/attachments/rus_equipment_base_reb.texture
    59 unit_models/rus/attachments/rus_equipment_base_norm.texture 0
    6 russia {Again, copy and paste russias entry directly under it}
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    7 hungary
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    7 hungary
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    10 kievan_rus
    60 unit_models/rus/attachments/rus_equipment_advans_nov.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    6 poland
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    1
    5 Horse
    13 MTW2_HR_Spear
    12 MTW2_HR_Mace 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
    16 ee_bodyguard_ug1{This is for the armour upgrade}
    1 3
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 121
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 1225
    50 unit_models/rus/models/rus_drugina_close_lod0.mesh 6400
    8 {Ensure to change this one too}
    6 russia {and copy and paste}
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/russia_rus_bodyguard_cav_sp_ug1_sprite.spr
    7 england
    54 unit_models/rus/textures/rus_drugina_close_suz.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/saxons_rus_bodyguard_cav_sp_ug1_sprite.spr
    10 kievan_rus
    54 unit_models/rus/textures/rus_drugina_close_nov.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/polock_rus_bodyguard_cav_sp_ug1_sprite.spr
    6 venice
    54 unit_models/rus/textures/rus_drugina_close_suz.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    57 unit_sprites/smolensk_rus_bodyguard_cav_sp_ug1_sprite.spr
    6 poland
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    55 unit_sprites/galich_rus_bodyguard_cav_sp_ug1_sprite.spr
    7 hungary
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    56 unit_sprites/hungary_rus_bodyguard_cav_sp_ug1_sprite.spr
    7 hungary
    54 unit_models/rus/textures/rus_drugina_close_kiy.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    56 unit_sprites/hungary_rus_bodyguard_cav_sp_ug1_sprite.spr
    5 slave
    54 unit_models/rus/textures/rus_drugina_close_reb.texture
    52 unit_models/rus/textures/rus_drugina_close_n.texture
    54 unit_sprites/slave_rus_bodyguard_cav_sp_ug1_sprite.spr
    8 {And Again}
    7 england
    60 unit_models/rus/attachments/rus_equipment_advans_suz.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    6 venice
    60 unit_models/rus/attachments/rus_equipment_advans_suz.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    5 slave
    58 unit_models/rus/attachments/rus_equipment_base_reb.texture
    59 unit_models/rus/attachments/rus_equipment_base_norm.texture 0
    6 russia {This one also}
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    7 hungary
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    7 hungary
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    10 kievan_rus
    60 unit_models/rus/attachments/rus_equipment_advans_nov.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    6 poland
    60 unit_models/rus/attachments/rus_equipment_advans_kiy.texture
    58 unit_models/rus/attachments/rus_equipment_advans_n.texture 0
    1


    Now that you have copied russias entries change russias second entry(in all 4 copy pastes) to "9 lithuania" without the quotes. check your work. making sure you changed four "8"s to "9"s and four "6 russia"s to "9 lithuania"s save and close.

    proceed to run the game, and if it doesnt crash, you didnt mess up the numbers. load a custom battle and select lithuania, and pick 3 ducal cavalry. give one of them no armour upgrades, give one of them a bronze armour upgrade, and give the last a silver armour upgrade. proceed to the fight and inspect each unit closely. if you have no more silver dude, and no CTDs then holy success!

    This fix worked for me with a unit that was actually silver. if you have multiple units like this, use the knowledge you gained here to infer on how to change the other units(basically change the faction count, for the unit, copy past the faction that would most look like lithuania, and then change the faction name to lithuania)

  5. #5

    Default Re: All captained armies have a silver officer in battles.

    I was the guy to notice this. I should have probably just made this thread, but I thought Byg might know what causes silver texture; I suppose he doesn't really do that kind of modding though. I mistook the silver as the captain, because I always am using Lithuanian Ducal Cav as my captain unit on campaigns. It is actually the guy that rides between the captain and the standard bearer; I should have done more testing before claiming the missing officer was the captain, so this thread is improperly titled.

    Thanks for the walkthrough Lord Caim. Only one question left; if I do this, will this create incompatibility for multiplayer battles with users who do not? "This player is using a different version of M2TW" error pop-up when mods are incompatible?

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    Byg does scripting (amazing stuff I might add), not coding - easily understood as being the same.

    Multiplayer - I am not familiar with the mechanics of it, but I would assume all players are required to have the exact same version of the game\mod as the hosting player. Unless the test is only done on 'core' files. But even then I guess the modeldb file would be considered 'core'.










  7. #7
    Lord Caim's Avatar Libertus
    Join Date
    Oct 2014
    Location
    Western America
    Posts
    72

    Default Re: All captained armies have a silver officer in battles.

    I dont do multiplayer. however. Make a copy of your model db(and store it somewhere besides the same data file), and if you encounter problems just switch it back to silver captain modeldb. seeing as models(specifically the textures of the models) dont affect game play at all, i dont see why this should even be an issue.

    EDIT:And yes, i noticed that the silver guy wasnt the primary captain of the unit, but the ducal cavalry actually has 2 officer units listed, and it is the second one you are fixing here. still technically the captain though, i guess.
    Last edited by Lord Caim; January 10, 2015 at 09:44 AM. Reason: Adding information

  8. #8
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default Re: All captained armies have a silver officer in battles.

    The title is actually correct. I'm assuming the extra guy standing apart from the sword fodder is some other officer.
    Last edited by Byg; January 10, 2015 at 12:47 PM.

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  9. #9
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    The line up of non standard soldiers on the right of the unit is up to three officers (EDU entry, any unit) and one captain\general in the back ('body guard' unit only - descr_characters\descr_strat or campaign_script entry)










  10. #10
    /|\/|\/|\/|\/|\/|\/
    Join Date
    Jun 2005
    Posts
    10,770

    Default Re: All captained armies have a silver officer in battles.

    Quote Originally Posted by Byg View Post
    The title is actually correct. I'm assuming the extra guy standing apart from the sword fodder is some other officer.
    Just an FYI to help you clarify if needs be, the link in the OP doesn't take us to the post as you may have intended, instead it links the mod-thread's OP.

    The number with the preceding # in the top right of the post is the link address of the post.

    And to clarify the previous respondents answers: Check descr_character for the battle_model entry name, and then check the battle_model entry for any discrepancy like missing factions.

    But:

    Quote Originally Posted by Byg View Post
    I think it is only happening for him as no one has reported it over the years since release.
    If your guess is correct then a reinstall ought to fix it.
    Last edited by Taiji; January 11, 2015 at 04:33 AM.

  11. #11
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    Maybe a patch or update for the mod that wasn't applied?










  12. #12
    Byg's Avatar Read The Manual
    Patrician

    Join Date
    Nov 2005
    Posts
    4,569

    Default Re: All captained armies have a silver officer in battles.

    I think lord Caim has the answer here.
    I am surprised though as I did play an intense campaign against Lithuania (and I was defeated I believe), but never noticed a silver soldier in the enemy army.

    So there we are and thanks for the replies.

    NEW BGR V 20150324! . . . . . . . .. . . .BGRIV_E

  13. #13
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    A single soldier in a large army doesn't stand out much - even if he has no skin. It's not exactly silver anyhow, more a greenish, greyish hue and not sparkling\reflecting.










  14. #14

    Default Re: All captained armies have a silver officer in battles.

    it is strange that in the unit code from post 4,their is 2 times faction hungary,i don't know if this can mix some things there.

  15. #15
    Lord Caim's Avatar Libertus
    Join Date
    Oct 2014
    Location
    Western America
    Posts
    72

    Default Re: All captained armies have a silver officer in battles.

    Quote Originally Posted by stevietheconquer View Post
    it is strange that in the unit code from post 4,their is 2 times faction hungary,i don't know if this can mix some things there.
    I had not noticed this, but it must be what they meant to turn into Lithuania when they were originally creating SS, but forgot. thus leading to this very error. And other than adding more than necessary physical text to sort through, it shouldn't and hasn't caused me any issues.

  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: All captained armies have a silver officer in battles.

    The game will use the first entry and ignore the following one (provided they are properly formatted) - no crash here as Caim says.










Posting Permissions

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