("heraldic_armor_d", 0, "sample_heraldic_armor_d", 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, -0),
(position_set_y, pos1, 130),
(cur_tableau_add_mesh, ":banner_mesh", pos1, 113, 0),
# (cur_tableau_add_mesh, "mesh_banner_a01", pos1, 116, 0),
(init_position, pos1),
(position_set_z, pos1, 100),
(cur_tableau_add_mesh, "mesh_tableau_mesh_heraldic_armor_d", pos1, 0, 0),
(cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
]),
###HERE_ADDING_NEW##################################################
###NEW_HERALDIC
("heraldic_mail_long_surcoat_new", 0, "sample_mail_long_surcoat_heraldic_new", 1024, 1024, 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, 50),
(position_set_x, pos1, 53),
(position_set_y, pos1, 125),
(cur_tableau_add_mesh, ":banner_mesh", pos1, 103, 0),
(init_position, pos1),
(position_set_z, pos1, 100),
(cur_tableau_add_mesh, "mesh_tableau_mesh_mail_long_surcoat_new_heraldic", pos1, 0, 0),
(cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
]),
###
###
("brigandine_b_heraldic_new", 0, "sample_brigandine_b_heraldic", 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, -59),
#(position_set_y, pos1, 140),#130#165
(position_set_x, pos1, -59),
(position_set_y, pos1, 155),
(cur_tableau_add_mesh, ":banner_mesh", pos1, 113, 0),
# (cur_tableau_add_mesh, "mesh_banner_a01", pos1, 116, 0),
(init_position, pos1),
(position_set_z, pos1, 100),
(cur_tableau_add_mesh, "mesh_tableau_mesh_brigandine_b_heraldic", pos1, 0, 0),
(cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
]),
###
###
("heraldic_short_tunic_new", 0, "sample_heraldic_tunic_new", 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, 32),
(position_set_y, pos1, 157),
(cur_tableau_add_mesh, ":banner_mesh", pos1, 118, 0),
# (cur_tableau_add_mesh, "mesh_banner_a01", pos1, 116, 0),
(init_position, pos1),
(position_set_z, pos1, 100),
(cur_tableau_add_mesh, "mesh_tableau_mesh_heraldic_tunic_new", pos1, 0, 0),
(cur_tableau_set_camera_parameters, 0, 200, 200, 0, 100000),
]),
###NEW_HERALDIC_END
##########################################################
("troop_note_alpha_mask", 0, "mat_troop_portrait_mask", 1024, 1024, 0, 0, 400, 400,
[
(store_script_param, ":troop_no", 1),
(cur_tableau_set_background_color, 0x0088888
,
(cur_tableau_set_ambient_light, 10,11,15),
(cur_tableau_render_as_alpha_mask),
(call_script, "script_add_troop_to_cur_tableau", ":troop_no"),
]),
###