-- Suspects cu control MultilineStatic _bgrd_mask_up="menu\\menutextures\\cf\\sv\\masca_Sus.tga" _bgrd_mask_down="menu\\menutextures\\cf\\sv\\masca_Jos.tga" _cp_common_bgrd07="Menu\\MenuTextures\\cp\\common_CP_bgrd03.dds" _cp_common_bgrd08="Menu\\MenuTextures\\cp\\common_CP_bgrd04.dds" function Suspects() SetMaterial( 'Suspects', 0 , _sz_file_cf_bgrd1 , 255,255,255,255 ); SetMaterial( 'Suspects', 1 , _sz_file_cf_bgrd1 , 255,255,255,255 ); SetPos( 'Suspects',0 , offset_x, offset_y ); SetDim( 'Suspects',0 , 512 , 128 ); SetPos( 'Suspects',1 , offset_x, offset_y ); SetDim( 'Suspects',1 , 512 , 128 ); -- background objetcts : AddStaticObject( "Suspects" , "cf_bgrd2sus" ); AddStaticObject( "Suspects" , "cf_bgrd3sus" ); AddStaticObject( "Suspects" , "cf_bgrd4sus" ); AddStaticObject( "Suspects" , "cf_bgrd5sus" ); AddStaticObject( "Suspects" , "cf_bgrd6sus" ); AddStaticObject( "Suspects" ,"sus_common_bgrd07"); AddStaticObject( "Suspects" ,"sus_common_bgrd08"); AddPushButton('Suspects', "Dosar1Sus"); AddPushButton('Suspects', "Dosar2Sus"); AddPushButton('Suspects', "Dosar3Sus"); AddPushButton('Suspects', "Dosar4Sus"); AddPushButton('Suspects', "Dosar5Sus"); -- texts colors: SetPBChTextColor( "Suspects" , 255, 255 , 255 , 200 ); SetPBChTextColor( "Suspects" , 255, 255 , 255 , 0 , 1 ); SetPBChTextColor( "Suspects" , 255, 255 , 255 , 0 , 2 ); -- texts attributes: SetPBChTextAttr( "Suspects" , 1 , 5 , "0.8" ); SetPBChTextAttr( "Suspects" , 1 , 5 , "0.8" , 1 ); SetPBChTextAttr( "Suspects" , 1 , 5 , "0.8" , 2 ); -- text relative position: SetPBChTextPos( "Suspects" , 0 , 0 , dosar_dx , dosar_dy ); AddStaticObject('Suspects', "PozaSus"); AddStaticObject('Suspects', "sg_s_st_1"); AddStaticObject('Suspects', "sg_s_st_2"); AddStaticObject('Suspects', "sg_s_st_3"); AddStaticObject('Suspects', "sg_s_st_4"); AddStaticObject('Suspects', "sg_s_st_5"); AddStaticObject('Suspects', "sg_s_dr_1"); AddStaticObject('Suspects', "sg_s_dr_2"); AddStaticObject('Suspects', "sg_s_dr_3"); AddStaticObject('Suspects', "sg_s_dr_4"); AddStaticObject('Suspects', "sg_s_dr_5"); AddStaticObject('Suspects', "sg_s_jos_1"); AddStaticObject('Suspects', "sg_s_jos_2"); AddStaticObject('Suspects', "sg_s_jos_3"); AddStaticObject('Suspects', "sg_s_jos_4"); AddStaticObject('Suspects', "sg_s_jos_5"); AddMultilineStatic( "Suspects", "suspect_info" ); AddStaticObject('Suspects', "susp_mask_up"); AddStaticObject('Suspects', "susp_mask_down"); -- up & down flag buttons : AddStaticObject( "Suspects", "Suspects_info_area_upscroll"); AddStaticObject( "Suspects", "Suspects_info_area_downscroll"); SetFlagButton( "Suspects", 2 , "Suspects_info_area_upscroll"); SetFlagButton( "Suspects", 3 , "Suspects_info_area_downscroll"); -- general static objects : AddStaticObject('Suspects', "Titlu_susp"); AddStaticObject('Suspects', "Victimsb_susp"); AddStaticObject('Suspects', "Suspectsb_susp"); AddStaticObject('Suspects', "Reconstructionsb_susp"); AddStaticObject('Suspects', "textcrs_susp"); AddStaticObject('Suspects', "textsusp_susp"); AddStaticObject('Suspects', "textvict_susp"); AddStaticObject('Suspects', "backButton_susp"); AddStaticObject('Suspects', "susp_x"); AddStaticObject('Suspects', "susp_y"); AreaAddHelpLine( "Suspects" , "CS_About_Trinity" ); SetState( 'Suspects', 0 ); GUISetVisible( 'Suspects', 0 ); end function susp_mask_up() SetMaterial( 'susp_mask_up', 0, _bgrd_mask_up, 255, 255, 255, 255 ); SetPos( 'susp_mask_up', 0, 210 , 127 ); SetDim( 'susp_mask_up', 0, 512 ,32 ); end function susp_mask_down() SetMaterial( 'susp_mask_down', 0, _bgrd_mask_down, 255, 255, 255, 255 ); SetPos( 'susp_mask_down', 0, 210 , 343 ); SetDim( 'susp_mask_down', 0, 512 ,32 ); end function cf_bgrd2sus() SetMaterial( 'cf_bgrd2sus', 0, _sz_file_cf_bgrd2 , 255,255,255,255 ); SetPos( 'cf_bgrd2sus', 0, 555 , 34 ); SetDim( 'cf_bgrd2sus', 0, 64 , 128 ); end function cf_bgrd3sus() SetMaterial( 'cf_bgrd3sus', 0, _sz_file_cf_bgrd3 , 255,255,255,255 ); SetPos( 'cf_bgrd3sus', 0, 43 , 108 ); SetDim( 'cf_bgrd3sus', 0, 512 , 256 ); end function cf_bgrd4sus() SetMaterial( 'cf_bgrd4sus', 0, _sz_file_cf_bgrd4 , 255,255,255,255 ); SetPos( 'cf_bgrd4sus', 0, 555 , 108 ); SetDim( 'cf_bgrd4sus', 0, 64 , 256 ); end function cf_bgrd5sus() SetMaterial( 'cf_bgrd5sus', 0, _sz_file_cf_bgrd5 , 255,255,255,255 ); SetPos( 'cf_bgrd5sus', 0, 43 , 358 ); SetDim( 'cf_bgrd5sus', 0, 512 , 64); end function cf_bgrd6sus() SetMaterial( 'cf_bgrd6sus', 0, _sz_file_cf_bgrd6 , 255,255,255,255 ); SetPos( 'cf_bgrd6sus', 0, 555 , 358 ); SetDim( 'cf_bgrd6sus', 0, 64 , 64 ); end function sus_common_bgrd07() SetMaterial( "sus_common_bgrd07" , 0 , _cp_common_bgrd07 , 255 , 255 , 255 , 255 ); SetPos( "sus_common_bgrd07" , 0 , 45 , 397 ); SetDim( "sus_common_bgrd07" , 0 , 512 , 64 ); end function sus_common_bgrd08() SetMaterial( "sus_common_bgrd08" , 0 , _cp_common_bgrd08 , 255 , 255 , 255 , 255 ); SetPos( "sus_common_bgrd08" , 0 , 557 , 397 ); SetDim( "sus_common_bgrd08" , 0 , 64 , 64 ); end function textcrs_susp() SetMaterial( "textcrs_susp" , 0 , "" , 0 , 255 , 255 , 255 ); SetPos( "textcrs_susp" , 0 , 69 , 245 ); SetDim( "textcrs_susp" , 0 , 125 , 12 ); SetTxt( "textcrs_susp" , _dec_but_font_no, 5 , "CF_CrimeScene" ); SetFontScale('textcrs_susp' , _fontscale_dec_buttons); SetTextColor( "textcrs_susp", 255 , 200 , 200 , 200 ); end function textsusp_susp() SetMaterial( "textsusp_susp" , 0 , "" , 0 , 255 , 255 , 255 ); SetPos( "textsusp_susp" , 0 , 57 , 375 ); SetDim( "textsusp_susp" , 0 , 93 , 12 ); SetTxt( "textsusp_susp" , _dec_but_font_no, 4 , "CF_Suspect" ); SetFontScale('textsusp_susp' , _fontscale_dec_buttons); SetTextColor( "textsusp_susp", 255 , 200 , 200 , 200 ); end function textvict_susp() SetMaterial( "textvict_susp" , 0 , "" , 0 , 255 , 255 , 255 ); SetPos( "textvict_susp" , 0 , 147 , 375 ); SetDim( "textvict_susp" , 0 , 71 , 12 ); SetTxt( "textvict_susp" , _dec_but_font_no, 5 , "CF_Victim" ); SetFontScale('textvict_susp' , _fontscale_dec_buttons); SetTextColor( "textvict_susp", 255 , 200 , 200 , 200 ); end function suspect_info() SetMaterial( 'suspect_info', 0, "", 0 ,200,115,205 );-- ND SetMaterial( 'suspect_info', 1, "", 0 ,225,3,20 ); SetPos( 'suspect_info', 0, victim_infoxpos , victim_infoypos); SetDim( 'suspect_info', 0, victim_infodx , victim_infody); SetPos( 'suspect_info', 1, victim_infoxpos , victim_infoypos); SetDim( 'suspect_info', 1, victim_infodx , victim_infody); SetFontScale( 'suspect_info', "0.8" ); SetTextColor( 'suspect_info', 255 , 255, 207 , 7 ); SetState( 'suspect_info', 1); SetTxt( 'suspect_info', 4 , 0 , "NULL" ); end function Suspects_info_area_upscroll() SetMaterial( 'Suspects_info_area_upscroll', 0, _file_texture_arrow_up, 255,255,255,255 ); SetMaterial( 'Suspects_info_area_upscroll', 1, _file_texture_arrow_up, 255,255,255,255 ); SetPos( 'Suspects_info_area_upscroll', 0, 555, 140 ); SetDim( 'Suspects_info_area_upscroll', 0, 32, 16 ); SetPos( 'Suspects_info_area_upscroll', 1, 555, 140 ); SetDim( 'Suspects_info_area_upscroll', 1, 32, 16 ); end function Suspects_info_area_downscroll() SetMaterial( 'Suspects_info_area_downscroll', 0, _file_texture_arrow_down , 255,255,255,255 ); SetMaterial( 'Suspects_info_area_downscroll', 1, _file_texture_arrow_down , 255,255,255,255 ) SetPos( 'Suspects_info_area_downscroll', 0, 555, 352); SetDim( 'Suspects_info_area_downscroll', 0, 32, 16 ); SetPos( 'Suspects_info_area_downscroll', 1, 555, 352); SetDim( 'Suspects_info_area_downscroll', 1, 32, 16 ); end function PozaSus() SetMaterial( 'PozaSus', 0, "", 255,255,255,255 );-- ND SetMaterial( 'PozaSus', 1, "", 255,255,255,255 ); SetPos( 'PozaSus', 0, 70, 146 ); SetDim( 'PozaSus', 0, 128, 128 ); GUISetVisible( "PozaSus", 0 ); end function HintSus() SetMaterial( 'HintSus', 0, "", 255,255,205,7 );-- ND SetMaterial( 'HintSus', 1, "", 255,255,205,7 ); SetPos( 'HintSus', 0, 355, 43); SetDim( 'HintSus', 0, 43, 8); SetTxt( 'HintSus', 0, 5, "NULL" ) end function helpButtonSus() SetMaterial( 'helpButtonSus', 0, "Menu\\MenuTextures\\CaseFile\\SUSPECTS\\buttHelp_UP.dds", 255, 255,255,255 );--NSPD SetMaterial( 'helpButtonSus', 1, "Menu\\MenuTextures\\CaseFile\\SUSPECTS\\buttHelp_PRESS.dds", 255, 255,255,255 ); SetPos( 'helpButtonSus', 0 , 106, 318 ); SetDim( 'helpButtonSus', 0 , 64, 64); SetPos( 'helpButtonSus', 1 , 106, 318 ); SetDim( 'helpButtonSus', 1 , 64, 64); SetTxt( 'helpButtonSus', 0, 5, "NULL" ) SetSel( 'helpButtonSus', "HelpCaseFile"); SetState( 'helpButtonSus', 1); end function Dosar1Sus() SetMaterial( 'Dosar1Sus', 0, "", 0, 255,205,7 ); SetMaterial( 'Dosar1Sus', 1, "", 255 , 37, 176, 185); SetMaterial( 'Dosar1Sus', 2, "", 255 , 37, 176, 185); SetPos( 'Dosar1Sus', 0 , dosar1_x, dosar_y ); SetDim( 'Dosar1Sus', 0 , dosar1_dx, dosar_dy ); SetPos( 'Dosar1Sus', 1 , dosar1_x, dosar_y ); SetDim( 'Dosar1Sus', 1 , dosar1_dx, dosar_dy ); SetPos( 'Dosar1Sus', 2 , dosar1_x, dosar_y ); SetDim( 'Dosar1Sus', 2 , dosar1_dx, dosar_dy ); SetTxt( 'Dosar1Sus', 0, 0, "NULL" ) SetSel( 'Dosar1Sus', "ChangeDosar1Sus"); SetState( 'Dosar1Sus', 1); SetNSEW( 'Dosar1Sus', 'NULL', 'NULL', 'Dosar2Sus', 'Dosar5Sus' ); SetSndSelect( 'Dosar1Sus' , 'Highlight'); SetSndPush( 'Dosar1Sus', 'accept'); end function Dosar2Sus() SetMaterial( 'Dosar2Sus', 0, "", 0, 255,205,7 );--NSPD SetMaterial( 'Dosar2Sus', 1, "", 255 , 37, 176, 185); SetMaterial( 'Dosar2Sus', 2, "", 255 , 37, 176, 185); SetPos( 'Dosar2Sus', 0 , dosar2_x, dosar_y ); SetDim( 'Dosar2Sus', 0 , dosar_dx, dosar_dy ); SetPos( 'Dosar2Sus', 1 , dosar2_x, dosar_y ); SetDim( 'Dosar2Sus', 1 , dosar_dx, dosar_dy ); SetPos( 'Dosar2Sus', 2 , dosar2_x, dosar_y ); SetDim( 'Dosar2Sus', 2 , dosar_dx, dosar_dy ); SetTxt( 'Dosar2Sus', 0, 0, "NULL" ) SetSel( 'Dosar2Sus', "ChangeDosar2Sus"); SetState( 'Dosar2Sus', 0); SetNSEW( 'Dosar2Sus', 'NULL', 'NULL', 'Dosar3Sus', 'Dosar1Sus' ); SetSndSelect( 'Dosar2Sus' , 'Highlight'); SetSndPush( 'Dosar2Sus', 'accept'); end function Dosar3Sus() SetMaterial( 'Dosar3Sus', 0, "", 0, 255,205,7 );--NSPD SetMaterial( 'Dosar3Sus', 1, "", 255 , 37, 176, 185); SetMaterial( 'Dosar3Sus', 2, "", 255 , 37, 176, 185); SetPos( 'Dosar3Sus', 0 , dosar3_x , dosar_y ); SetDim( 'Dosar3Sus', 0 , dosar_dx, dosar_dy ); SetPos( 'Dosar3Sus', 1 , dosar3_x , dosar_y ); SetDim( 'Dosar3Sus', 1 , dosar_dx, dosar_dy ); SetPos( 'Dosar3Sus', 2 , dosar3_x , dosar_y ); SetDim( 'Dosar3Sus', 2 , dosar_dx, dosar_dy ); SetTxt( 'Dosar3Sus', 0, 0, "NULL" ) SetSel( 'Dosar3Sus', "ChangeDosar3Sus"); SetState( 'Dosar3Sus', 0); SetNSEW( 'Dosar3Sus', 'NULL', 'NULL', 'Dosar4Sus', 'Dosar2Sus' ); SetSndSelect( 'Dosar3Sus' , 'Highlight'); SetSndPush( 'Dosar3Sus', 'accept'); end function Dosar4Sus() SetMaterial( 'Dosar4Sus', 0, "", 0 , 255,205,7 );--NSPD SetMaterial( 'Dosar4Sus', 1, "", 255 , 37, 176, 185); SetMaterial( 'Dosar4Sus', 2, "", 255 , 37, 176, 185); SetPos( 'Dosar4Sus', 0 , dosar4_x, dosar_y ); SetDim( 'Dosar4Sus', 0 , dosar_dx, dosar_dy ); SetPos( 'Dosar4Sus', 1 , dosar4_x , dosar_y ); SetDim( 'Dosar4Sus', 1 , dosar_dx, dosar_dy ); SetPos( 'Dosar4Sus', 2 , dosar4_x , dosar_y ); SetDim( 'Dosar4Sus', 2 , dosar_dx, dosar_dy ); SetTxt( 'Dosar4Sus', 0, 0, "NULL" ) SetSel( 'Dosar4Sus', "ChangeDosar4Sus"); SetState( 'Dosar4Sus', 0); SetNSEW( 'Dosar4Sus', 'NULL', 'NULL', 'Dosar5Sus', 'Dosar3Sus' ); SetSndSelect( 'Dosar4Sus' , 'Highlight'); SetSndPush( 'Dosar4Sus', 'accept'); end function Dosar5Sus() SetMaterial( 'Dosar5Sus', 0, "", 0, 255,205,7 );--NSPD SetMaterial( 'Dosar5Sus', 1, "", 255 , 37, 176, 185); SetMaterial( 'Dosar5Sus', 2, "", 255 , 37, 176, 185); SetPos( 'Dosar5Sus', 0 , dosar5_x , dosar_y ); SetDim( 'Dosar5Sus', 0 , dosar_dx, dosar_dy ); SetPos( 'Dosar5Sus', 1 , dosar5_x , dosar_y ); SetDim( 'Dosar5Sus', 1 , dosar_dx, dosar_dy ); SetPos( 'Dosar5Sus', 2 , dosar5_x , dosar_y ); SetDim( 'Dosar5Sus', 2 , dosar_dx, dosar_dy ); SetTxt( 'Dosar5Sus', 0, 0, "NULL" ) SetSel( 'Dosar5Sus', "ChangeDosar5Sus"); SetState( 'Dosar5Sus', 0); SetNSEW( 'Dosar5Sus', 'NULL', 'NULL', 'Dosar1Sus', 'Dosar4Sus' ); SetSndSelect( 'Dosar5Sus' , 'Highlight'); SetSndPush( 'Dosar5Sus', 'accept'); end -- DREAPTA function sg_s_dr_1() SetMaterial( 'sg_s_dr_1', 0, _file_texture_sg_dr_1 , 255,255,255,255 ); SetPos( 'sg_s_dr_1', 0, 127 , 269 ); SetDim( 'sg_s_dr_1', 0, 128 , 128 ); GUISetVisible('sg_s_dr_1', 0); end function sg_s_dr_2() SetMaterial( 'sg_s_dr_2', 0, _file_texture_sg_dr_2 , 255,255,255,255 ); SetPos( 'sg_s_dr_2', 0, 127 , 269 ); SetDim( 'sg_s_dr_2', 0, 128 , 128 ); GUISetVisible('sg_s_dr_2', 0); end function sg_s_dr_3() SetMaterial( 'sg_s_dr_3', 0, _file_texture_sg_dr_3 , 255,255,255,255 ); SetPos( 'sg_s_dr_3', 0, 127 , 269 ); SetDim( 'sg_s_dr_3', 0, 128 , 128 ); GUISetVisible('sg_s_dr_3', 1 ); end function sg_s_dr_4() SetMaterial( 'sg_s_dr_4', 0, _file_texture_sg_dr_4 , 255,255,255,255 ); SetPos( 'sg_s_dr_4', 0, 127 , 269 ); SetDim( 'sg_s_dr_4', 0, 128 , 128 ); GUISetVisible('sg_s_dr_4', 0); end function sg_s_dr_5() SetMaterial( 'sg_s_dr_5', 0, _file_texture_sg_dr_5 , 255,255,255,255 ); SetPos( 'sg_s_dr_5', 0, 127 , 269 ); SetDim( 'sg_s_dr_5', 0, 128 , 128 ); GUISetVisible('sg_s_dr_5', 0); end -- STINGA function sg_s_st_1() SetMaterial( 'sg_s_st_1', 0, _file_texture_sg_st_1 , 255,255,255,255 ); SetPos( 'sg_s_st_1', 0, 72 , 269 ); SetDim( 'sg_s_st_1', 0, 128 , 128 ); GUISetVisible('sg_s_st_1', 0); end function sg_s_st_2() SetMaterial( 'sg_s_st_2', 0, _file_texture_sg_st_2 , 255,255,255,255 ); SetPos( 'sg_s_st_2', 0, 72 , 269 ); SetDim( 'sg_s_st_2', 0, 128 , 128 ); GUISetVisible('sg_s_st_2', 1); end function sg_s_st_3() SetMaterial( 'sg_s_st_3', 0, _file_texture_sg_st_3 , 255,255,255,255 ); SetPos( 'sg_s_st_3', 0, 72 , 269 ); SetDim( 'sg_s_st_3', 0, 128 , 128 ); GUISetVisible('sg_s_st_3', 0); end function sg_s_st_4() SetMaterial( 'sg_s_st_4', 0, _file_texture_sg_st_4 , 255,255,255,255 ); SetPos( 'sg_s_st_4', 0, 72 , 269 ); SetDim( 'sg_s_st_4', 0, 128 , 128 ); GUISetVisible('sg_s_st_4', 0); end function sg_s_st_5() SetMaterial( 'sg_s_st_5', 0, _file_texture_sg_st_5 , 255,255,255,255 ); SetPos( 'sg_s_st_5', 0, 72 , 269 ); SetDim( 'sg_s_st_5', 0, 128 , 128 ); GUISetVisible('sg_s_st_5', 0); end -- JOS function sg_s_jos_1() SetMaterial( 'sg_s_jos_1', 0, _file_texture_sg_jos_1 , 255,255,255,255 ); SetPos( 'sg_s_jos_1', 0, 82 , 340 ); SetDim( 'sg_s_jos_1', 0, 128 , 128 ); GUISetVisible('sg_s_jos_1', 0); end function sg_s_jos_2() SetMaterial( 'sg_s_jos_2', 0, _file_texture_sg_jos_2 , 255,255,255,255 ); SetPos( 'sg_s_jos_2', 0, 82 , 340 ); SetDim( 'sg_s_jos_2', 0, 128 , 128 ); GUISetVisible('sg_s_jos_2', 0); end function sg_s_jos_3() SetMaterial( 'sg_s_jos_3', 0, _file_texture_sg_jos_3 , 255,255,255,255 ); SetPos( 'sg_s_jos_3', 0, 82 , 340 ); SetDim( 'sg_s_jos_3', 0, 128 , 128 ); GUISetVisible('sg_s_jos_3', 0); end function sg_s_jos_4() SetMaterial( 'sg_s_jos_4', 0, _file_texture_sg_jos_4 , 255,255,255,255 ); SetPos( 'sg_s_jos_4', 0, 82 , 340 ); SetDim( 'sg_s_jos_4', 0, 128 , 128 ); GUISetVisible('sg_s_jos_4', 0); end function sg_s_jos_5() SetMaterial( 'sg_s_jos_5', 0, _file_texture_sg_jos_5 , 255,255,255,255 ); SetPos( 'sg_s_jos_5', 0, 82 , 340 ); SetDim( 'sg_s_jos_5', 0, 128 , 128 ); GUISetVisible('sg_s_jos_5', 1); end -- butoane generale - > static object function Titlu_susp() SetMaterial( 'Titlu_susp', 0, "", 0,225,160,203 );-- ND SetMaterial( 'Titlu_susp', 1, "", 0,225,160,203 ); SetTxt( 'Titlu_susp', _cf_title_font_no , _cf_title_font_align , "CF_Title" ); SetFontScale('Titlu_susp', _cf_title_font_scale ); SetPos( 'Titlu_susp', 0, _cf_title_x , _cf_title_y ); SetDim( 'Titlu_susp', 0, _cf_title_dx , _cf_title_dy ); SetPos( 'Titlu_susp', 1, _cf_title_x , _cf_title_y ); SetDim( 'Titlu_susp', 1, _cf_title_dx , _cf_title_dy ); SetTextColor( "Titlu_susp", _cf_title_text_a, _cf_title_text_r ,_cf_title_text_g , _cf_title_text_b ); end function backButton_susp() SetMaterial( "backButton_susp" , 0 , _cp_common_back , 255 , 255 , 255 , 255 ); SetPos( "backButton_susp" , 0 , 68, 392 ); SetDim( "backButton_susp" , 0 , _dec_but_dx , _dec_but_dy ); SetTxt( "backButton_susp" , _dec_but_font_no, 5 , "back" ); SetFontScale('backButton_susp' , _fontscale_dec_buttons); SetTextColor( "backButton_susp", _cf_title_text_a, _cf_title_text_r ,_cf_title_text_g , _cf_title_text_b ); SetTextPosition( 'backButton_susp', _back_bt_offset_x ,_back_bt_offset_y , _back_bt_dx, _back_bt_dy ); end function Victimsb_susp() SetMaterial( 'Victimsb_susp', 0, _file_texture_submenu_title_normal, 255 ,255,255,255 );--NSPD SetMaterial( 'Victimsb_susp', 1, "", 0 ,255,255,255 ); SetPos( 'Victimsb_susp', 0 , genbut_posx3, genbut_posy ); SetDim( 'Victimsb_susp', 0 , vsr_W, vsr_H ); SetPos( 'Victimsb_susp', 1 , genbut_posx3, genbut_posy ); SetDim( 'Victimsb_susp', 1 , vsr_W, vsr_H ); SetTxt( 'Victimsb_susp', _cf_submenu_font_no , _cf_submenu_font_align, "CF_ButtonName_Victims" ) SetTextPosition('Victimsb_susp', _cf_submenu_text_offset_x,_cf_submenu_text_offset_y,_cf_submenu_text_dx,_cf_submenu_text_dy); SetTextColor( 'Victimsb_susp', _cf_submenu_text_normal_a,_cf_submenu_text_normal_r,_cf_submenu_text_normal_g,_cf_submenu_text_normal_b); SetFontScale ( 'Victimsb_susp', _cf_submenu_text_scale ); GUISetVisible( 'Victimsb_susp', 1 ); end function Suspectsb_susp() SetMaterial( 'Suspectsb_susp', 0, _file_texture_submenu_title_sel , 255 ,255,255,255 );--NSPD SetMaterial( 'Suspectsb_susp', 1, "", 220 ,255,255,255 ); SetPos( 'Suspectsb_susp', 0 , genbut_posx1, genbut_posy ); SetDim( 'Suspectsb_susp', 0 , vsr_W, vsr_H ); SetPos( 'Suspectsb_susp', 1 , genbut_posx1, genbut_posy ); SetDim( 'Suspectsb_susp', 1 , vsr_W, vsr_H ); SetTxt( 'Suspectsb_susp', _cf_submenu_font_no , _cf_submenu_font_align, "CF_ButtonName_Suspects" ) SetTextPosition('Suspectsb_susp', _cf_submenu_text_offset_x,_cf_submenu_text_offset_y,_cf_submenu_text_dx,_cf_submenu_text_dy); SetTextColor( 'Suspectsb_susp', _cf_submenu_text_sel_a,_cf_submenu_text_sel_r,_cf_submenu_text_sel_g,_cf_submenu_text_sel_b); SetFontScale ( 'Suspectsb_susp', _cf_submenu_text_scale ); GUISetVisible( 'Suspectsb_susp', 1 ); end function Reconstructionsb_susp() SetMaterial( 'Reconstructionsb_susp', 0, _file_texture_submenu_title_normal, 255 ,255,255,255 );--NSPD SetMaterial( 'Reconstructionsb_susp', 1, "", 0 ,255,255,255 ); SetPos( 'Reconstructionsb_susp', 0 , genbut_posx2, genbut_posy ); SetDim( 'Reconstructionsb_susp', 0 , vsr_W, vsr_H ); SetPos( 'Reconstructionsb_susp', 1 , genbut_posx2, genbut_posy ); SetDim( 'Reconstructionsb_susp', 1 , vsr_W, vsr_H ); SetTxt( 'Reconstructionsb_susp', _cf_submenu_font_no , _cf_submenu_font_align, "CF_ButtonName_Reconstructions" ) SetTextPosition('Reconstructionsb_susp', _cf_submenu_text_offset_x,_cf_submenu_text_offset_y,_cf_submenu_text_dx,_cf_submenu_text_dy); SetTextColor( 'Reconstructionsb_susp', _cf_submenu_text_normal_a,_cf_submenu_text_normal_r,_cf_submenu_text_normal_g,_cf_submenu_text_normal_b); SetFontScale ( 'Reconstructionsb_susp', _cf_submenu_text_scale ); GUISetVisible( 'Reconstructionsb_susp', 1 ); end function susp_y() SetMaterial( "susp_y" , 0 , _cp_common_y , 255 , 255 , 255 , 255 ); SetPos( "susp_y" , 0 , 207 , 392 ); SetDim( "susp_y" , 0 , _dec_but_dx , _dec_but_dy ); SetTxt( "susp_y" , _dec_but_font_no, 4 , "Lab_Help" ); SetFontScale('susp_y' , _fontscale_dec_buttons); SetTextColor( "susp_y", _dec_bt_alpha , _dec_bt_r, _dec_bt_g, _dec_bt_b ); SetTextPosition( 'susp_y', _y_bt_offset_x ,_y_bt_offset_y , _y_bt_dx, _y_bt_dy ); end function susp_x() SetMaterial( "susp_x" , 0 , _cp_common_x , 255 , 255 , 255 , 255 ); SetPos( "susp_x" , 0 , 514 , 392 ); SetDim( "susp_x" , 0 , _dec_but_dx , _dec_but_dy ); SetTxt( "susp_x" , _dec_but_font_no, 6 , "CF_ButtonName_Reconstructions" ); SetFontScale('susp_x' , _fontscale_dec_buttons); SetTextColor( "susp_x", _cf_title_text_a, _cf_title_text_r ,_cf_title_text_g , _cf_title_text_b ); SetTextPosition( 'susp_x', -250 ,_x_bt_offset_y , 250 , _x_bt_dy ); end