I have been working on a script for pb, but when I use it, all I get is the death hud. Here is my script:
;Artificial Intelligence Script
;Header desc = Hud Key Pad (Enter the correct combination!)
;Triggers
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\codepad\codepadbase.dds,hudname=base,hudhide=1,hudmake=display
:state=0:hudreset,hudx=49,hudy=59,hudimagefine=gamecore\codepad\button0.dds,hudname=button0,hudhide=1,hudtype=1,hudmake=button
:state=0:hudreset,hudx=46,hudy=47,hudimagefine=gamecore\codepad\button1.dds,hudname=button1,hudhide=1,hudtype=2,hudmake=button
:state=0:hudreset,hudx=49,hudy=47,hudimagefine=gamecore\codepad\button2.dds,hudname=button2,hudhide=1,hudtype=3,hudmake=button
:state=0:hudreset,hudx=52,hudy=47,hudimagefine=gamecore\codepad\button3.dds,hudname=button3,hudhide=1,hudtype=4,hudmake=button
:state=0:hudreset,hudx=46,hudy=51,hudimagefine=gamecore\codepad\button4.dds,hudname=button4,hudhide=1,hudtype=5,hudmake=button
:state=0:hudreset,hudx=49,hudy=51,hudimagefine=gamecore\codepad\button5.dds,hudname=button5,hudhide=1,hudtype=6,hudmake=button
:state=0:hudreset,hudx=52,hudy=51,hudimagefine=gamecore\codepad\button6.dds,hudname=button6,hudhide=1,hudtype=7,hudmake=button
:state=0:hudreset,hudx=46,hudy=55,hudimagefine=gamecore\codepad\button7.dds,hudname=button7,hudhide=1,hudtype=8,hudmake=button
:state=0:hudreset,hudx=49,hudy=55,hudimagefine=gamecore\codepad\button8.dds,hudname=button8,hudhide=1,hudtype=9,hudmake=button
:state=0:hudreset,hudx=52,hudy=55,hudimagefine=gamecore\codepad\button9.dds,hudname=button9,hudhide=1,hudtype=10,hudmake=button
:state=0:hudreset,hudx=46,hudy=59,hudimagefine=gamecore\codepad\buttonstar.dds,hudname=star,hudhide=1,hudtype=11,hudmake=button
:state=0:hudreset,hudx=52,hudy=59,hudimagefine=gamecore\codepad\buttonnumeral.dds,hudname=numeral,hudhide=1,hudtype=12,hudmake=button
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\codepad\codepadgreenlight.dds,hudname=green,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\codepad\codepadredlight.dds,hudname=red,hudhide=1,hudmake=display
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\codepad\codepadyellowlight.dds,hudname=yellow,hudhide=1,hudmake=display,state=1
:state=1,plrdistwithin=50,plrusingaction=0:state=0
:state=1,plrdistwithin=50,plrusingaction=1:state=2
:state=2:startmenu,state=3
:state=3:hudunshow=red,hudunshow=green,hudshow=base,hudshow=button0,hudshow=button1,hudshow=button2,hudshow=button3,hudshow=button4,hudshow=button5,hudshow=button6,hudshow=button7,hudshow=button8,hudshow=button9,hudshow=star,hudshow=numeral,hudshow=yellow,state=4
:state=4,hudselectionmade=1:state=5
:state=4,hudselectionmade=2:state=18
:state=4,hudselectionmade=3:state=18
:state=4,hudselectionmade=4:state=18
:state=4,hudselectionmade=5:state=18
:state=4,hudselectionmade=6:state=18
:state=4,hudselectionmade=7:state=18
:state=4,hudselectionmade=8:state=18
:state=4,hudselectionmade=9:state=18
:state=4,hudselectionmade=10:state=18
:state=4,hudselectionmade=11:state=18
:state=4,hudselectionmade=12:state=18
:state=5:state=6
:state=6,hudselectionmade=1:state=5
:state=6:state=7
:state=7,hudselectionmade=1:state=18
:state=7,hudselectionmade=2:state=18
:state=7,hudselectionmade=3:state=18
:state=7,hudselectionmade=4:state=18
:state=7,hudselectionmade=5:state=18
:state=7,hudselectionmade=6:state=18
:state=7,hudselectionmade=7:state=18
:state=7,hudselectionmade=8:state=18
:state=7,hudselectionmade=9:state=18
:state=7,hudselectionmade=10:state=8
:state=7,hudselectionmade=11:state=18
:state=7,hudselectionmade=12:state=18
:state=8:state=9
:state=9,hudselectionmade=10:state=8
:state=9:state=10
:state=10,hudselectionmade=1:state=18
:state=10,hudselectionmade=2:state=11
:state=10,hudselectionmade=3:state=18
:state=10,hudselectionmade=4:state=18
:state=10,hudselectionmade=5:state=18
:state=10,hudselectionmade=6:state=18
:state=10,hudselectionmade=7:state=18
:state=10,hudselectionmade=8:state=18
:state=10,hudselectionmade=9:state=18
:state=10,hudselectionmade=10:state=18
:state=10,hudselectionmade=11:state=18
:state=10,hudselectionmade=12:state=18
:state=11:state=12
:state=12,hudselectionmade=2:state=11
:state=12:state=13
:state=13,hudselectionmade=1:state=18
:state=13,hudselectionmade=2:state=14
:state=13,hudselectionmade=3:state=18
:state=13,hudselectionmade=4:state=18
:state=13,hudselectionmade=5:state=18
:state=13,hudselectionmade=6:state=18
:state=13,hudselectionmade=7:state=18
:state=13,hudselectionmade=8:state=18
:state=13,hudselectionmade=9:state=18
:state=13,hudselectionmade=10:state=18
:state=13,hudselectionmade=11:state=18
:state=13,hudselectionmade=12:state=18
:state=14:state=15
:state=15,hudselectionmade=2:state=14
:state=15:state=16
:state=16:activateifused=1,hudunshow=yellow,hudshow=green,state=17
:state=17:stopmenu
:state=18:hudunshow=yellow,hudshow=red,state=19
:state=19:state=0
; End Script
As you can see from the script it is a button type hud for a locked door or whatever. I have attached the files to help.
I think this will help with the improvement of fpsc and project blue. Ply said it was possible to make this script in pb, so that is why I tried it.
Everything should be positioned right from the script as far as the images go and the code I set it up for is " 0911 ". I sent this to both Ply and Hockeykid, but I thought that maybe someone else could have a go at it.
And if someone gets it going be sure to leave the working script for not just me, but others. Thanks and enjoy!