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 / Stepping Closer to custom Class Capabilities

Author
Message
washburnrover
13
Years of Service
User Offline
Joined: 4th Oct 2011
Location:
Posted: 8th Feb 2012 03:45
alright, so for my game (though mostly based around singleplayer, i'm very motivated to make the most of fpsc's online) there will eventually be custom classes, but for now, here's my concept for preset mulit-item setups:

step1) copy fpi for each useable gun, make sure it allows for variable (eventually your loadout choice) make sure it has infinite player pickup range. Put on infinite respawn and such, but only allowing one at a time to be equipped.

step2) create fpi file where each time YOU respawn, it shows a class selection hud and an input of keys 1-5, which corresponds to a class setup. the variable would then collect the corresponding guns

step3) use a useless gun/health pack and put the class selection fpi on its "main" AI script

I still have to code this... TO THE MANUALS!!!

thoughts? recommendations? Help code?

"Life is like a box o' chocolates, neva' know what ya' gonna get."
- Forest Gump
AMF Productions Founder
14
Years of Service
User Offline
Joined: 11th Oct 2010
Location: Toronto
Posted: 17th Feb 2012 20:13
This is a very cool idea. If you haven't already, I would love to do the huds for you, if you want. I have nothing to do, and I love designing huds. Plus, I have pro program for making outstanding huds.

I know not with what weapons World War III will be fought, but World War IV will be fought with sticks and stones.
Pvt_Classified
12
Years of Service
User Offline
Joined: 19th Jan 2012
Location: How should I know?
Posted: 18th Feb 2012 18:34 Edited at: 19th Feb 2012 01:38
Cool Idea, here are some tips.

1. I don't know key numbers, so insert the numbers you want. Fill in the xxxx for scancodekeypressed with those numbers.
2. Create an entity of the guns you want in your level. You said one through five, so I have it five times. Fill in the xxxx in settargetname=xxxx for the exact name of the entity gun.
3. Should be good to go, but I haven't tested it obviously.



Good luck, Pvt_Classified

P.S. You'll still have to do the coding for the hud to appear and disappear, I haven't done that in this.

P.P.S. If someone would point me to a source that would tell me which numbers are for which keys, that would be much appreiated and perhaps I could be of greater help.

Pvt_Classified at http://assembledpirateswithblowtorches.weebly.com/
Pvt_Classified
12
Years of Service
User Offline
Joined: 19th Jan 2012
Location: How should I know?
Posted: 19th Feb 2012 03:20 Edited at: 19th Feb 2012 03:21
I redid the script a bit. BTW, thanks to Ched80 for Complete Script Syntax List and Terri Cox for FPI Editor. Both are great tools. Thanks to Ched I also learned the key numbers, so here goes.



I'm still learning. I can't test it at the moment, but please let me know if it works!

Best of Luck,

Pvt_Classified

Pvt_Classified at http://assembledpirateswithblowtorches.weebly.com/
Pvt_Classified
12
Years of Service
User Offline
Joined: 19th Jan 2012
Location: How should I know?
Posted: 19th Feb 2012 21:04
Third version of the script, huds not included because they're not very good. Again, I couldn't test it because I'm not familiar with FPSC's multiplayer and how it works, it definitely changes from singleplayer. Anyways, I'm not really working with FPSC at the moment as I am trying out other softwares. Best of luck on the create a class, though.



Pvt_Classified at http://assembledpirateswithblowtorches.weebly.com/
washburnrover
13
Years of Service
User Offline
Joined: 4th Oct 2011
Location:
Posted: 20th Feb 2012 18:10
thanks pvt_classified, I'm trying to get them to work now (the first two weren't workin but the 3rd should)

@AMF: thanks, I let you know if i get stuck on the huds (i've got photoshop,but i'm not the best with it, lol)

thanks both of you

That Big Idea guy that can't find the time...

Login to post a reply

Server time is: 2024-11-24 01:18:57
Your offset time is: 2024-11-24 01:18:57