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 / Press "X" button to pick up weapon and etc.

Author
Message
Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 2nd Apr 2009 02:04
Hi to all. I'm new here. And want to ask you what is the script. That could to press button to pick up weapon or open the pipe or something.
Thank you
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 2nd Apr 2009 17:14
...welcome to the forum.

This should get you started in the right direction:

http://forum.thegamecreators.com/?m=forum_view&t=147267&b=23




Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 2nd Apr 2009 23:45
OH, thanks a lot. One more question what file have it to be? FPI? FPE?
Thank you
The Fps Creator rocks!
16
Years of Service
User Offline
Joined: 24th Oct 2008
Location: Sneaking down your chimney.
Posted: 3rd Apr 2009 00:06
.fpi

My youtube account: funnybun123
Screaming Head Games
15
Years of Service
User Offline
Joined: 13th Dec 2008
Location: You dont want to know......
Posted: 3rd Apr 2009 00:32
idk if you downloaded this or not but it helps alot:

http://forum.thegamecreators.com/?m=forum_view&t=129738&b=23

(\__/)
(O.o )
(> < ) This is your bunny on drugs.
Flatlander
FPSC Tool Maker
17
Years of Service
User Offline
Joined: 22nd Jan 2007
Location: The Flatlands
Posted: 3rd Apr 2009 00:54
Once you start your own script, then if you have any troubles with it come back and ask for assistance. Be sure and include your script. In order to do well with FPSC, you will need to learn how to script. It is possible to create a game with all the stock scripts but more as you have found out, you sometimes will want your own customized scripts.

Be sure and open up some of those stock scripts to see how they are scripted. Also, download FPI EditPad. Screaming Head Games has given the link.

The past has a lot of memories to hold onto; but, today is chock full of new adventures, and, the future shouts out, "The best is yet to come!" -- TerryC
Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 3rd Apr 2009 01:51
Thank you, I have downloaded FPI editpad few days ago and now I want to learn some scripting. And that was my first question that came to my head. "How to pick up a weapon?" I will try to do that script and see how it works. If I will have any problems will post it here, if not will say that here as well.
Thank you for your help
Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 3rd Apr 2009 02:14
Sorry for double posting, but there I need to put the made script?
Thanks
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 3rd Apr 2009 17:01
...Files/Scriptbank/User

To apply the script, Right Click on the Weapon Pickup and set your custom script as its Main Script...


Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 3rd Apr 2009 17:51
OK, I've sorted that out. What I have done, putted the script

into weapons .fpi file but only weapons from Model pack 6 have that, can I apply this for other weapons? Also now when I can pick up weapond. What is the script to drop it?
Thank you
General Jackson
User Banned
Posted: 3rd Apr 2009 19:48
well, sorry but its impossible to drop gun

It is well that war is so terrible or we should grow too fond of it- Robert E Lee
Lunatic
15
Years of Service
User Offline
Joined: 1st Apr 2009
Location:
Posted: 3rd Apr 2009 20:04
Oh, really? Oh well....
So what about other guns because the thing is, I want that player could see what he is picking up, but other guns doesn't have the .fpi files....
Screaming Head Games
15
Years of Service
User Offline
Joined: 13th Dec 2008
Location: You dont want to know......
Posted: 4th Apr 2009 00:11
the guns use a gunspec which can be found in the proper gun folder located in the gamecore

(\__/)
(O.o )
(> < ) This is your bunny on drugs.

Login to post a reply

Server time is: 2024-11-24 23:11:16
Your offset time is: 2024-11-24 23:11:16