Setting ammo on weapon pickups (CS:S)
Post Reply
Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by [BSOD]TopGooner on Wed Dec 8th at 4:45pm 2004


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....





Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by Tracer Bullet on Wed Dec 8th at 7:15pm 2004


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. [addsig]



Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by [BSOD]TopGooner on Thu Dec 9th at 11:45am 2004


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 !



Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by smidsy on Fri Dec 10th at 4:06pm 2004


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..



Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by [BSOD]TopGooner on Tue Dec 14th at 4:50pm 2004


Thats my problem. I think I *may* have found something tho - will let you all know if it works.



Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by [BSOD]TopGooner on Thu Dec 16th at 2:53pm 2004


didn't work. I guess this isn't implemented as yet.



Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by Raeth on Thu Dec 16th at 7:00pm 2004


Thank goodness no one else has figured this out either -- the last thing the world needs is more fy_ maps.




Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by omegaslayer on Fri Dec 17th at 1:18am 2004


? quote:
Thank goodness no one else has figured this out either -- the last thing the world needs is more fy_ maps.

AMEN!!!!!!!!!
[addsig]




Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by Sparky911 on Mon Apr 10th at 12:01am 2006


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 <img src=" SRC="images/smiles/icon_smile.gif">




Quote
Re: Setting ammo on weapon pickups (CS:S)
Posted by Sparky911 on Mon Apr 10th at 1:39am 2006


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.




Post Reply