Setting ammo on weapon pickups (CS:S)

Setting ammo on weapon pickups (CS:S)

Re: Setting ammo on weapon pickups (CS:S) Posted by [BSOD]TopGooner on Wed Dec 8th 2004 at 4:45pm
[BSOD]TopGooner
4 posts
Posted 2004-12-08 4:45pm
4 posts 0 snarkmarks Registered: Dec 8th 2004 Location: UK
This is driving me MAD !

I have built a basic map (fy_woodworld fwiw) and have dropped weapons etc for pickup. However I have not managed to set the ammo in the weapons to anything other than the standard 1 clip. Very annoying if you pick up a deagle with just 7 shells !

First problem is how to do this - I guess a trigger can be used ?

Second problem is does anyone know what all the different ammo names are ?

Surely someone, somewhere knows.... :cry:
Re: Setting ammo on weapon pickups (CS:S) Posted by Tracer Bullet on Wed Dec 8th 2004 at 7:15pm
Tracer Bullet
2271 posts
Posted 2004-12-08 7:15pm
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
I don't know much about CS:S, but you might try using a game_player_equip, or whatever it's replacement in HL2 is, to give everyone lots of ammo to start with.
Re: Setting ammo on weapon pickups (CS:S) Posted by [BSOD]TopGooner on Thu Dec 9th 2004 at 11:45am
[BSOD]TopGooner
4 posts
Posted 2004-12-09 11:45am
4 posts 0 snarkmarks Registered: Dec 8th 2004 Location: UK
I know how to equip the ammo I think, it's the names of the ammo that is a problem. I think the ammo for the deagle is called ammo_ea or something. It's the other names I need !
Re: Setting ammo on weapon pickups (CS:S) Posted by smidsy on Fri Dec 10th 2004 at 4:06pm
smidsy
143 posts
Posted 2004-12-10 4:06pm
smidsy
member
143 posts 44 snarkmarks Registered: Dec 4th 2004 Occupation: ex army, working as electrition Location: uk
i think that if you use a trigger ontop of the deagle weaon and set it to spawn some ammo from the trigger it might work, im not too sure what the ammo is called tho..
Re: Setting ammo on weapon pickups (CS:S) Posted by [BSOD]TopGooner on Tue Dec 14th 2004 at 4:50pm
[BSOD]TopGooner
4 posts
Posted 2004-12-14 4:50pm
4 posts 0 snarkmarks Registered: Dec 8th 2004 Location: UK
Thats my problem. I think I may have found something tho - will let you all know if it works.
Re: Setting ammo on weapon pickups (CS:S) Posted by [BSOD]TopGooner on Thu Dec 16th 2004 at 2:53pm
[BSOD]TopGooner
4 posts
Posted 2004-12-16 2:53pm
4 posts 0 snarkmarks Registered: Dec 8th 2004 Location: UK
didn't work. I guess this isn't implemented as yet.
Re: Setting ammo on weapon pickups (CS:S) Posted by Raeth on Thu Dec 16th 2004 at 7:00pm
Raeth
62 posts
Posted 2004-12-16 7:00pm
Raeth
member
62 posts 16 snarkmarks Registered: Nov 24th 2004 Location: USA
Thank goodness no one else has figured this out either -- the last thing the world needs is more fy_ maps.
Re: Setting ammo on weapon pickups (CS:S) Posted by omegaslayer on Fri Dec 17th 2004 at 1:18am
omegaslayer
2481 posts
Posted 2004-12-17 1:18am
2481 posts 595 snarkmarks Registered: Jan 16th 2004 Occupation: Sr. DevOPS Engineer Location: Seattle, WA
Thank goodness no one else has figured this out either -- the last thing the world needs is more fy_ maps.
AMEN!!!!!!!!!
Re: Setting ammo on weapon pickups (CS:S) Posted by Sparky911 on Mon Apr 10th 2006 at 12:01am
Sparky911
89 posts
Posted 2006-04-10 12:01am
89 posts 109 snarkmarks Registered: Nov 7th 2004 Occupation: Auto mechanic Location: Canada
Why don't you 2 guys post positive feedback like maybe on how to place ammo rather then complain about fy maps.

As for placing ammo I too am having this problem. I will try to figure it out and post an answer here if I find one :smile:
Re: Setting ammo on weapon pickups (CS:S) Posted by Sparky911 on Mon Apr 10th 2006 at 1:39am
Sparky911
89 posts
Posted 2006-04-10 1:39am
89 posts 109 snarkmarks Registered: Nov 7th 2004 Occupation: Auto mechanic Location: Canada
Ok I figured it out. First place a game_player_equip and choose a unique name for it. I choose equip_tmp. Go to its properties by hitting ALT and Enter. Click the SmartEdit button. Click the Add button and set the key as the ammo name. I used ammo_9mm for the TMP. Set the value as the number of clips you wish to give. I choose 2. Then click the Flags tab and check the Use only checkbox. Now click the Apply button and close that window. Now place your weapon. In this case the TMP which is weapon_tmp. Go to the properties for this weapon (ALT Enter again). Click the Outputs tab. Click the Add button. On the dropdowns set as follows: My output named OnPlayerPickup, Target entities named equip_tmp. Check the Fire only once checkbox. Now click Apply and you should be set. You will have to do this for every weapon you wish to place. If you place more then one of the same weapon then they can share the same game_player_equip.