Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / HUDs appear the same in the level

Author
Message
Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 10th Apr 2009 20:03
When I add a HUD to my level all the HUDs appear the same ie. I want one a HUD to appear when i go into a trigger zone and I can't put different somewhere else becauseit apears the same as the first.

Please can anyone help me?
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 11th Apr 2009 13:50
Have you called each hud you are using a different name??

Example; if you have 3 different hud displays, you will need:

3 sets of scripts, .tga files and trigger zones.

myownhud1.fpi set to show myownhud1.tga trigger zone main set to myownhud1.fpi
myownhud2.fpi set to show myownhud2.tga trigger zone main set to myownhud2.fpi
myownhud3.fpi set to show myownhud3.tga trigger zone main set to myownhud3.fpi

If this is how you have it set up, attach the script you are using and I will have a look.



Far too new to be helping...

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 11th Apr 2009 17:01
...yep. Post your script, so we can see what you're using.

It's probably a minor oversight...


Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 11th Apr 2009 18:34
;Artificial Intelligence Script

;Header

desc = My Own HUD

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\myownhud.tga,hudname=myownhud,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=myownhud,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud,state=1


;End of Script

and

;Artificial Intelligence Script

;Header

desc = Use Switch (animated lever)

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=HUDbank/Raystro/Level 1-1.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=100:hudshow=useswitchprompt,hudfadeout=useswitchprompt

;End of script

Ive tried both of these
Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 11th Apr 2009 19:00
The two i was using were:

;Artificial Intelligence Script

;Header

desc = Switch Activate (toggle on and off)

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=HUDbank/Raystro/Level 6 - Start.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt

;End of Script

and

;Artificial Intelligence Script

;Header

desc = Switch Activate (toggle on and off)

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=HUDbank/Raystro/Level 6 - Engines.tga,hudname=useswitchprompt,hudhide=1,hudmake=display,state=10
:plrdistwithin=50:hudshow=useswitchprompt,hudfadeout=useswitchprompt

;End of Script
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 11th Apr 2009 20:49
Quote: "Ive tried both of these "


and did you change the name of the hud in the script for each hud you wanted to display?

ie;

;Artificial Intelligence Script

;Header

desc = My Own HUD

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\myownhud1.tga,hudname=myownhud1,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=myownhud1,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud1,state=1

;Artificial Intelligence Script

;Header

desc = My Own HUD

;Triggers

:state=0:hudreset,hudx=50,hudy=90,hudimagefine=gamecore\text\myownhud2.tga,hudname=myownhud2,hudhide=1,hudmake=display,state=1
:state=1,plrwithinzone=1:hudshow=myownhud2,state=2
:state=2,plrwithinzone=0:hudunshow=myownhud2,state=1

Where you change myownhud to myownhud1 and myownhud2

So basically changing any "myownhud" to the name of the hud you want to use?

I hope this makes sense?

If not, give me 2 or 3 of the hud you want to use and I will put them into the script for you and you can see where to change it for each new hud.



Far too new to be helping...

Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 11th Apr 2009 20:56
Yes
Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 11th Apr 2009 20:59
Actually could you give me a script please and just specify where to change please? That would be a great help

Thanks
Dandyman
15
Years of Service
User Offline
Joined: 10th Apr 2009
Location:
Posted: 13th Apr 2009 13:45
THANKS YOU've been a great help
Freakon
15
Years of Service
User Offline
Joined: 24th Feb 2009
Location:
Posted: 14th Apr 2009 00:12 Edited at: 14th Apr 2009 00:14
Did you get it working then?

If not yet, give me the name of the .tga files you are going to use and I will script them for you

Login to post a reply

Server time is: 2024-11-24 23:56:20
Your offset time is: 2024-11-24 23:56:20