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 / X10's COD5 Nazi Zombie Magic Box /Random weapon generator Thread

Author
Message
X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 7th Mar 2009 03:49
OK i wanted to get this out to people to test and see if you get the same positve results i got

What ive done is attemped an fpsc workaround to achieve the same results as the random weapon generator in cod5 nazi zombie mode

again ive left it very basic to try and avoid any errors for smooth integration into everyones systems, i will be heavily updating this though as there are a lot of potentially great things that could go into this but at the momen just wanted to demonstrate its a possibility to achieve a similar result to what call of duty had



You assign the magicboxtest.fpi included to an entity you want to represent your random weapon magic box. then a room is needed somewhere, inaccessible its only to spawn the weapons, in it place 3 entities named target1, 2 and 3 resepectively, a good distance apart in a rough trianle shape, in the centre place a character from the stock media and assign it the magicboxhelper.fpi, between it and each of the targets place a trigger zone with zoneanykeyactivate.fpi as its main, and the name of the weapon it will be spawning in its ifused field, eg between the magicboxhelper and target1 place a triggerzone with the name of whatever assault rifle you are using (as the hud for target 1 prompts to collect the assault rifle) set the weapon not to spawn at the start and place it where you want the player to be standing when they are 'spinning the box' so that when the prompt is displayed eg'press t for assault rifle' the player presses t, this sets the magicboxhelpers target to target1, it then moves towards this target, triggering the triggerzone which spawns the weapon in its if used, in this case the assault rifle, ontop of the player picking it up instantly

the random generator is a bit glitchly, but i reckon with more weapon options later down the line and some mathematics and logical thinking il get it sorted

one more thing, because i did the huds and put the weapon names in there you may want to change them if you plan on testing this with other weapons, they are currently set up as follows

t selects target 1, represents assault rifle (scifi)
y selects target 2, represents shotgun modernday (generic)
u selects target 3, represens colt4 ww2

-whats in store

- something similar to the 'health for weapons' buying method as there doesnt seem to be the option for a points system in the stock x9 engine, although im considering using variables if anyone can provide an example of using the globalvar,setvar and varequal commands as im not entirely sure how to get these working

-increased delay or making intervening action required to reset the box eg time has to lapse before player can have another go like in cod5 itself

-similar audio cues

-system to prevent players obtaining a weapon if they'cant afford it'

-additional hud 'press m for random weapon'

-spin through images of the weapons rapidly as in the game


and any other additions anyone may feel would be valuable to this project

zip attached containing fpi's and huds
fpis for scriptbank and huds go in languagebank\english\gamecore\huds\text

any help to anyone?

- Why is everyone on here so rude? -

Attachments

Login to view attachments
A r e n a s
16
Years of Service
User Offline
Joined: 9th Jun 2008
Location:
Posted: 14th Mar 2009 21:23
Its good but i would not really sell this atm because of the missing features. But dont get me wrong, its better than anything i could do
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 14th Mar 2009 22:58
...this is already freely available for DL.

I don't believe that he has plans to attempt to sell it...


X10 User
15
Years of Service
User Offline
Joined: 21st Jan 2009
Location:
Posted: 15th Mar 2009 03:22
someone else already done one seth?

its in no way for sale lol! i give my stuff away free with the community, most of you help me so i like to give back, i was working on my tanks game so i didnt have much chance to play with this but i got ideas to cut the fiddliness down (all the entities roaming round) so il release a user friendly one soon, for free, if its not been done

- Why is everyone on here so rude? -
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 16th Mar 2009 00:26
Quote: "someone else already done one seth?"


...not to my knowledge. I was referring to your current DL, X10 User.


meteorite
18
Years of Service
User Offline
Joined: 19th Nov 2006
Location: The Capital Wasteland
Posted: 22nd Mar 2009 04:52
X10, you've quickly become an advanced scripter, I'm impressed, but maybe I just learned slow

"I can't imagine what this place would have been like if I hadn't found you here." - BJ Hunnicutt

Login to post a reply

Server time is: 2024-11-24 21:51:51
Your offset time is: 2024-11-24 21:51:51