hi. i have made a hud that shows text on the screen like "press enter to use" near the doors. my only problem is, i want to make only the letters visible, in other words, a transparent background. i've tried it with Photoshop (CS3) and saved it as .tga now, when i test the level, i get a white background, and black letters (i've made the letters black myself). can anyone help me with it?
another problem, i've made the script also so it should dissappear after 6 seconds. however, when i test it in FPI maker, it say's that i have an error in line 11, ":state=2,timerstart,state=3".
and when i open it in FPSC, it just stays all the time and never goes away.
this is what FPI maker says: "SYNTAX ERROR| a valid command must have two:`s"
anyway, here's the script.
;Artificial Intelligence Script
;Header
desc = My Own HUD
;Triggers
:state=0:hudreset,hudx=50,hudy=90,hudimagefine=languagebankenglishgamecoretextwelcome.tga,hudname=welcome,hudhide=1,hudmake=display,state=10
:state=10,plrwithinzone=1:hudshow=welcome,state=2
:state=2,timerstart,state=3
:state=3,timergreater=6000:state=4
:state=4,plrwithinzone=0:hudfadeout=welcome,state=0
;End of Script
edit: screens added.
btw, for a tutorial on this, look in Nickydudes hints 'n tips guide (page 54, i think) there's a link on the homepage.(lol, homepage
)
this is my rifle, this is my gun,
this one's for killing, this one's for fun.