Hey. I'm sorry to be invading the FPSC Scripts section so thoroughly. I keep having problems with any and every script I'm doing that involves HUDs. I've read Plystire's tutorials, as well as several other threads on here. I'm also using FPI EditPad, so there shouldn't be syntax errors, and still, I have no luck. Instead of posting them all, though, I'm going to add one for now to see if, after solving this one problem, I can clear up the rest on my own, since it might be the same problem each time. Of course, it could also be something else, but I'll cross that bridge if I get to it.
Okay. This script should have been pretty basic. It's just a variation on the head shot script. I wanted it to display FPSC's "one shot kills" HUD after a head shot is completed.
:state=0:hudreset,headshotdamage=50,hudx=50,hudy=50,hudimagefine=languagebank\english\gamecore\huds\oneshotkills.dds,hudname=oneshotkills,hudhide=1,hudmake=display,setalphafade=100,headshot=52,runfpidefault=1
:health=0:hudshow=oneshotkills,hudfadeout=oneshotkills
I'm just not sure what I'm doing wrong. The 'headshot' part works (three shots kill the enemy), but the HUD never shows. It also does not work even when there's no change in head shot damage.