Hello Folks,
It`s me again with another of my crazy and long scripts!
The most incredible things is that it really works
As i said, i am creating my own game system in FPSC. My idea is that whenever the player finishes a level, it will popup a menu containing the statistic (like number of kills, headshots, total shots, accuracy, time to complete mission, and such), and in this menu will have a button to continue to next level.
So my game will not progress through traditional winzones, but with this statistics menu system.
This crazy idea will give endless possibilities to create a really challenge for the player.
In example, my game will have 3 levels of difficulty, each level of difficulty has it`s mission objectives, each level of difficulty will have a different ending video, more enemies, and such.
And using this system of Mission Statistics, i can create a kind of Challenging Points System for cheats on the game.
In example, for the first level, the challenge for the player is finish this level in 1'30" (1 minute and 30 seconds) on the level hard. And if the player completes this challenge, for the next level he will be prized with a secret weapon (that will spawn if the variable that holds the first chalenge is set as 1 - complete).
And the 2nd level, in example, the chalenge is to kill all the enemies with a headshot. So if he completes this challenge, next level he will have a super health.
And so on, as you see, the possibilities are endless, and i am very, very and very happy with this idea i had (this is similar to the cheat system on Perfect Dark and Goldeneye 007 for N64).
I have hope to create on of the best games made on FPSC
)
And again, here comes the code for the setuplevel.fpi. It`s not completed for all the levels, i just created a template, because for my final game i will have to mod the source to accept more lines per script.
desc = Setup Wizard V117
;Setup Level Stats
:state=0:sky=skybank\ww2\Gas
:state=0:music=audiobank\music\generic\main.wav,musicvolume=50,soundscale=25
:state=0:fog=0,fogred=0,foggreen=0,fogblue=0
:state=0:ambience=70,ambiencered=255,ambiencegreen=255,ambienceblue=255
;here we declare the variable that will check in which mission number the player is, so the script will be able to load the correct HUD`s
;also we are declaring the variables to be used on the "mission statistics screen"
:state=0:dimvar=mission,dimvar=missioncompleted,dimvar=time,dimvar=acc,dimvar=weapon,dimvar=shots,dimvar=kills,dimvar=headshots
;health huds
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud.dds,hudname=health1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud2.dds,hudname=health2,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud3.dds,hudname=health3,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud4.dds,hudname=health4,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud5.dds,hudname=health5,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud6.dds,hudname=health6,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud7.dds,hudname=health7,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud8.dds,hudname=health8,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud9.dds,hudname=health9,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud10.dds,hudname=health10,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud11.dds,hudname=health11,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud12.dds,hudname=health12,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud13.dds,hudname=health13,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud14.dds,hudname=health14,hudmake=display,hudhide=1
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\My Game\health_system\re5hud15.dds,hudname=health15,hudmake=display,hudhide=1
;Load Internal HUDS
:state=0:hudreset,hudx=50,hudy=50,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\fader.tga,hudhide=1,hudtype=3,hudmake=internal
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=0,hudblue=0,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\eyehud.tga,hudhide=1,hudtype=2,hudmake=internal
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=128,hudblue=128,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\zoom.tga,hudhide=1,hudtype=4,hudmake=internal
:state=0:hudreset,hudx=5,hudy=5,hudimage=languagebank\english\gamecore\huds\lives.tga,hudtype=1,hudmake=display
:state=0:hudreset,hudx=4,hudy=8,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=1,hudmake=numeric
:state=0:hudreset,hudx=8,hudy=88,hudimage=gamecore\huds\ammo.tga,hudtype=3,hudmake=status
:state=0:hudreset,hudx=5,hudy=91,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=3,hudmake=numeric
;Load Pause Menu HUDS, Mission Complete HUDS and btns
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\dossier_base.dds,hudname=dossier_base,hudhide=1,hudmake=display
;mission 0 pause huds
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_0_pg1.dds,hudname=mission_0_pg1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_0_pg2.dds,hudname=mission_0_pg2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_0_completed.dds,hudname=mission_0_completed,hudhide=1,hudmake=display
;mission 1 pause huds
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_1_pg1.dds,hudname=mission_1_pg1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_1_pg2.dds,hudname=mission_1_pg2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_1_completed.dds,hudname=mission_1_completed,hudhide=1,hudmake=display
;mission 2 pause huds
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_2_pg1.dds,hudname=mission_2_pg1,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_2_pg2.dds,hudname=mission_2_pg2,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\backdrops\My Game\mission_2_completed.dds,hudname=mission_2_completed,hudhide=1,hudmake=display
;resume btn
:state=0:hudreset,hudx=24,hudy=66,hudimage=gamecore\backdrops\My Game\btn_resume.dds,hudtype=4,hudname=returngame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=24,hudy=66,hudimage=gamecore\backdrops\My Game\btn_resume_click.dds,hudtype=4,hudname=returngame_click,hudhide=1,hudmake=button
;continue btn
:state=0:hudreset,hudx=24,hudy=66,hudimage=gamecore\backdrops\My Game\btn_continue.dds,hudtype=4,hudname=continue,hudhide=1,hudmake=button
:state=0:hudreset,hudx=24,hudy=66,hudimage=gamecore\backdrops\My Game\btn_continue_click.dds,hudtype=4,hudname=continue_click,hudhide=1,hudmake=button
;abort btn
:state=0:hudreset,hudx=24,hudy=75,hudimage=gamecore\backdrops\My Game\btn_abort.dds,hudtype=5,hudname=quitgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=24,hudy=75,hudimage=gamecore\backdrops\My Game\btn_abort_click.dds,hudtype=5,hudname=quitgame_click,hudhide=1,hudmake=button
;exit btn
:state=0:hudreset,hudx=24,hudy=75,hudimage=gamecore\backdrops\My Game\btn_exit.dds,hudtype=5,hudname=exitgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=24,hudy=75,hudimage=gamecore\backdrops\My Game\btn_exit_click.dds,hudtype=5,hudname=exitgame_click,hudhide=1,hudmake=button
;load btn
:state=0:hudreset,hudx=24,hudy=84,hudimage=gamecore\backdrops\My Game\btn_load.dds,hudtype=2,hudname=loadgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=24,hudy=84,hudimage=gamecore\backdrops\My Game\btn_load_click.dds,hudtype=2,hudname=loadgame_click,hudhide=1,hudmake=button
;objectives btn
:state=0:hudreset,hudx=89,hudy=22,hudimage=gamecore\backdrops\My Game\btn_objectives_set.dds,hudtype=6,hudname=btn_objectives_set,hudhide=1,hudmake=button
:state=0:hudreset,hudx=89,hudy=22,hudimage=gamecore\backdrops\My Game\btn_objectives_noset.dds,hudtype=6,hudname=btn_objectives_noset,hudhide=1,hudmake=button
;inventory btn
:state=0:hudreset,hudx=89,hudy=55,hudimage=gamecore\backdrops\My Game\btn_inventory_set.dds,hudtype=11,hudname=btn_inventory_set,hudhide=1,hudmake=button
:state=0:hudreset,hudx=89,hudy=55,hudimage=gamecore\backdrops\My Game\btn_inventory_noset.dds,hudtype=11,hudname=btn_inventory_noset,hudhide=1,hudmake=button
;this will set the kills variable
:state=0:hudreset,hudx=54,hudy=73,hudsizex=16,hudsizey=18,hudimage=gamecore\huds\numeric1.tga,hudname=total_kills,hudtype=6,huduservar=kills,hudhide=1,hudmake=numeric
:state=0:addvar=kills 1,subvar=kills 1
;this will set the headshots variable
:state=0:hudreset,hudx=54,hudy=78,hudsizex=16,hudsizey=18,hudimage=gamecore\huds\numeric1.tga,hudname=total_headshots,hudtype=6,huduservar=headshots,hudhide=1,hudmake=numeric
:state=0:addvar=headshots 1,subvar=headshots 1
;cursor
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\backdrops\My Game\pointer.dds,hudname=pointer,hudhide=1,hudmake=pointer
:state=0:state=1
;health control
:state=1,plrhealthgreater=490:hudshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=480,plrhealthgreater=450:hudshow=health2,hudunshow=health1,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=450,plrhealthgreater=400:hudshow=health3,hudunshow=health1,hudunshow=health2,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=350,plrhealthgreater=300:hudshow=health4,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=250,plrhealthgreater=200:hudshow=health5,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=150,plrhealthgreater=100:hudshow=health6,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=84,plrhealthgreater=73:hudshow=health7,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=72,plrhealthgreater=61:hudshow=health8,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=60,plrhealthgreater=50:hudshow=health9,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=49,plrhealthgreater=38:hudshow=health10,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=37,plrhealthgreater=30:hudshow=health11,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health12,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=29,plrhealthgreater=20:hudshow=health12,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health13,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=19,plrhealthgreater=10:hudshow=health13,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health14,hudunshow=health15
:state=1,plrhealthless=9,plrhealthgreater=1:hudshow=health14,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health15
:state=1,plrhealthless=1:hudshow=health15,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12,hudunshow=health13,hudunshow=health14
;this statement will check if the player finished the level which will be set as soon as all the objectives are completed in the level
:state=1,varequal=missioncompleted 1:pausegame,state=9999,sound=audiobank\My Game\menus\btns_click.wav,hudshow=dossier_base
;here will detect in which level the level is, and the mission variable will be set by a storyzone as soon as the player enters the level
;mission complete HUDS
:state=9999,escapekeypressed=0,varequal=mission 0:state=7007
:state=9999,escapekeypressed=0,varequal=mission 1:state=7014
:state=9999,escapekeypressed=0,varequal=mission 2:state=7021
:state=9999,escapekeypressed=0,varequal=mission 3:state=7028
;when player presses [ESC] key will pause game and go to state 2 and show dossier base HUD
:state=1,escapekeypressed=1:pausegame,state=2,sound=audiobank\My Game\menus\btns_click.wav,hudshow=dossier_base
;here will detect in which level the level is, and the mission variable will be set by a storyzone as soon as the player enters the level
;mission briefing HUDS
:state=2,escapekeypressed=0,varequal=mission 0:state=7
:state=2,escapekeypressed=0,varequal=mission 1:state=14
:state=2,escapekeypressed=0,varequal=mission 2:state=21
:state=2,escapekeypressed=0,varequal=mission 3:state=28
;/////////////Pause Menu for Mission 0///////////////////////////////////////////////////////////////////////////////////////////////////
;here will show the btns
:state=3:hudshow=returngame,hudshow=quitgame,hudshow=loadgame,hudshow=btn_objectives_set,hudshow=btn_inventory_noset,hudshow=pointer,state=4
;btn click action for resume mission
:state=4,hudselectionmade=4:state=999,hudunshow=returngame,hudshow=returngame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=999,timergreater=250:hudunshow=returngame_click,hudshow=returngame,state=6
;btn click action for abort mission
:state=4,hudselectionmade=5:state=998,hudunshow=quitgame,hudshow=quitgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=998,timergreater=250:hudunshow=quitgame_click,hudshow=quitgame,continuegame,destroy
;btn click action for loadgame
:state=4,hudselectionmade=2:state=997,hudunshow=loadgame,hudshow=loadgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=997,timergreater=250:hudunshow=loadgame_click,hudshow=loadgame,state=4,loadgame
;btn click action for objectives page
:state=4,hudselectionmade=6,varequal=mission 0:state=8,sound=audiobank\My Game\menus\page_flip.wav
;btn click action for inventory page
:state=4,hudselectionmade=11,varequal=mission 0:state=9,sound=audiobank\My Game\menus\page_flip.wav
;if player presses [ESC] key again will also resume game
:state=4,escapekeypressed=1:state=5
:state=5,escapekeypressed=0:state=6
;state 6 is for resume game
:state=6:hudunshow=dossier_base,hudunshow=mission_0_pg1,hudunshow=mission_0_pg2,hudunshow=mission_1_pg1,hudunshow=mission_1_pg2,hudunshow=mission_3_pg1,hudunshow=mission_3_pg2,hudunshow=mission_4_pg1,hudunshow=mission_4_pg2,hudunshow=mission_5_pg1,hudunshow=mission_5_pg2,hudunshow=mission_6_pg1,hudunshow=mission_6_pg2,hudunshow=mission_7_pg1,hudunshow=mission_7_pg2,hudunshow=mission_8_pg1,hudunshow=mission_8_pg2,hudunshow=mission_9_pg1,hudunshow=mission_9_pg2,hudunshow=mission_10_pg1,hudunshow=mission_10_pg2,hudunshow=returngame,hudunshow=quitgame,hudunshow=loadgame,hudunshow=btn_inventory_set,hudunshow=btn_inventory_noset,hudunshow=btn_objectives_set,hudunshow=btn_objectives_noset,hudunshow=pointer,resumegame,state=1
;states for show and unshow pages
:state=7:hudshow=mission_0_pg1,state=3
;flip inventory to objectives
:state=8:hudunshow=mission_0_pg2,hudshow=mission_0_pg1,hudunshow=btn_inventory_set,hudshow=btn_inventory_noset,hudunshow=btn_objectives_noset,hudshow=btn_objectives_set,state=4
;flip objectives to inventory
:state=9:hudunshow=mission_0_pg1,hudshow=mission_0_pg2,hudunshow=btn_inventory_noset,hudshow=btn_inventory_set,hudunshow=btn_objectives_set,hudshow=btn_objectives_noset,state=4
;/////////////Pause Menu for Mission 0///////////////////////////////////////////////////////////////////////////////////////////////////
;/////////////Pause Menu for Mission 1///////////////////////////////////////////////////////////////////////////////////////////////////
;here will show the btns
:state=10:hudshow=returngame,hudshow=quitgame,hudshow=loadgame,hudshow=btn_objectives_set,hudshow=btn_inventory_noset,hudshow=pointer,state=11
;btn click action for resume mission
:state=11,hudselectionmade=4:state=996,hudunshow=returngame,hudshow=returngame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=996,timergreater=250:hudunshow=returngame_click,hudshow=returngame,state=13
;btn click action for abort mission
:state=11,hudselectionmade=5:state=995,hudunshow=quitgame,hudshow=quitgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=995,timergreater=250:hudunshow=quitgame_click,hudshow=quitgame,continuegame,destroy
;btn click action for loadgame
:state=11,hudselectionmade=2:state=994,hudunshow=loadgame,hudshow=loadgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=994,timergreater=250:hudunshow=loadgame_click,hudshow=loadgame,state=11,loadgame
;btn click action for objectives page
:state=11,hudselectionmade=6,varequal=mission 1:sound=audiobank\My Game\menus\page_flip.wav,state=15
;btn click action for inventory page
:state=11,hudselectionmade=11,varequal=mission 1:sound=audiobank\My Game\menus\page_flip.wav,state=16
;if player presses [ESC] key again will also resume game
:state=11,escapekeypressed=1:state=12
:state=12,escapekeypressed=0:state=13
;state 13 is for resume game
:state=13:hudunshow=dossier_base,hudunshow=mission_0_pg1,hudunshow=mission_0_pg2,hudunshow=mission_1_pg1,hudunshow=mission_1_pg2,hudunshow=mission_3_pg1,hudunshow=mission_3_pg2,hudunshow=mission_4_pg1,hudunshow=mission_4_pg2,hudunshow=mission_5_pg1,hudunshow=mission_5_pg2,hudunshow=mission_6_pg1,hudunshow=mission_6_pg2,hudunshow=mission_7_pg1,hudunshow=mission_7_pg2,hudunshow=mission_8_pg1,hudunshow=mission_8_pg2,hudunshow=mission_9_pg1,hudunshow=mission_9_pg2,hudunshow=mission_10_pg1,hudunshow=mission_10_pg2,hudunshow=returngame,hudunshow=quitgame,hudunshow=loadgame,hudunshow=btn_inventory_set,hudunshow=btn_inventory_noset,hudunshow=btn_objectives_set,hudunshow=btn_objectives_noset,hudunshow=pointer,resumegame,sound=audiobank\My Game\menus\btns_click.wav,state=1
;states for show and unshow pages
:state=14:hudshow=mission_1_pg1,state=10
;flip inventory to objectives
:state=15:hudunshow=mission_1_pg2,hudshow=mission_1_pg1,hudunshow=btn_inventory_set,hudshow=btn_inventory_noset,hudunshow=btn_objectives_noset,hudshow=btn_objectives_set,state=11
;flip objectives to inventory
:state=16:hudunshow=mission_1_pg1,hudshow=mission_1_pg2,hudunshow=btn_inventory_noset,hudshow=btn_inventory_set,hudunshow=btn_objectives_set,hudshow=btn_objectives_noset,state=11
;/////////////Pause Menu for Mission 1///////////////////////////////////////////////////////////////////////////////////////////////////
;/////////////Pause Menu for Mission 2///////////////////////////////////////////////////////////////////////////////////////////////////
;here will show the btns
:state=17:hudshow=returngame,hudshow=quitgame,hudshow=loadgame,hudshow=btn_objectives_set,hudshow=btn_inventory_noset,hudshow=pointer,state=18
;btn click action for resume mission
:state=18,hudselectionmade=4:state=993,hudunshow=returngame,hudshow=returngame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=993,timergreater=250:hudunshow=returngame_click,hudshow=returngame,state=20
;btn click action for abort mission
:state=18,hudselectionmade=5:state=992,hudunshow=quitgame,hudshow=quitgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=992,timergreater=250:hudunshow=quitgame_click,hudshow=quitgame,continuegame,destroy
;btn click action for loadgame
:state=18,hudselectionmade=2:state=991,hudunshow=loadgame,hudshow=loadgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=991,timergreater=250:hudunshow=loadgame_click,hudshow=loadgame,state=18,loadgame
;btn click action for objectives page
:state=18,hudselectionmade=6,varequal=mission 2:sound=audiobank\My Game\menus\page_flip.wav,state=22
;btn click action for inventory page
:state=18,hudselectionmade=11,varequal=mission 2:sound=audiobank\My Game\menus\page_flip.wav,state=23
;if player presses [ESC] key again will also resume game
:state=18,escapekeypressed=1:state=19
:state=19,escapekeypressed=0:state=20
;state 20 is for resume game
:state=20:hudunshow=dossier_base,hudunshow=mission_0_pg1,hudunshow=mission_0_pg2,hudunshow=mission_1_pg1,hudunshow=mission_1_pg2,hudunshow=mission_3_pg1,hudunshow=mission_3_pg2,hudunshow=mission_4_pg1,hudunshow=mission_4_pg2,hudunshow=mission_5_pg1,hudunshow=mission_5_pg2,hudunshow=mission_6_pg1,hudunshow=mission_6_pg2,hudunshow=mission_7_pg1,hudunshow=mission_7_pg2,hudunshow=mission_8_pg1,hudunshow=mission_8_pg2,hudunshow=mission_9_pg1,hudunshow=mission_9_pg2,hudunshow=mission_10_pg1,hudunshow=mission_10_pg2,hudunshow=returngame,hudunshow=quitgame,hudunshow=loadgame,hudunshow=btn_inventory_set,hudunshow=btn_inventory_noset,hudunshow=btn_objectives_set,hudunshow=btn_objectives_noset,hudunshow=pointer,resumegame,sound=audiobank\My Game\menus\btns_click.wav,state=1
;states for show and unshow pages
:state=21:hudshow=mission_2_pg1,state=17
;flip inventory to objectives
:state=22:hudunshow=mission_2_pg2,hudshow=mission_2_pg1,hudunshow=btn_inventory_set,hudshow=btn_inventory_noset,hudunshow=btn_objectives_noset,hudshow=btn_objectives_set,state=18
;flip objectives to inventory
:state=23:hudunshow=mission_2_pg1,hudshow=mission_2_pg2,hudunshow=btn_inventory_noset,hudshow=btn_inventory_set,hudunshow=btn_objectives_set,hudshow=btn_objectives_noset,state=18
;/////////////Pause Menu for Mission 2///////////////////////////////////////////////////////////////////////////////////////////////////
;
;
;
;
;
;/////////////Mission 0 Complete///////////////////////////////////////////////////////////////////////////////////////////////////
;here will show the btns
:state=7003:hudshow=total_kills,hudshow=total_headshots,hudshow=continue,hudshow=exitgame,hudshow=btn_objectives_set,hudshow=btn_inventory_noset,hudshow=pointer,state=7004
;btn click action for continue game
:state=7004,hudselectionmade=4:state=9998,hudunshow=continue,hudshow=continue_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=9998,timergreater=250:hudunshow=continue_click,hudshow=continue,setvar=missioncompleted 0,setvar=kills 0,nextlevel=2,suspend
;btn click action for exit game
:state=7004,hudselectionmade=5:state=9997,hudunshow=exitgame,hudshow=exitgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=9997,timergreater=250:hudunshow=exitgame_click,hudshow=exitgame,setvar=missioncompleted 0,setvar=kills 0,continuegame,destroy
;states for show and unshow pages
:state=7007:hudshow=mission_0_completed,state=7003
;/////////////Mission 0 Complete///////////////////////////////////////////////////////////////////////////////////////////////////
;/////////////Mission 1 Complete///////////////////////////////////////////////////////////////////////////////////////////////////
;here will show the btns
:state=7010:hudshow=total_kills,hudshow=total_headshots,hudshow=continue,hudshow=exitgame,hudshow=btn_objectives_set,hudshow=btn_inventory_noset,hudshow=pointer,state=7011
;btn click action for continue game
:state=7011,hudselectionmade=4:state=9996,hudunshow=continue,hudshow=continue_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=9996,timergreater=250:hudunshow=continue_click,hudshow=continue,setvar=missioncompleted 0,setvar=kills 0,nextlevel=3,suspend
;btn click action for exit game
:state=7011,hudselectionmade=5:state=9995,hudunshow=exitgame,hudshow=exitgame_click,sound=audiobank\My Game\menus\btns_click.wav,timerstart
:state=9995,timergreater=250:hudunshow=exitgame_click,hudshow=exitgame,setvar=missioncompleted 0,setvar=kills 0,continuegame,destroy
;states for show and unshow pages
:state=7014:hudshow=mission_1_completed,state=7010
;/////////////Mission 1 Complete///////////////////////////////////////////////////////////////////////////////////////////////////
Goldenye 007 N64