Entire script:
;AIScript from Wizard
;Header
desc = Setup Wizard
; Setup Level Stats
:state=0:sky=skybankww2War
:state=0:music=audiobankuserdday_amb.mp3,musicvolume=50,soundscale=25
:state=0:fog=1,fogred=128,foggreen=128,fogblue=128
:state=0:ambience=10,ambiencered=255,ambiencegreen=255,ambienceblue=255
:state=0:hudreset,hudx=12,hudy=17,hudimage=gamecorehudshead0.tga,hudname=head0,hudmake=display,hudhide=1
:state=0:hudreset,hudx=12,hudy=17,hudimage=gamecorehudshead1.tga,hudname=head1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=12,hudy=17,hudimage=gamecorehudshead2.tga,hudname=head2,hudmake=display,hudhide=1
:state=0:hudreset,hudx=12,hudy=17,hudimage=gamecorehudshead3.tga,hudname=head3,hudmake=display,hudhide=1
:state=0:hudreset,hudx=12,hudy=17,hudimage=gamecorehudshead4.tga,hudname=head4,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudsizex=1024,hudsizey=768,hudimage=gamecorehudsfader.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=gamecorehudseyehud.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=gamecorehudszoom.tga,hudhide=1,hudtype=4,hudmake=internal
:state=0:hudreset,hudx=12.2,hudy=20,hudsizex=18,hudsizey=18,hudimage=gamecorehudsnumeric3.dds,hudtype=3,hudmake=numeric
; Setup Game Menu
:state=0:hudreset,hudx=50,hudy=10,hudimage=languagebankenglishgamecorebackdropsbasicgamemenu.tga,hudname=gamemenutitle,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=40,hudimage=languagebankenglishgamecorebackdropsbasicloadgame.tga,hudtype=2,hudname=loadgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=languagebankenglishgamecorebackdropsbasicsavegame.tga,hudtype=3,hudname=savegame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=,hudy=,hudimage=,hudname=savingprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=60,hudimage=languagebankenglishgamecorebackdropsbasicexitgame.tga,hudtype=5,hudname=quitgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=70,hudimage=languagebankenglishgamecorebackdropsbasicreturntogame.tga,hudtype=4,hudname=returngame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecorehudspointer.tga,hudname=pointer,hudhide=1,hudmake=pointer
:state=0:state=1
; Main Game
:state=1,escapekeypressed=1:pausegame,state=2
:state=1,scancodekeypressed=197:pausegame,state=11
:state=1,scancodekeypressed=64:hudshow=savingprompt,quicksavegame,pausegame,state=21
:state=1,scancodekeypressed=67:quickloadgame,state=31
:state=11,scancodekeypressed=0:state=12
:state=12,scancodekeypressed=197:resumegame,state=13
:state=13,scancodekeypressed=0:state=1
:state=21,scancodekeypressed=0:hudunshow=savingprompt,resumegame,state=1
:state=31,scancodekeypressed=0:state=1
;hud
:state=1,plrhealthgreater=150:hudreset,hudshow=head0,hudunshow=head1,hudunshow=head2,hudunshow=head3,hudunshow=head4
:state=1,plrhealthless=151,plrhealthgreater=50:hudreset,hudunshow=head0,hudshow=head1,hudunshow=head2,hudunshow=head3,hudunshow=head4
:state=1,plrhealthless=101,plrhealthgreater=25:hudreset,hudunshow=head0,hudunshow=head1,hudshow=head2,hudunshow=head3,hudunshow=head4
:state=1,plrhealthless=51,plrhealthgreater=10:hudreset,hudunshow=head0,hudunshow=head1,hudunshow=head2,hudshow=head3,hudunshow=head4
:state=1,plrhealthless=26,plrhealthgreater=0:hudreset,plrsound=audiobank/user/heartbeat.wav,hudunshow=head0,hudunshow=head1,hudunshow=head2,hudunshow=head3,hudshow=head4
; Game Menu
:state=2,escapekeypressed=0:state=3
:state=3:hudshow=gamemenutitle,hudshow=loadgame,hudshow=savegame,hudshow=quitgame,hudshow=returngame,hudshow=pointer,state=4
:state=4,hudselectionmade=2:loadgame
:state=4,hudselectionmade=3:savegame,state=6
:state=4,hudselectionmade=5:continuegame,destroy
:state=4,hudselectionmade=4:state=6
:state=4,escapekeypressed=1:state=5
:state=5,escapekeypressed=0:state=6
:state=6:hudunshow=gamemenutitle,hudunshow=loadgame,hudunshow=savegame,hudunshow=quitgame,hudunshow=returngame,hudunshow=pointer,resumegame,state=1