So I did several searches trying to find out how to do animated huds. I wanted my player to receive a message which contained his objectives for the level. Well after several searches the only thing I really found was for animated menu's. I betting there is a way to use that script to create what I am looking for, but I didn't really feel like trying to figure it out. So I came up with this.
;ARTIFICIAL INTEL SCRIPT
;HEADER
DESC= OBJECTIVE HUD ANIMATED......SORT OF...STILL KINDA COOL
;TRIGGERS
:state=0:hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\OBJ1.tga,hudname=OBJ1.tGA,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:etimerstart,state=2
:state=2:HUDSHOW=OBJ1.TGA,fpgcrawtextsize=20,fpgcrawtextfont=verdana,fpgcrawtextr=0,fpgcrawtextg=100,fpgcrawtextb=0,fpgcrawtextx=50,fpgcrawtexty=40
:state=2:fpgcrawtext=O
:state=2,etimergreater=300:etimerstart,state=4
:state=4:fpgcrawtextsize=20,fpgcrawtextfont=verdana,fpgcrawtextr=0,fpgcrawtextg=100,fpgcrawtextb=0,fpgcrawtextx=50,fpgcrawtexty=40
:state=4:fpgcrawtext=OB
:STATE=4,ETIMERGREATER=300:ETIMERSTART,STATE=6
:STATE=6:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:sTATE=6:FPGCRAWTEXT=OBJ
:STATE=6,ETIMERGREATER=300:ETIMERSTART,STATE=8
:state=8:fpgcrawtextsize=20,fpgcrawtextfont=verdana,fpgcrawtextr=0,fpgcrawtextg=100,fpgcrawtextb=0,fpgcrawtextx=50,fpgcrawtexty=40
:state=8:fpgcrawtext=OBJE
:state=8,etimergreater=300:etimerstart,state=10
:state=10:fpgcrawtextsize=20,fpgcrawtextfont=verdana,fpgcrawtextr=0,fpgcrawtextg=100,fpgcrawtextb=0,fpgcrawtextx=50,fpgcrawtexty=40
:state=10:fpgcrawtext=OBJEC
:STATE=10,ETIMERGREATER=300:ETIMERSTART,STATE=12
:STATE=12:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:sTATE=12:FPGCRAWTEXT=OBJECT
:STATE=12,ETIMERGREATER=300:ETIMERSTART,STATE=14
:STATE=14:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=14:FPGCRAWTEXT=OBJECTI
:STATE=14,ETIMERGREATER=300:ETIMERSTART,STATE=16
:STATE=16:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=16:FPGCRAWTEXT=OBJECTIV
:sTATE=16,ETIMERGREATER=300:ETIMERSTART,STATE=18
:STATE=18:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=18:FPGCRAWTEXT=OBJECTIVE
:STATE=18,ETIMERGREATER=300:ETIMERSTART,STATE=20
:STATE=20:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=20:FPGCRAWTEXT=INITIALIZING UPLINK.
:STATE=20,ETIMERGREATER=300:ETIMERSTART,STATE=22
:STATE=20:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:sTATE=22:FPGCRAWTEXT=INITIALIZING UPLINK..
:STATE=22,ETIMERGREATER=300:ETIMERSTART,STATE=24
:STATE=24:FPGCRAWTEXTSIZE=20,FPGCRAWTEXT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=24:FPGCRAWTEXT=INITIALIZING UPLINK...
:STATE=24,ETIMERGREATER=300:ETIMERSTART,STATE=26
:STATE=26:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=26:FPGCRAWTEXT=INITIALIZING UPLINK....
:STATE=26,ETIMERGREATER=300:ETIMERSTART,STATE=28
:STATE=28:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=28:FPGCRAWTEXT=
:STATE=28,ETIMERGREATER=300:ETIMERSTART,STATE=30
:STATE=30:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=30:FPGCRAWTEXT=INITIALIZING UPLINK.
:STATE=30,ETIMERGREATER=300:ETIMERSTART,STATE=32
:STATE=32:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=32:FPGCRAWTEXT=INITIALIZING UPLINK..
:STATE=32,ETIMERGREATER=300:ETIMERSTART,STATE=34
:STATE=34:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=34:FPGCRAWTEXT=INITIALIZING UPLINK...
:STATE=34,ETIMERGREATER=300:ETIMERSTART,STATE=36
:STATE=36:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=36:FPGCRAWTEXT=INITIALIZING UPLINK....
:STATE=36,ETIMERGREATER=300:ETIMERSTART,STATE=38
:STATE=38:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=38:FPGCRAWTEXT=
:STATE=38,ETIMERGREATER=300:ETIMERSTART,STATE=40
:STATE=40:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=40:FPGCRAWTEXT=INITIALIZING UPLINK...
:STATE=40,ETIMERGREATER=300:ETIMERSTART,STATE=42
:STATE=42:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=42:FPGCRAWTEXT=INITIALIZING UPLINK....
:STATE=42,ETIMERGREATER=1000:ETIMERSTART,STATE=44
:STATE=44:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=44:FPGCRAWTEXT=UPLINK COMPLETE
:STATE=44,ETIMERGREATER=2000:ETIMERSTART,STATE=46
:STATE=46:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=46:FPGCRAWTEXT=
:STATE=46,ETIMERGREATER=2000:ETIMERSTART,STATE=48
:STATE=48:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=100,FPGCRAWTEXTG=0,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=48:FPGCRAWTEXT=CHECKING SECURITY
:STATE=48,ETIMERGREATER=2000:ETIMERSTART,STATE=50
:STATE=50:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=100,FPGCRAWTEXTG=0,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=50:FPGCRAWTEXT=
:STATE=50,ETIMERGREATER=2000:ETIMERSTART,STATE=52
:STATE=52:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=100,FPGCRAWTEXTG=0,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=52:FPGCRAWTEXT=CHECKING SECURITY
:STATE=52,ETIMERGREATER=2000:ETIMERSTART,STATE=54
:STATE=54:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=54:FPGCRAWTEXT=UPLINK SECURE
:STATE=54,ETIMERGREATER=2000:ETIMERSTART,STATE=56
:STATE=56:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=56:FPGCRAWTEXT=
:STATE=56,ETIMERGREATER=2000:ETIMERSTART,STATE=58
:STATE=58:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=58:FPGCRAWTEXT=DOWNLOADING
:STATE=58,ETIMERGREATER=300:ETIMERSTART,STATE=60
:STATE=60:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=60:FPGCRAWTEXT=
:STATE=60,ETIMERGREATER=300:ETIMERSTART,STATE=62
:STATE=62:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=62:FPGCRAWTEXT=DOWNLOADING
:STATE=62,ETIMERGREATER=300:ETIMERSTART,STATE=64
:STATE=64:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=64:FPGCRAWTEXT=
:STATE=64,ETIMERGREATER=300:ETIMERSTART,STATE=66
:STATE=66:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=66:FPGCRAWTEXT=DOWNLOADING
:STATE=66,ETIMERGREATER=300:ETIMERSTART,STATE=68
:STATE=68:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=68:FPGCRAWTEXT=
:STATE=68,ETIMERGREATER=300:ETIMERSTART,STATE=70
:STATE=70:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=70:FPGCRAWTEXT=DOWNLOADING
:STATE=70,ETIMERGREATER=300:ETIMERSTART,STATE=72
:STATE=72:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=72:FPGCRAWTEXT=DOWNLOAD COMPLETE
:STATE=72,ETIMERGREATER=2000:ETIMERSTART,STATE=74
:STATE=74:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=74:FPGCRAWTEXT=DECRYPTING
:STATE=74,ETIMERGREATER=3000:ETIMERSTART,STATE=76
:STATE=76:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=76:FPGCRAWTEXT=DECRYPTING COMPLETE
:STATE=76,ETIMERGREATER=3000:ETIMERSTART,STATE=78
:STATE=78:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=78:FPGCRAWTEXT=FIND ACCESS CODE TO THE MACHINE ROOM
:STATE=78,ETIMERGREATER=3000:STATE=80
:STATE=80:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=80:FPGCRAWTEXT=SEARCH OFFICES FOR SHIPPING DOCUMENTS
:STATE=80,ETIMERGREATER=3000:ETIMERSTART,STATE=82
:STATE=82:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=82:FPGCRAWTEXT=FIND LOCATION OF ARMS SHIPMENT
:STATE=82,ETIMERGREATER=3000:ETIMERSTART,STATE=84
:STATE=84:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=84:FPGCRAWTEXT=RESISTANCE:
:STATE=84,ETIMERGREATER=2000:ETIMERSTART,STATE=85
:STATE=85:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTY=50,FPCRAWTEXTY=40
:STATE=85:FPGCRAWTEXT=
:STATE=85,ETIMERGREATER=3000:ETIMERSTART,STATE=86
:STATE=86:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=86:FPGCRAWTEXT=RESISTANCE:
:STATE=86,ETIMERGREATER=3000:ETIMERSTART,STATE=88
:STATE=88:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=88:FPGCRAWTEXT=
:STATE=88,ETIMERGREATER=3000:ETIMERSTART,STATE=89
:STATE=89:FPGCRAWTEXTSIZE=20,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=0,FPGCRAWTEXTG=100,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=89:FPGCRAWTEXT=RESISTANCE:MODERATE TO HEAVY
:STATE=89,ETIMERGREATER=3000:ETIMERSTART,STATE=90
:STATE=90:FPGCRAWTEXTSIZE=40,FPGCRAWTEXTFONT=VERDANA,FPGCRAWTEXTR=100,FPGCRAWTEXTG=0,FPGCRAWTEXTB=0,FPGCRAWTEXTX=50,FPGCRAWTEXTY=40
:STATE=90:FPGCRAWTEXT=*CLEAR TO ENGAGE*
:STATE=90,ETIMERGREATER=3000:HUDUNSHOW=OBJ1.TGA,hudreset,hudx=50,hudy=50,hudimagefine=gamecore\text\OBJ2.tga,hudname=OBJ2.tGA,hudhide=1,hudmake=display,STATE=91
:STATE=91,SCANCODEKEYPRESSED=24:STATE=92
:STATE=92:STATE=93
:STATE=93,SCANCODEKEYPRESSED=24:HUDSHOW=OBJ2.TGA,ETIMERSTART,STATE=94
:STATE=94,ETIMERGREATER=500,SCANCODEKEYPRESSED=24:HUDUNSHOW=OBJ2.TGA,STATE=96
:STATE=96,SCANCODEKEYPRESSED=24:ETIMERSTART,STATE=98
:state=98,etimergreater=10:etimerstart,state=99
:state=99,etimergreater=150:state=91
;END OF SCRIPT
PLACE IN THE MAIN OF A TRIGGER EDIT AS DESIRED
HAVE FUN:)
The player walks into a trigger zone and the hud message plays,
after completion you are able to press the O key to call up a hud display giving you the objectives(non-animated)
I am new to scripting so I am quite proud evertime I come up with one that actually does more or less what I want.
I am sure there probably was an easier way of going about this, but this is what my limited experience with scipting came up with.
So try it out and give me some feed back
edit it as you desire, it's faily simple to get the hud to read what you want.
I am thinking about creating another script that alerts the player that there is an incoming message, the player presses the accept message key and the attached script runs. However this script is long enough, I am not sure what I will do about it.
Simply place a trigger in your level and attach the script to the main.
Thanks, have fun