Quote: "Im not entirely sure whether I understand the method your using as you said you only use ''hud reset'' to clear out the previous version of your own hud, does that mean you are calling the same hudname so you are resetting it so that you dont have to define 4 different hudnames in the script that calls the hud? so that the if your calling hud health and the health changes your specifically resetting that hud with a different image but the same hud name?"
Here is a snippet from my setup script...
Defining health huds
; Setup Health Huds
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ancient_tombs1\egyptian01.png,hudname=egyptian01,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ancient_tombs1\egyptian02.png,hudname=egyptian02,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ancient_tombs1\egyptian03.png,hudname=egyptian03,hudmake=display,hudhide=1
:state=0:hudreset,hudx=50,hudy=50,hudimage=gamecore\huds\ancient_tombs1\egyptian04.png,hudname=egyptian04,hudmake=display,hudhide=1
Script checking player health and displaying the corresponding health hud
:state=1,plrhealthgreater=75:hudreset,hudshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian03,hudunshow=egyptian04
:state=1,plrhealthless=75,plrhealthgreater=50:hudreset,hudshow=egyptian02,hudunshow=egyptian01,hudunshow=egyptian03,hudunshow=egyptian04
:state=1,plrhealthless=50,plrhealthgreater=25:hudreset,hudshow=egyptian03,hudunshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian04
:state=1,plrhealthless=25:hudreset,hudshow=egyptian04,hudunshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian03
According to the script syntax...
:state=1,plrhealthgreater=75:hudreset,hudshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian03,hudunshow=egyptian04
:state=1,plrhealthless=75,plrhealthgreater=50:hudreset,hudshow=egyptian02,hudunshow=egyptian01,hudunshow=egyptian03,hudunshow=egyptian04
:state=1,plrhealthless=50,plrhealthgreater=25:hudreset,hudshow=egyptian03,hudunshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian04
:state=1,plrhealthless=25:hudreset,hudshow=egyptian04,hudunshow=egyptian01,hudunshow=egyptian02,hudunshow=egyptian03
If I did not use the "hudreset" in my script, then my health huds overlap one another. By this method, it clears the first hud and then displays the new one as intended.
Quote: "I'll attach the latest build of the affected level to this post if you want to try and download it and see what happens when you start a new game (the title menu loads fine which is actually the first level its the second level crashes upon finishing loading)
"
I tried it out, and it seems to get to the last part of the loading bar in the second level and wham... the famous "FPSC has stopped working" error. Swapped over from the desktop to my wife's laptop to try on there and same thing. That one last spot on the loading bar. It's too bad FPSC developers did not think of using a better method to "log" so one can know roughly what is the cause.
There's no problem that can't be solved without applying a little scripting.