Results 1 to 17 of 17

Thread: [SSHIP 0.9.5] Inappropriate models of bodyguards

  1. #1
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default [SSHIP 0.9.5] Inappropriate models of bodyguards


    In 1253, I fight against the city of Pisa, enemy faction of the pope to whom I am allied ...





    Pisa has grouped at least 4 generals but after a long siege, their army is very weak.
    As you can see, that their bodyguards are not the se_bodyguard they should be, but obviously, they use a model of muslim faction bodyguards without texture.

    Yet I tested the faction of Pisa, in custom battle or in campaign battle and their bodyguards are quite normal !!!





    Where can this bad assignment of the bodyguards come from? How to fix this bug?

    Thank you to those who bring me their lights.
    Last edited by kostic; May 10, 2019 at 10:09 AM.

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    The issue appears to be manifold - not only is the soldier without texture, but so is the mount. I can only imagine the following issue, let me explain step by step:

    In the EDU (export_descr_units file) body guard units have the general_unit entry in the attribute line
    In case of multiple units like this for a faction the game will only use the first unit as bodyguard

    Possible scenario for you:

    The original SE bodyguard unit has pisa in the ownership line
    The ME bodyguard unit above it (in the EDU) has for some reason also pisa in the ownership line
    Neither the soldier nor the mount used by the ME bodyguard has a texture for pisa in the modelDB file
    Solution: remove pisa from the ME body guard ownership line as well as the era line(s)
    Last edited by Gigantus; May 11, 2019 at 06:07 AM.










  3. #3
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Thank you very much for your help Gigantus!
    Unfortunately the entry "pisa" is not with the me_bodyguard. Here's what I find respectively in the EDU and in the battle_modelDB :

    type SE Bodyguard
    dictionary SE_Bodyguard ; General's Bodyguard, feudal, medium cavalry, exceptional, local
    category cavalry
    class heavy
    voice_type General
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier SE_Bodyguard, 8, 0, 1
    officer northern_captain_early_flag
    mount royal horse marka
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, very_hardy, command, can_withdraw , general_unit, knight
    move_speed_mod 0.97
    formation 1.5, 4.4, 2, 6, 2, square
    stat_health 1, 3
    stat_pri 7, 12, 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, 15, 1
    stat_sec_attr no
    stat_pri_armour 12, 6, 5, metal ;
    stat_sec_armour 0, 0, flesh
    stat_heat 7
    stat_ground -1, -1, -4, -2
    stat_mental 18, disciplined, trained
    stat_charge_dist 45
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 3, 232, 444, 60, 444, 444, 1, 100
    armour_ug_levels 11, 12, 16, 23
    armour_ug_models SE_Bodyguard, SE_Bodyguard_ug1, SE_Bodyguard_ug1, SE_Bodyguard_ug1
    ownership spain, aragon, portugal, pisa, venice, papal_states, sicily
    era 0 spain, aragon, portugal, pisa, venice, papal_states, sicily
    era 1 spain, aragon, portugal, pisa, venice, papal_states, sicily
    recruit_priority_offset 40
    ;43
    type ME Bodyguard
    dictionary ME_Bodyguard ; Bodyguard, late pro, urban, exceptional, local
    category cavalry
    class heavy
    voice_type General
    banner faction main_cavalry
    banner holy crusade_cavalry
    soldier ME_Bodyguard, 9, 0, 1
    officer ME_Bodyguard_ug1
    officer eastern_captain_early_flag
    mount arab mailed horse
    mount_effect elephant -4, camel -4
    attributes sea_faring, hide_forest, very_hardy, can_withdraw , general_unit
    move_speed_mod 0.93
    formation 2, 4.4, 3, 6, 2, square
    stat_health 1, 3
    stat_pri 8, 10, no, 0, 0, melee, melee_blade, piercing, spear, 20, 1
    stat_pri_attr no
    stat_sec 9, 5, no, 0, 0, melee, melee_blade, piercing, sword, 15, 1
    stat_sec_attr no
    stat_pri_armour 11, 7, 4, metal ;
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground -2, -1, -6, -3
    stat_mental 18, disciplined, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 2, 555, 425, 60, 425, 425, 1, 150
    armour_ug_levels 11, 15, 23
    armour_ug_models ME_Bodyguard, ME_Bodyguard, ME_Bodyguard_ug1
    ownership moors, egypt, turks, rum, kwarezm, milan
    era 0 moors, egypt, turks, rum, kwarezm, milan
    era 1 moors, egypt, turks, rum, kwarezm, milan
    recruit_priority_offset 40
    ;205
    In SSHIP, it seems to me that the entry "milan" corresponds to the Fatimids faction.

    I put you here what corresponds in the battle_modeldb to the se_bodyguard who should be represented in the game.

    Spoiler Alert, click show to read: 
    12 se_bodyguard
    1 1
    61 unit_models/sandy_units/EN_Lmail_Hmail/se_bodyguard_lod0.mesh 12000
    8
    5 spain
    76 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_spain.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    6 aragon
    76 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_fland.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    5 slave
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_rebels.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    8 portugal
    79 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_portugal.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    45 unit_sprites/portugal_SE_Bodyguard_sprite.spr
    4 pisa
    75 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_pisa.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    42 unit_sprites/milan_SE_Bodyguard_sprite.spr
    6 venice
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_venice.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    43 unit_sprites/venice_SE_Bodyguard_sprite.spr
    12 papal_states
    83 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_papal_states.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    49 unit_sprites/papal_states_SE_Bodyguard_sprite.spr
    6 sicily
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_sicily.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/gs_kmail_kmail_normal.texture
    43 unit_sprites/sicily_SE_Bodyguard_sprite.spr
    8
    5 spain
    67 unit_models/sandy_units/AttachmentSets/cs_attachments_spain.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 aragon
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_aragon.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    5 slave
    67 unit_models/sandy_units/AttachmentSets/cs_attachments_slave.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    8 portugal
    70 unit_models/sandy_units/AttachmentSets/cs_attachments_portugal.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    4 pisa
    66 unit_models/sandy_units/AttachmentSets/cs_attachments_pisa.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 venice
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_venice.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    12 papal_states
    74 unit_models/sandy_units/AttachmentSets/cs_attachments_papal_states.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 sicily
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_sicily.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    13 MTW2_HR_Sword
    2
    21 MTW2_HR_Lance_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 se_bodyguard_ug1
    1 1
    65 unit_models/sandy_units/EN_Lmail_Hmail/se_bodyguard_ug1_lod0.mesh 12000
    8
    5 spain
    76 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_spain.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    6 aragon
    76 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_fland.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    5 slave
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_rebels.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    42 unit_sprites/spain_SE_Bodyguard_sprite.spr
    8 portugal
    79 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_portugal.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    45 unit_sprites/portugal_SE_Bodyguard_sprite.spr
    4 pisa
    75 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_pisa.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    42 unit_sprites/milan_SE_Bodyguard_sprite.spr
    6 venice
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_venice.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    43 unit_sprites/venice_SE_Bodyguard_sprite.spr
    12 papal_states
    83 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_papal_states.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    49 unit_sprites/papal_states_SE_Bodyguard_sprite.spr
    6 sicily
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_sicily.texture
    77 unit_models/sandy_units/EN_Lmail_Hmail/textures/ks_kmail_kmail_normal.texture
    43 unit_sprites/sicily_SE_Bodyguard_sprite.spr
    8
    5 spain
    67 unit_models/sandy_units/AttachmentSets/cs_attachments_spain.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 aragon
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_aragon.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    5 slave
    67 unit_models/sandy_units/AttachmentSets/cs_attachments_slave.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    8 portugal
    70 unit_models/sandy_units/AttachmentSets/cs_attachments_portugal.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    4 pisa
    66 unit_models/sandy_units/AttachmentSets/cs_attachments_pisa.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 venice
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_venice.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    12 papal_states
    74 unit_models/sandy_units/AttachmentSets/cs_attachments_papal_states.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    6 sicily
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_sicily.texture
    68 unit_models/sandy_units/AttachmentSets/cs_attachments_normal.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    13 MTW2_HR_Sword
    2
    21 MTW2_HR_Lance_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


    And here the me_bodyguard that seem to appear instead.

    Spoiler Alert, click show to read: 
    12 me_bodyguard
    1 1
    54 unit_models/bc_units/ayyubid_tawashi_cavalry_lod0.mesh 12000
    7
    7 kwarezm
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    5 moors
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    5 milan
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    5 egypt
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    5 turks
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    3 rum
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    5 slave
    55 unit_models/bc_units/textures/ayyubid_tawashi_1.texture
    62 unit_models/bc_units/textures/ayyubid_tawashi_normal_1.texture
    38 unit_sprites/merc_Turkomans_sprite.spr
    7
    7 kwarezm
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    5 moors
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    5 milan
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    5 egypt
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    5 turks
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    3 rum
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    5 slave
    60 unit_models/bc_units/textures/ayyubid_shields_diff_1.texture
    60 unit_models/bc_units/textures/ayyubid_shields_norm_1.texture 0
    1
    5 Horse
    13 MTW2_HR_Lance
    12 MTW2_HR_Mace 2
    21 MTW2_HR_Lance_Primary
    14 fs_test_shield 2
    17 MTW2_Mace_Primary
    14 fs_test_shield
    16 -0.090000004 0 0 -0.34999999 0.80000001 0.60000002
    16 me_bodyguard_ug1
    1 1
    55 unit_models/_Units/ghazni/ghazni_heavy_lancer_lod0.mesh 12000
    7
    7 kwarezm
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/turks_ME_Bodyguard_sprite.spr
    5 moors
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/moors_ME_Bodyguard_sprite.spr
    5 milan
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/egypt_ME_Bodyguard_sprite.spr
    5 egypt
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/egypt_ME_Bodyguard_sprite.spr
    5 turks
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/turks_ME_Bodyguard_sprite.spr
    3 rum
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/turks_ME_Bodyguard_sprite.spr
    5 slave
    57 unit_models/_Units/ghazni/textures/ghazni_heavy_1.texture
    64 unit_models/_Units/ghazni/textures/ghazni_heavy_normal_1.texture
    42 unit_sprites/turks_ME_Bodyguard_sprite.spr
    7
    7 kwarezm
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    5 moors
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    5 milan
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    5 egypt
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    5 turks
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    3 rum
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.texture 0
    5 slave
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_diff_1.texture
    70 unit_models/_Units/ghazni/textures/ghazni_heavy_shields_norm_1.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



  4. #4
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Quote Originally Posted by kostic View Post
    In SSHIP, it seems to me that the entry "milan" corresponds to the Fatimids faction.
    Kostic, there's some reference material here in this respect.

  5. #5
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Oh ! Sorry ! Entry "milan" corresponds Abbasside faction.

  6. #6
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Most mods use original factions and change the display name - the easiest way to find out 'who's who in the zoo' then is by looking in the data\text\campaign_description.txt file, example from Stainless Steel: {IMPERIAL_CAMPAIGN_MILAN_TITLE}Republic of Genoa

    As to the silver surfers - there are three possibilities remaining, all involving missing texture entries in modeldb:
    1. Still another EDU entry may have the general_unit attribute together with ownership of pisa
    2. The characters in the battle have custom battle models via their descr_strat entry. That only applies for characters available from the start of the game and leaders\heirs where it can be changed via script.
    3. If recruitable generals are available in the game then their unit's modeldb entry misses their faction's texture entry.










  7. #7
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Thank you for your tracks, Gigantus. I will pass these on to Lifthrasir.

  8. #8
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    One is glad to be of service

    Tip\anecdote: the above issue is the reason why modders sort the EDU by putting body guards first, the EDU editor does so by default.
    Last edited by Gigantus; May 12, 2019 at 03:46 AM.










  9. #9
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    There is a descr_strat that does not have the Pisa faction. It can be found here: ... mods / SS6.3 / data / campaign / early / world / maps / campaign / imperial_campaign

    The other descr_strat file is here: ... mods / SS6.3 / data / world / maps / campaign / imperial_campaign
    and contains the Pisa faction.
    Does SSHIP use the 1st file ? And if so, would he not be responsible for the silver bodyguard ?

  10. #10
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Ah yes, the somewhat confusing (and notoriously pitfall heavy, modding wise) set up for the multiple choice launcher. In other words: the 'early' version is the stuff that gets copied into the default directory (2nd) when selected in the launcher. Only the second directory is used by game.

    You will come across a couple of custom directories that have the same purpose, most noticeably the data\campaign directory you mention here and the AIset directories. It's somewhat of a challenge for sub mods that edit files contained in these directories and may culminate in issues like you describe, especially if files are only edited in the default structure but get replaced by a launcher choice after installation of the sub mod.

    The absence of a faction in descr_strat is not related to your problem as the faction would not be in the game in the first place
    Last edited by Gigantus; May 13, 2019 at 10:31 PM.










  11. #11
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Thank you for these explanations. For now I have not found where the problem came from.
    I did not really look at the EDB for lack of knowledge but I wonder if the error could be there ?

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Well, the basic problem lies in the EDU\modelDB file combo - the modeldb file does not have faction entries correspondent to the ownership entry in the EDU file.

    Which means you will first have to figure out which unit is actually used. BGs are bit convoluted to find out, you will have to open a character's info page. If memory serves for enemies that can be done via right clicking (or simple double click?) on the portrait in the pre battle screen (very first pic).
    The info page should have a button at the bottom 'view body guard' which will then open the unit's info page. From there it is easy to trace the unit in the EDU - look up the display name in the data\text\export_units file and get the corresponding data name (in the curly brackets), that will then correspond to the unit entry in the EDU file. Now check the entry\entries in the armour_ug_models line (long story why not the soldier entry) and check those entries in the modeldb and add the missing texture lines.

    That's a bit error prone, but there are several tutorial that handle adding units and explain the principle of the numerical entries that go with it (line count, entry count).

    Seeing that the mount is silver as well you will then have to trace that entry from the EDU's mount entry to the descr_mount file and then from the model entry there to the modeldb entry.










  13. #13
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Hi Gigantus ! I went to see what the silver unit was like you suggested to me. Each of these generals have the same. Curiously, it's a just unit called "Bodyguard". Except there is no unit with this single name in export_unit, nor in EDU, nor in the battle_modelDB ...


  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Well if 'Bodyguard' is displayed then it will be in data\text\export_units.txt. To make the search more defined use this search word: }Bodyguard - note the curly bracket at the beginning. In the default export_units entry (looking at Bare Geomod files) you get this entry:
    {Dismounted_NE_Bodyguard}Bodyguard

    This then leads to the EDU entry, green is the line with the relevant modelDB file entries :
    Code:
    type             Dismounted NE Bodyguard
    dictionary       Dismounted_NE_Bodyguard      ; Bodyguard
    category         infantry
    class            heavy
    voice_type       Heavy
    banner faction   main_infantry
    banner holy      crusade
    soldier          Dismounted_NE_Late_Bodyguard, 16, 0, 1.2
    attributes       sea_faring, hide_forest, very_hardy, can_withdraw, general_unit, no_custom
    formation        1.2, 1.2, 2.4, 2.4, 3, square
    stat_health      2, 0
    stat_pri         16, 3, no, 0, 0, melee, melee_blade, piercing, sword, 25, 1
    ;stat_pri_ex      0, 0, 0
    stat_pri_attr    no
    stat_sec         0, 0, no, 0, 0, no, melee_simple, blunt, none, 25, 1
    ;stat_sec_ex      0, 0, 0
    stat_sec_attr    no
    stat_pri_armour  9, 9, 3, metal
    ;stat_armour_ex   9, 0, 0, 0, 9, 3, 3, metal
    stat_sec_armour  0, 0, flesh
    stat_heat        6
    stat_ground      1, -2, 3, 2
    stat_mental      11, disciplined, trained
    stat_charge_dist 30
    stat_fire_delay  0
    stat_food        60, 300
    stat_cost        1, 570, 55, 80, 60, 570, 4, 140
    armour_ug_levels 5
    armour_ug_models Dismounted_NE_Late_Bodyguard
    ownership        england, scotland, france, hre, denmark, poland, hungary
    ;unit_info        16, 0, 42










  15. #15
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    I find these :
    {ME_Bodyguard_descr_short} Men dedicated to protecting their master. Hand-picked for loyalty and valour.{ME_Bodyguard_descr} Quality: Exceptional.\n\nThese warriors are dedicated to protecting their liege wherever he goes. Hand-picked for loyalty and valour and benefiting from quality armour and weapons, these guards are elite heavy cavalry capable of devastating charges and dealing plenty of carnage in hand to hand, as well as taking on odds that would send lesser units running.
    {ME_Bodyguard} Bodyguard
    Attached Files Attached Files
    Last edited by kostic; May 17, 2019 at 06:38 PM.

  16. #16
    kostic's Avatar Domesticus
    Join Date
    Jan 2007
    Location
    Near Lyon in France
    Posts
    2,269

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    In the EDB, I find these 3 lines concerning SE_bodyguard. The third line does not include the Pisa faction (nor venice, nor the pope's states, nor Sicily for that matter) ... would the bug come from there?

    recruit_pool "SE Bodyguard" 0.75 0.06 1 0 requires factions { pisa, venice, papal_states, sicily, } and not event_counter GOTHIC_ARMOR 1 and event_counter is_the_player 1
    recruit_pool "SE Bodyguard" 0.75 0.07 1 0 requires factions { pisa, venice, papal_states, sicily, } and not event_counter GOTHIC_ARMOR 1 and event_counter is_the_player 1
    recruit_pool "SE Bodyguard" 0.25 0.07 1 0 requires factions { portugal, spain, aragon, } and not event_counter GOTHIC_ARMOR 1 and event_counter is_the_player 1

  17. #17
    Gigantus's Avatar I am not special - I am a limited edition.
    Patrician took an arrow to the knee spy of the council

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    53,125
    Blog Entries
    35

    Default Re: [SSHIP 0.9.5] Inappropriate models of bodyguards

    Not so fast seems the mods had the bad habit of prefixing a SPACE before the text, that's why you had problems finding the entry

    Your find of {ME_Bodyguard} Bodyguard is the orange\blue combo I mentioned (make sure there are no further entries like {xyz_Bodyguard} Bodyguard )

    Now do the next step and look for the EDU entry as I mentioned, identify the model entries (green line, can be multiple entries) and check in the modeldb file if those models have an entry for pisa

    edit: a search for Bodyguard using the 'match case' criteria in Notepad++ gets me 17 matches, example:
    {Dismounted_NE_Bodyguard} Bodyguard
    {ME_Bodyguard} Bodyguard

    I got some results like this (General prefix) which you can rule out:
    {NE_Bodyguard} General's Bodyguard

    As well as unlikely models:
    {Aztec_Bodyguard} Bodyguard

    Which means you will need to check several EDU entries, check first for pisa ownership and then follow up on the modeldb entry.

    This will include the SE_bodyguard EDU entry that you found through the recruiting entry in the EDB - in fact I would suggest you start with that one. It will solve the recruitable generals (technically the EDU entry does not require the general_unit attribute that is mandatory for default generals), the default general may require further search as described if it uses a different model.
    Last edited by Gigantus; May 17, 2019 at 10:35 PM.










Posting Permissions

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