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 / Possible scripting?

Author
Message
Cross Hair Games
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Canada Eh\'
Posted: 4th Jan 2011 19:37
Hey, I'm making a left for dead style game, and I was wondering if it's possible to make a script were you have to press a button to pick guns, ammo, health ect. Like the same button for all. And any other tips you guys think I should put into the game would be great.

If you don't try, you fail.
Turtle Productions
15
Years of Service
User Offline
Joined: 22nd Jan 2009
Location: Finland
Posted: 4th Jan 2011 20:09 Edited at: 4th Jan 2011 20:10
Do you mean that you have to press a button on keyboard or a hud?
Both are able to make, but pressing a button on keyboard is very simple. Here is a script for it:

So I just added few things to the default weapon.fpi

Thanks,
TP
Cross Hair Games
15
Years of Service
User Offline
Joined: 26th Jan 2009
Location: Canada Eh\'
Posted: 4th Jan 2011 20:42 Edited at: 4th Jan 2011 20:44
Ok thanks! Does this show a HUD prompt to tell the player to puck it up? Sorry I should've been more specific.
Also is it possible to make it so the player only has three weapon slots and when all three are filled and they pick up another it drops the gun the previously were holding in there hand?

-------edit-------
Oh wools, it does make a press enter prompt come up, my bad didn't see that before I asked if it does

If you don't try, you fail.

Login to post a reply

Server time is: 2024-11-24 14:30:55
Your offset time is: 2024-11-24 14:30:55