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 / hud key script

Author
Message
kmkm
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location:
Posted: 27th Apr 2014 02:27
Hello

Is it possible to do this?
I use this spsript to display a key like hud, and I want when the key opens the door to disappear

See the photo



[img]null[/img]

Attachments

Login to view attachments
ncmako
12
Years of Service
User Offline
Joined: 19th Feb 2012
Location: Hendersonville,NC
Posted: 27th Apr 2014 04:44 Edited at: 27th Apr 2014 04:48
Hi kmkm
It's not too hard to do.
First I cleaned up your key script a bit. Place this into the
"keys" main

Make sure your "redkey.dds" is in that folder.
Then for the door (I assume your using the standard "doorkey" script) you'll have to add one line "hudunshow=redkey"
This unshows your redkey hud. Look at line "state=10" where
player uses the action key.

Use this for your doors "main" script and all should work.
best

Almost forgot, remember to keep your original "doorkey" script.
Name this something like "door_redkey" or what works for you

You know you're a bad gamer when you're able to run out of infinite lives.
kmkm
17
Years of Service
User Offline
Joined: 28th Nov 2006
Location:
Posted: 27th Apr 2014 20:59
Thanks

Login to post a reply

Server time is: 2024-03-29 11:22:23
Your offset time is: 2024-03-29 11:22:23