LSP Presentation Slide
Экран презентации для вашего мода.
Пример:
Ссылка на файлы, которые нам понадобятся
# 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
P.S.: Напишите ваш запрос здесь, например:
("attila_intro_1", "....."),
("attila_intro_2", "....."),
("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),
]),
]
),
Родная страница
Комментариев 0
Посетители, находящиеся в группе Гости, не могут оставлять комментарии к данной публикации.