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 / hiding main huds?

Author
Message
djmaster
User Banned
Posted: 4th Feb 2009 19:53
i got another question,how do i hide the ammo,weapon,health and lives hud?

A.K.A. djmaster
puppysss
17
Years of Service
User Offline
Joined: 13th Mar 2007
Location: UnCyber Space
Posted: 4th Feb 2009 20:03
My problem is the same....



NAVER - PUPPYSSS = TGC - Fpsc Bug Reporter
meteorite
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: The Capital Wasteland
Posted: 4th Feb 2009 22:19
I know you can with ply's mod there are scripting commands for it., do you want them to always be gone, or just at cartain times? If you want them to always be gone I know there is a way with stock, but I can't help you there.


*slap!*
Quiet yourself, think before posting, and maybe you won't be as ignorant as you seem.
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 4th Feb 2009 22:33
Just comment out the lines that create the HUDs in the setuplevel.fpi found at ...

C:\Program Files\The Game Creators\FPS Creator\MyGames\yourgamesname\Files\languagebank\english\gamebank\yourgamesname\setuplevel.fpi

Quote: "

;AIScript from Wizard
;Header
desc = Setup Wizard V103
; Setup Level Stats
:state=0:sky=skybank\ww2\Gas
:state=0:music=audiobank\music\generic\main.wav,musicvolume=50,soundscale=25
:state=0:fog=0,fogred=0,foggreen=0,fogblue=0
:state=0:ambience=25,ambiencered=255,ambiencegreen=255,ambienceblue=255

:state=0:hudreset,hudx=50,hudy=50,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\fader.tga,hudhide=1,hudtype=3,hudmake=internal
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=0,hudblue=0,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\eyehud.tga,hudhide=1,hudtype=2,hudmake=internal
:state=0:hudreset,hudx=50,hudy=50,hudred=128,hudgreen=128,hudblue=128,hudsizex=1024,hudsizey=768,hudimage=gamecore\huds\zoom.tga,hudhide=1,hudtype=4,hudmake=internal
;:state=0:hudreset,hudx=5,hudy=5,hudimage=languagebank\english\gamecore\huds\lives.tga,hudmake=display
;:state=0:hudreset,hudx=4,hudy=8,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=1,hudmake=numeric
;:state=0:hudreset,hudx=15,hudy=5,hudimage=languagebank\english\gamecore\huds\health.tga,hudmake=display
;:state=0:hudreset,hudx=14,hudy=8,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=2,hudmake=numeric
;:state=0:hudreset,hudx=85,hudy=8,hudimage=gamecore\huds\ammo.tga,hudtype=3,hudmake=status
;:state=0:hudreset,hudx=88,hudy=12,hudsizex=16,hudsizey=16,hudimage=gamecore\huds\numeric1.tga,hudtype=3,hudmake=numeric

; Setup Game Menu"


So you comment out six HUDs for machinima...
Lives
Lives Numeric (hudtype=1)
Health
Health Numeric (hudtype=2)
Ammo
Ammo Numeric (hudtype=3)

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 5th Feb 2009 00:35
Or if you want to hide/show on the fly with another script, why don't you just give them a "hudname" and then "unshow" and "show" them like any other hud?


The one and only,


djmaster
User Banned
Posted: 5th Feb 2009 19:20
plystire and conjured,none of your theories worked,neither hudunshow=1 or hudunshow=lives worked.i added the hudname=lives ect. to the lines in the setuplevel.fpi but the hud is still visible,maybe i will have to make a 16:9 effect so a black rectangle appears over those huds?

A.K.A. djmaster
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 5th Feb 2009 22:54
That's not necessary. I've been able to hide the huds doing that for a long time now in the official versions. Make sure you are hiding both the HUD and the NUMERIC HUD for the lives. There are two for each of the counters you see up there.


The one and only,


Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 6th Feb 2009 03:39 Edited at: 6th Feb 2009 03:49
Quote: "plystire and conjured,none of your theories worked,"

I'm not going to argue with you to help you.
I showed you which ones to comment out and I know for a fact that it does work, IF you comment out the right ones.

@Plystire
Maybe you got confused ( )because he asked about hiding the huds not showing them.
So, naming them is useless in this case, but yeah that would be nice if he had asked for that.
The six semicolons to comment out the huds is the easiest way to hide the main huds, and it does work.

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Feb 2009 06:59
If you want to hide a HUD by using the "hudunshow" command, then the HUD needs a name. I thought maybe someone would have liked to know that they could both hide and show the main HUDs on the fly like this, but I guess not.


The one and only,


djmaster
User Banned
Posted: 6th Feb 2009 13:33
i did add hudname=lives ect. in setuplevel.fpi but it doesent hide,well maybe i will have to go with a video cutscene

A.K.A. djmaster
creator of zombies
18
Years of Service
User Offline
Joined: 16th Feb 2006
Location: UK: West Wales
Posted: 6th Feb 2009 17:36 Edited at: 6th Feb 2009 17:38




Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 6th Feb 2009 22:15 Edited at: 6th Feb 2009 22:16
@djmaster:

For each of the numbers shown on the top of the screen, there is a picture it shows which is the text as well as the number itself. These are two seperate huds and will both need a name and both hidden seperately.

Here's an example from the setuplevel.fpi that I use.


Now... in a script in the game (on some entity or marker) I use the following script to hide your Lives HUD AND it's accompanying numeric HUD:



If you just want the HUDs to be gone forever, do what CoZ and Conjured have said.


The one and only,


Spycrabz
16
Years of Service
User Offline
Joined: 29th Aug 2008
Location: Lennox Head, Australia
Posted: 12th Feb 2009 06:49
or...create a hud in paint that is nothing but black and save it as jpg, i use that to hide my lives hud

-insert clever remark here-

Login to post a reply

Server time is: 2024-11-24 19:47:48
Your offset time is: 2024-11-24 19:47:48