--Dont forget to have a page, area and object visible and selected !!! for the initialisation of the control in each page/area -- COMMON BUTTONS TEXTURES: _file_texture_black_bt2="menu\\MenuTextures\\cp\\blackButton.dds" _file_texture_white_bt2="menu\\MenuTextures\\cp\\whiteButton_.dds" _cp_common_back2="Menu\\MenuTextures\\cp\\backButton_.dds" _cp_common_x2="Menu\\MenuTextures\\cp\\XButton.dds" _cp_common_y2="Menu\\MenuTextures\\cp\\YButton.dds" _cp_common_acc2="Menu\\MenuTextures\\cp\\acceptButton_.dds" _file_texture_black_bt="menu\\MenuTextures\\cp\\bt_s\\blackBulina.dds" _file_texture_white_bt="menu\\MenuTextures\\cp\\bt_s\\whiteBulina_.dds" _cp_common_back="Menu\\MenuTextures\\cp\\bt_s\\backBulina_.dds" _cp_common_x="Menu\\MenuTextures\\cp\\bt_s\\XBulina.dds" _cp_common_y="Menu\\MenuTextures\\cp\\bt_s\\YBulina.dds" _cp_common_acc="Menu\\MenuTextures\\cp\\bt_s\\acceptBulina_.dds" -- COMMON BUTTONS TEXT PARAMETERS : _dec_but_font_no=1 _fontscale_dec_buttons="0.65" _dec_but_dx= 128 _dec_but_dy= 64 _dec_bt_alpha=255 _dec_bt_r=255 _dec_bt_g=255 _dec_bt_b=255 -- BACK _back_bt_offset_x =42 _back_bt_offset_y =12 _back_bt_dx = 72 _back_bt_dy = 16 -- ACC _acc_bt_offset_x =42 _acc_bt_offset_y =12 _acc_bt_dx = 72 _acc_bt_dy = 16 -- BLACK _black_bt_offset_x =42 _black_bt_offset_y =12 _black_bt_dx = 72 _black_bt_dy = 16 -- WHITE _white_bt_offset_x =42 _white_bt_offset_y =12 _white_bt_dx = 72 _white_bt_dy = 16 -- X Button _x_bt_offset_x =42 _x_bt_offset_y =12 _x_bt_dx = 72 _x_bt_dy = 16 -- Y Button _y_bt_offset_x =42 _y_bt_offset_y =12 _y_bt_dx = 72 _y_bt_dy = 16 -- HINT TEXT & HELP (GENERAL MENUS): _font_no_hint=1 _font_scale_hint="0.65" _help_alpha_text_normal =255 _help_r_text_normal = 255 _help_g_text_normal = 255 _help_b_text_normal = 0 -- IN-GAME HINT TEXTS (EVIDENCES,LOCATIONS) _hint_text_font_no=4 _hint_text_align=5 _hint_text_fontscale="0.85" _hint_alpha_text_normal =255 _hint_r_text_normal = 255 _hint_g_text_normal = 247 _hint_b_text_normal = 20 -- SCROLL ARROWS TEXTURES : _file_texture_arrow_up="Menu\\MenuTextures\\CSI_common\\common_CP_scrollButton_susPress.dds" _file_texture_arrow_down="Menu\\MenuTextures\\CSI_common\\common_CP_scrollButton_josPress.dds" function main() SetMenuResolution( 640,480 ); SetScreenResolution( 640, 480 ); AddPage( 'location_page' ); AddPage( 'License' ); AddPage( 'CaseFile' ); AddPage( 'evidences' ); AddPage( "meniuBar"); AddPage( "gameover"); AddPage( "computer_lab" ); AddPage( "splinks_pag" ); AddPage( "microscop_lab" ); AddPage( 'tools_info_page' ); AddPage( 'evidences_info_page' ); AddPage( "statistic" ); AddPage( "crd_pag" ); AddPage( "quiz_page" ); AddPage( 'Start' ); AddPage( "help_page" ); end