LSP Kit SP Presentation Slide

Users who are viewing this thread

this code creates a screen like a slide show after starting a new game in the main menu.





Download and install them (add the sound you want for module_sounds, I didn't.)




module_presentations

# attila intro
("azura_intro",prsntf_read_only,0,[
(ti_on_presentation_load,
[
(play_sound, "snd_attila_intro"),
(assign, "$g_presentation_obje_1", -1),
(assign, "$g_presentation_obje_2", -1),
(assign, "$g_presentation_obje_1_alpha", 0),
(assign, "$g_presentation_obje_2_alpha", 0),
(assign, "$g_presentation_credits_obj_9_alpha", 0),
(create_mesh_overlay, reg0, "mesh_main_menu_dust"),
(position_set_x, pos1, 0),
(position_set_y, pos1, 0),
(overlay_set_position, reg0, pos1),
(create_mesh_overlay, reg0, "mesh_main_menu_static"),
(position_set_x, pos1, 0),
(position_set_y, pos1, 0),
(overlay_set_position, reg0, pos1),
]),
(ti_on_presentation_run,
[
(store_trigger_param_1, ":cur_time"),
(set_fixed_point_multiplier, 1000),
(presentation_set_duration, 1000000),
(try_end),
(try_begin),
(lt, "$g_presentation_obje_1", 0),
(str_store_string, s1, "str_attila_intro_1"),
(create_text_overlay, "$g_presentation_obje_1", s1, tf_center_justify|tf_double_space|tf_vertical_align_center),
(overlay_set_color, "$g_presentation_obje_1", 0xFF0000),
(overlay_set_alpha, "$g_presentation_obje_1", 0),
(position_set_x, pos1, 1750),
(position_set_y, pos1, 1750),
(overlay_set_size, "$g_presentation_obje_1", pos1),
(position_set_x, pos1, 500),
(position_set_y, pos1, 375),
(overlay_set_position, "$g_presentation_obje_1", pos1),
(overlay_animate_to_alpha, "$g_presentation_obje_1", 2000, 0xFF),
(else_try),
(gt, ":cur_time", 150000),
(eq, "$g_presentation_credits_obj_9_alpha", 0),
(assign, "$g_presentation_credits_obj_9_alpha", 1),
(else_try),
(gt, ":cur_time", 150000),
(lt, "$g_presentation_obje_2", 0),
(str_store_string, s1, "str_attila_intro_2"),
(create_text_overlay, "$g_presentation_obje_2", s1, tf_center_justify|tf_double_space),
(overlay_set_color, "$g_presentation_obje_2", 0),
(overlay_set_alpha, "$g_presentation_obje_2", 0xFF),
(else_try),
(position_set_x, pos1, 1000),
(position_set_y, pos1, 1000),
(overlay_set_size, "$g_presentation_obje_2", pos1),
(position_set_x, pos1, 500),
(position_set_y, pos1, -4800),
(overlay_set_position, "$g_presentation_obje_2", pos1),
(position_set_x, pos1, 500),
(position_set_y, pos1, 760),
(overlay_animate_to_position, "$g_presentation_obje_2", 70000, pos1),
(else_try),
(gt, ":cur_time", 150000),
(eq, "$g_presentation_obje_1_alpha", 0),
(assign, "$g_presentation_obje_1_alpha", 1),
(overlay_animate_to_alpha, "$g_presentation_obje_1", 1500, 0x00),
(else_try),
(gt, ":cur_time", 150000),
(eq, "$g_presentation_obje_2_alpha", 0),
(assign, "$g_presentation_obje_2_alpha", 1),
(overlay_animate_to_alpha, "$g_presentation_credits_obj_12", 1500, 0x00),
(else_try),
(gt, ":cur_time", 150000),
(presentation_set_duration, 0),
]),
(ti_on_presentation_run,
[
# (store_trigger_param_1, ":cur_time"),
# (set_fixed_point_multiplier, 1000),
# (presentation_set_duration, 1000000),
(this_or_next|key_clicked, key_space),
(this_or_next|key_clicked, key_enter),
(this_or_next|key_clicked, key_escape),
(this_or_next|key_clicked, key_back_space),
(this_or_next|key_clicked, key_left_mouse_button),
(this_or_next|key_clicked, key_right_mouse_button),
(this_or_next|key_clicked, key_xbox_ltrigger),
(key_clicked, key_xbox_rtrigger),
(presentation_set_duration, 0),
(jump_to_menu, "mnu_start_game_1"),
(stop_all_sounds, 2),
]),
]),
# attila intro ends

module_strings (Write your request here.)

("attila_intro_1", "....."),
("attila_intro_2", "....."),

module_game_menus

("start_game_0", menu_text_color (0xFF000000) | mnf_disable_all_keys,
"Welcome, adventurer",
"none",
[(set_background_mesh, "mesh_pic_victory"),], #This part is where you can play the extra picture you selected or if you have stayed.
[


# ("continue", [], "continue...",
("startup_as_normal", [], "Start as Adventurer",
[(start_presentation, "prsnt_azura_intro"),
]
),

("go_back", [], "Go Back",
[
(Change_screen_quit),
]),
]
),

My Other Content


credit = Azura or Attila mode - mark7 (shaders)
 
Last edited:
Download button is not existent as far as I can see at the website which you link.

Does it require WSE to function? And do people need to use the Shaders of Mark7 for it to function?

And you can also thank Somebody and khamukkamu who helped you at the modding discord :wink:
 
Back
Top Bottom