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 / Ammo Dumps?

Author
Message
Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 10th Mar 2007 23:37
Is it possible to make ammo dumps, like in Pariah, were you go up to a box thing, and you get ammo?

Like, I take the closed cabinet entity (I dunno which storage letter it is), then put an ammozone there, then I give myself a minigun, and I have 0/0 ammo. I go up to the cabinet, and BA-WHAM!! I've got some ammo. Is this possible?

Clarion: Violent Clash

Arriving in 2007.
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 11th Mar 2007 00:00 Edited at: 11th Mar 2007 00:08
How about you place every type of ammo you have around it, then turn spawn at start to no and spawn after delay to yes, and then rename all the ammo entities to "ammodump".

Then just give the cabinet this code, and set the "if used" to "ammodump".



I'm not 100% if this works, so I might go test it.

Edit: Yeah it worked.

Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 11th Mar 2007 00:07
Ehhh, where do I put it, Inspire?

Clarion: Violent Clash

Arriving in 2007.
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 11th Mar 2007 00:09
Where do you put what? I attached the script if that's what you're asking for.

Attachments

Login to view attachments
Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 11th Mar 2007 00:14
No, I meant, is that the whole script? And should I put it in the scriptbank/people area? i'm confused.

Clarion: Violent Clash

Arriving in 2007.
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 11th Mar 2007 00:33
It doesn't matter where you put it as long as you make the cabinet use it.

Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 11th Mar 2007 00:41
OK, I tested it, and it doesn't work. So I name the cabinet ammodump, and give it the command ammodump.fpi (which I copied/pasted into notepad, then saved it in the scriptbank folder), and I do all that, the if used field, the script--everything! It doesn't work. And I want it so that when you press Enter, it activates.

Clarion: Violent Clash

Arriving in 2007.
darimc
17
Years of Service
User Offline
Joined: 19th Jan 2007
Location: Canada
Posted: 11th Mar 2007 00:51
just make the cabinet have ammo.fpi or whatever.

go to:
www.freewebs.com/futurefps
www.chainoffreedom.com.piczo.com
Inspire
17
Years of Service
User Offline
Joined: 23rd Dec 2006
Location: Rochester, NY
Posted: 11th Mar 2007 01:08
No.

1. You give the cabinet the ammodump script.
2. You place ammo all around it. Right click the ammo, and change the "spawn at start" to no, and the "spawn after delay" to yes.
3. Rename each ammo entity to be called "ammodump".
4. Enter the word "ammodump" into the If Used field.

Make sure that the cabinet is a dynamic entity. If you don't want it to move, switch it to IsImmobile.

Zdrok
17
Years of Service
User Offline
Joined: 19th Dec 2006
Location: Pittsburgh
Posted: 11th Mar 2007 01:10
OK, I'll try it after my shower.

Clarion: Violent Clash

Arriving in 2007.

Login to post a reply

Server time is: 2024-11-23 11:55:26
Your offset time is: 2024-11-23 11:55:26