OSP Other 3D Art Heraldic Horse (requires WSE)

Users who are viewing this thread

For anyone use custom banner, here is the  tableau code :
Code:
# WSE horses BEGIN
  ("wse_charger", 0, "sample_wse_charger", 512, 512, 0, 0, 0, 0,
   [
       (store_script_param, ":troop_no", 1),       
       (set_fixed_point_multiplier, 100),
       #(try_begin),
       #   (eq, "$debug_mode", 1),
       #   (call_script, "script_draw_banner_to_region", ":troop_no", "$debug1", "$debug2", "$debug3", "$debug4", "$debug5", "$debug6", "$debug7", "$debug8", "$debug9"), 
       #(else_try),   
       (call_script, "script_draw_banner_to_region", ":troop_no", -66, 50, 5000, 3000, 2500, 2500, 2500, 10000, 0),  
       #(try_end),
       (init_position, pos1),
       (position_set_z, pos1, 100),
       (cur_tableau_add_mesh, "mesh_tableau_mesh_wse_charger", pos1, 0, 0),
       (cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
       ]),	  

  ("wse_warhorse_chain", 0, "sample_wse_warhorse_chain", 1024, 1024, 0, 0, 0, 0,
   [
       (store_script_param, ":troop_no", 1),       
       (set_fixed_point_multiplier, 100),
       #(try_begin),
       #   (eq, "$debug_mode", 1),
       #   (call_script, "script_draw_banner_to_region", ":troop_no", "$debug1", "$debug2", "$debug3", "$debug4", "$debug5", "$debug6", "$debug7", "$debug8", "$debug9"), 
       #(else_try),   
       (call_script, "script_draw_banner_to_region", ":troop_no", -16, 60, 3700, 3700, 3000, 3000, 1900, 10000, 0),  
       #(try_end),
       (init_position, pos1),
       (position_set_z, pos1, 100),
       (cur_tableau_add_mesh, "mesh_tableau_mesh_wse_warhorse_chain", pos1, 0, 0),
       (cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
       ]),	  

  ("wse_warhorse_steppe", 0, "sample_wse_warhorse_steppe", 1024, 1024, 0, 0, 0, 0,
   [
       (store_script_param, ":troop_no", 1),       
       (set_fixed_point_multiplier, 100),
       #(try_begin),
       #   (eq, "$debug_mode", 1),
       #   (call_script, "script_draw_banner_to_region", ":troop_no", "$debug1", "$debug2", "$debug3", "$debug4", "$debug5", "$debug6", "$debug7", "$debug8", "$debug9"), 
       #(else_try),   
       (call_script, "script_draw_banner_to_region", ":troop_no", -10, 35, 2500, 2500, 1500, 1500, 2500, 10000, 0),  
       #(try_end),
       (init_position, pos1),
       (position_set_z, pos1, 100),
       (cur_tableau_add_mesh, "mesh_tableau_mesh_wse_warhorse_steppe", pos1, 0, 0),
       (cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
       ]),
       
  ("wse_warhorse_sarranid", 0, "sample_wse_warhorse_sarranid", 1024, 1024, 0, 0, 0, 0,
   [
       (store_script_param, ":troop_no", 1),       
       (set_fixed_point_multiplier, 100),
       #(try_begin),
       #   (eq, "$debug_mode", 1),
       #   (call_script, "script_draw_banner_to_region", ":troop_no", "$debug1", "$debug2", "$debug3", "$debug4", "$debug5", "$debug6", "$debug7", "$debug8", "$debug9"), 
       #(else_try),   
       (call_script, "script_draw_banner_to_region", ":troop_no", -16, 60, 3700, 3700, 3000, 3000, 1900, 10000, 0),  
       #(try_end),
       (init_position, pos1),
       (position_set_z, pos1, 100),
       (cur_tableau_add_mesh, "mesh_tableau_mesh_wse_warhorse_sarranid", pos1, 0, 0),
       (cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
       ]),       
 #WSE horses END

mb42-1.jpg
 
There's no WSE operations used in this package. It only uses WSE's special ti_on_init_item that works for horse too compared to native's one that does not. So If you want to use it with new version of WSE with all it's features you only need to include py files of WSE SDK into the mod sys.
 
Probably going to hate me for this, but do I need to replace all the py files in the module system with the ones included in the heraldic horses folder?
 
For some reason when I this to my mod horse merchants sell no horses nor they have any money. Horses are all in the game working as intented yet i dont know why horse merchants are bugged.  Any help? :sad:

Edit : It seems that the problem is with diplomacy, when i delete the codes for diplomacy in the "refresh_center_stables" script, everything works fine. Gotta figure out the cause of this.

Edit 2 : Separating the diplomacy codes from rest of the WSE codes in "refresh_center_stables" script by some (try_begin) did the trick. Problem solved.
 
Back
Top Bottom