OSP Kit QoL Heraldic Fur Coat

Users who are viewing this thread

Forum thread for an old OSP, indexing a MBRepository file.

Heraldic Fur Coat. Original textures by Native & Silver Wolf.


Copy paste into module_items.py:
Code:
["heraldic_fur_coat", "Heraldic Fur Coat", [("fur_heraldic",0)], itp_type_body_armor|itp_covers_legs|itp_civilian, 0, 654, weight(12)|abundance(100)|head_armor(0)|body_armor(26)|leg_armor(9)|difficulty(0), imodbits_cloth,
[(ti_on_init_item, [(store_trigger_param_1, ":agent_no"),(store_trigger_param_2, ":troop_no"),(call_script, "script_shield_item_set_banner", "tableau_fur_coat", ":agent_no", ":troop_no")])]],

Copy paste into module_meshes.py:
Code:
("tableau_mesh_fur_coat", 0, "tableau_mesh_fur_coat", 0, 0, 0, 0, 0, 0, 1, 1, 1),

Copy paste into module_tableau_materials.py:
Code:
  ("fur_coat", 0, "sample_fur_coat", 512, 512, 0, 0, 0, 0,
   [
       (store_script_param, ":banner_mesh", 1),

       (set_fixed_point_multiplier, 100),
       (store_sub, ":background_slot", ":banner_mesh", arms_meshes_begin), #banner_meshes_begin),
       (troop_get_slot, ":background_color", "trp_banner_background_color_array", ":background_slot"),
       (cur_tableau_set_background_color, ":background_color"),

       (init_position, pos1),
       (cur_tableau_add_mesh_with_vertex_color, "mesh_heraldic_armor_bg", pos1, 200, 100, ":background_color"),
       (init_position, pos1),
       (position_set_z, pos1, 10),
       (position_set_x, pos1, -60),
       (position_set_y, pos1, 115),
       (cur_tableau_add_mesh, ":banner_mesh", pos1, 100, 0),
       (init_position, pos1),
       (position_set_z, pos1, 100),
     
       (cur_tableau_add_mesh, "mesh_tableau_mesh_fur_coat", pos1, 0, 0),
       (cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
       ]),
 
Last edited by a moderator:
Back
Top Bottom