OK, I have a health Hud that I want to insert into my game, and currently, i am using a box, and so it shows the normal health too.
Would I remove the health portion and call for the script used for my other script or can i paste the script into the setuplevel file, and if so, where?
The health hud I am using.
desc = health huds
:state=0:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud0.dds,hudname=hHud0,hudhide=1,hudmake=display,state=1
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud1.dds,hudname=hHud01,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud2.dds,hudname=hHud02,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud3.dds,hudname=hHud03,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud4.dds,hudname=hHud04,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud5.dds,hudname=hHud05,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud6.dds,hudname=hHud06,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud7.dds,hudname=hHud07,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud8.dds,hudname=hHud08,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud9.dds,hudname=hHud09,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud10.dds,hudname=hHud10,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud11.dds,hudname=hHud11,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud12.dds,hudname=hHud12,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud13.dds,hudname=hHud13,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud14.dds,hudname=hHud14,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud15.dds,hudname=hHud15,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud16.dds,hudname=hHud16,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud17.dds,hudname=hHud17,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud18.dds,hudname=hHud18,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud19.dds,hudname=hHud19,hudhide=1,hudmake=display
:state=1:hudreset,hudx=10,hudy=90,hudimagefine=gamecore\huds\healthhuds\hhud20.dds,hudname=hHud20,hudhide=1,hudmake=display,state=2
:state=2,plrhealthless=94:hudunshow=hHud20
:state=2,plrhealthless=89:hudunshow=hHud19
:state=2,plrhealthless=84:hudunshow=hHud18
:state=2,plrhealthless=79:hudunshow=hHud17
:state=2,plrhealthless=74:hudunshow=hHud16
:state=2,plrhealthless=69:hudunshow=hHud15
:state=2,plrhealthless=64:hudunshow=hHud14
:state=2,plrhealthless=59:hudunshow=hHud13
:state=2,plrhealthless=54:hudunshow=hHud12
:state=2,plrhealthless=49:hudunshow=hHud11
:state=2,plrhealthless=44:hudunshow=hHud10
:state=2,plrhealthless=39:hudunshow=hHud09
:state=2,plrhealthless=34:hudunshow=hHud08
:state=2,plrhealthless=29:hudunshow=hHud07
:state=2,plrhealthless=24:hudunshow=hHud06
:state=2,plrhealthless=19:hudunshow=hHud05
:state=2,plrhealthless=14:hudunshow=hHud04
:state=2,plrhealthless=9:hudunshow=hHud03
:state=2,plrhealthless=4:hudunshow=hHud02
:state=2,plrhealthgreater=1:hudunshow=hHud0,hudshow=hHud01
:state=2,plrhealthgreater=4:hudunshow=hHud01,hudshow=hHud02
:state=2,plrhealthgreater=9:hudunshow=hHud02,hudshow=hHud03
:state=2,plrhealthgreater=14:hudunshow=hHud03,hudshow=hHud04
:state=2,plrhealthgreater=19:hudunshow=hHud04,hudshow=hHud05
:state=2,plrhealthgreater=24:hudunshow=hHud05,hudshow=hHud06
:state=2,plrhealthgreater=29:hudunshow=hHud06,hudshow=hHud07
:state=2,plrhealthgreater=34:hudunshow=hHud07,hudshow=hHud08
:state=2,plrhealthgreater=39:hudunshow=hHud08,hudshow=hHud09
:state=2,plrhealthgreater=44:hudunshow=hHud09,hudshow=hHud10
:state=2,plrhealthgreater=49:hudunshow=hHud10,hudshow=hHud11
:state=2,plrhealthgreater=54:hudunshow=hHud11,hudshow=hHud12
:state=2,plrhealthgreater=59:hudunshow=hHud12,hudshow=hHud13
:state=2,plrhealthgreater=64:hudunshow=hHud13,hudshow=hHud14
:state=2,plrhealthgreater=69:hudunshow=hHud14,hudshow=hHud15
:state=2,plrhealthgreater=74:hudunshow=hHud15,hudshow=hHud16
:state=2,plrhealthgreater=79:hudunshow=hHud16,hudshow=hHud17
:state=2,plrhealthgreater=84:hudunshow=hHud17,hudshow=hHud18
:state=2,plrhealthgreater=89:hudunshow=hHud18,hudshow=hHud19
:state=2,plrhealthgreater=94:hudunshow=hHud19,hudshow=hHud20
:state=2,plralive=0:hudunshow=hHud20,hudunshow=hHud19,hudunshow=hHud18,hudunshow=hHud17,hudunshow=hHud16,hudunshow=hHud15,hudunshow=hHud14,hudunshow=hHud13,hudunshow=hHud12,hudunshow=hHud11,hudunshow=hHud10,hudunshow=hHud09,hudunshow=hHud08,hudunshow=hHud07,hudunshow=hHud06,hudunshow=hHud05,hudunshow=hHud04,hudunshow=hHud03,hudunshow=hHud02,hudunshow=hHud01,hudshow=hHud0,state=3
:state=3,plralive=1:hudunshow=hHud0,hudshow=hHud20,state=2
and my setuplevel file.
;AIScript from Wizard
;Header
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=25,ambiencered=255,ambiencegreen=255,ambienceblue=255
: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=15,hudy=5,hudimage=languagebank\english\gamecore\huds\health.tga,hudtype=2,hudmake=display
:state=0:hudreset,hudx=14,hudy=8,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=2,hudmake=numeric
:state=0:hudreset,hudx=85,hudy=8,hudimage=gamecore\huds\ammo.tga,hudtype=3,hudmake=status
:state=0:hudreset,hudx=88,hudy=12,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=3,hudmake=numeric
; Setup Game Menu
:state=0:hudreset,hudx=50,hudy=10,hudimage=languagebank\english\gamecore\backdrops\basic\gamemenu.tga,hudname=gamemenutitle,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=40,hudimage=languagebank\english\gamecore\backdrops\basic\loadgame.tga,hudtype=2,hudname=loadgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\basic\savegame.tga,hudtype=3,hudname=savegame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=60,hudimage=languagebank\english\gamecore\backdrops\basic\exitgame.tga,hudtype=5,hudname=quitgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=languagebank\english\gamecore\backdrops\basic\saving.tga,hudname=savingprompt,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=70,hudimage=languagebank\english\gamecore\backdrops\basic\returntogame.tga,hudtype=4,hudname=returngame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\pointer.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
; 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
Windows 7 ultimate x64, Intel i7, 4 GB RAM, NVIDIA GEFORCE 330m 1GB
Flash Star Game Creations