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 / [LOCKED] max ammo script

Author
Message
Unknown Truth
19
Years of Service
User Offline
Joined: 16th Feb 2005
Location: Hell
Posted: 23rd Jul 2006 05:37
Is it possible to make a max ammo limit. example: 30 rounds in clip and 100 rounds in inventory...

At the end of each level I make, I have like 1000 extra rounds, I want to fix that by make an ammo limit.

Please help

The truth is still unknown... or is it!
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 23rd Jul 2006 11:32
Just place the maximum amount of ammo you want in your level.
If you want 30 rounds in your clip you either need to change the gun's gunspec file or edit the weapon entity.
Then just place the rest of the ammo in your level or equip your enemies with that same weapon.
When they die they will leave ammo by default.
The only ammo in a level is the ammo you place into it.

Unknown Truth
19
Years of Service
User Offline
Joined: 16th Feb 2005
Location: Hell
Posted: 24th Jul 2006 05:54
No, I want to set a max limit of ammo. You just don't understand. I want people to be able to collect the limit of ammo, then pump enemies full of lead until they're out, then collect more!!!

The truth is still unknown... or is it!
Wrycu
18
Years of Service
User Offline
Joined: 30th Jun 2006
Location:
Posted: 25th Jul 2006 00:05
Go into the gun specs.

3.0GHz Pentium 4HT, 512MB RAM, NVidia 5200 128MB PCI

<--Wrycu-->
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 3rd Aug 2006 07:54
Negative Wrycu, that is for the max CLIP ammo, he wants a maximum on the ammo a player can carry at once. And unfortunatly, I do not believe there is a way to do that.

Your Mod was deleted by the Government.
max ammo
18
Years of Service
User Offline
Joined: 22nd Oct 2006
Location:
Posted: 22nd Oct 2006 13:51 Edited at: 22nd Oct 2006 14:32
its pure [mod edit] having something like 3000000 rpg shells now where on the earth will some one be able to carry that? now last night i tryed accesing gunspec in the commando folder. i tryed editing the gun settings by putting ;maxammo =240

but when you pick up the weapon it makes all the ammo the clip.

james

Login to post a reply

Server time is: 2024-11-22 19:21:01
Your offset time is: 2024-11-22 19:21:01