I have an ammunition meter I am trying to make to go along with a game. The game itself has a demo to be released on the 16th.
If somebody would be so kind as to show me a way to create an ammunition bar.
Here's the script. I am using Rolfy's health bar script.
;AIScript from Wizard
;Header
desc = Setup Wizard
; Setup Level Stats
:state=0:sky=skybank\scifi\Dst
:state=0:fog=0,fogred=0,foggreen=25,fogblue=25
:state=0:ambience=7,ambiencered=255,ambiencegreen=255,ambienceblue=255
; Hud Creator
:state=0:hudreset,hudx=15,hudy=18,hudimage=languagebank\english\gamecore\huds\scifi1\scifihud1.png,hudname=hud1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=86,hudy=17,hudimage=languagebank\english\gamecore\huds\scifi1\ammo.png,hudname=ammohud1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar1.jpg,hudname=health1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar2.jpg,hudname=health2,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar3.jpg,hudname=health3,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar4.jpg,hudname=health4,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar5.jpg,hudname=health5,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar6.jpg,hudname=health6,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar7.jpg,hudname=health7,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar9.jpg,hudname=health8,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar9.jpg,hudname=health9,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar10.jpg,hudname=health10,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar11.jpg,hudname=health11,hudmake=display,hudhide=1
:state=0:hudreset,hudx=90,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\healthbar12.jpg,hudname=health12,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar1.jpg,hudname=head1,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar2.jpg,hudname=head2,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar3.jpg,hudname=head3,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar4.jpg,hudname=head4,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar5.jpg,hudname=head5,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar6.jpg,hudname=head6,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar7.jpg,hudname=head7,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar8.jpg,hudname=head8,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar9.jpg,hudname=head9,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar10.jpg,hudname=head10,hudmake=display,hudhide=1
:state=0:hudreset,hudx=10,hudy=8,hudimage=languagebank\english\gamecore\huds\scifi1\anims\ammobar11.jpg,hudname=head11,hudmake=display,hudhide=1
: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
; 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=,hudy=,hudimage=,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=50,hudimage=languagebank\english\gamecore\backdrops\basic\exitgame.tga,hudtype=5,hudname=quitgame,hudhide=1,hudmake=button
:state=0:hudreset,hudx=50,hudy=60,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
: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
; Health Controler
:state=1,plrhealthgreater=99:hudreset,hudshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=98,plrhealthgreater=90:hudreset,hudshow=health2,hudunshow=health1,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=89,plrhealthgreater=80:hudreset,hudshow=health3,hudunshow=health1,hudunshow=health2,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=79,plrhealthgreater=70:hudreset,hudshow=health4,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=69,plrhealthgreater=60:hudreset,hudshow=health5,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=59,plrhealthgreater=50:hudreset,hudshow=health6,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=49,plrhealthgreater=40:hudreset,hudshow=health7,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=39,plrhealthgreater=30:hudreset,hudshow=health8,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health9,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=29,plrhealthgreater=20:hudreset,hudshow=health9,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health10,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=19,plrhealthgreater=10:hudreset,hudshow=health10,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health11,hudunshow=health12
:state=1,plrhealthless=9,plrhealthgreater=1:hudreset,hudshow=health11,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health12
:state=1,plrhealthless=1:hudreset,hudshow=health12,hudunshow=health1,hudunshow=health2,hudunshow=health3,hudunshow=health4,hudunshow=health5,hudunshow=health6,hudunshow=health7,hudunshow=health8,hudunshow=health9,hudunshow=health10,hudunshow=health11
; Hud anim Controler
:state=10:state=7
:state=7:hudshow=hud1,ammohud1,timerstart,state=1
:state=1,timergreater=1:hudreset,hudshow=head1,hudunshow=head20
:state=1,timergreater=51:hudreset,hudshow=head2,hudunshow=head1
:state=1,timergreater=101:hudreset,hudshow=head3,hudunshow=head2
:state=1,timergreater=151:hudreset,hudshow=head4,hudunshow=head3
:state=1,timergreater=201:hudreset,hudshow=head5,hudunshow=head4
:state=1,timergreater=251:hudreset,hudshow=head6,hudunshow=head5
:state=1,timergreater=301:hudreset,hudshow=head7,hudunshow=head6
:state=1,timergreater=351:hudreset,hudshow=head8,hudunshow=head7
:state=1,timergreater=401:hudreset,hudshow=head9,hudunshow=head8
:state=1,timergreater=451:hudreset,hudshow=head10,hudunshow=head9
:state=1,timergreater=501:hudreset,hudshow=head11,hudunshow=head10
:state=1,timergreater=551:hudreset,hudshow=head12,hudunshow=head11
:state=1,timergreater=601:hudreset,hudshow=head13,hudunshow=head12
:state=1,timergreater=651:hudreset,hudshow=head14,hudunshow=head13
:state=1,timergreater=701:hudreset,hudshow=head15,hudunshow=head14
:state=1,timergreater=751:hudreset,hudshow=head16,hudunshow=head15
:state=1,timergreater=801:hudreset,hudshow=head17,hudunshow=head16
:state=1,timergreater=851:hudreset,hudshow=head18,hudunshow=head17
:state=1,timergreater=901:hudreset,hudshow=head19,hudunshow=head18
:state=1,timergreater=951:hudreset,hudshow=head20,hudunshow=head19
:state=1,timergreater=1001:state=7
; 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
I would be rather great full if somebody were able to come up with a solution to my problem. I looked through a list of commands and couldn't find one. :/
Thank you for your time.