picking up ammo in SP?

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
{DFA}Gen_Lars Triver

picking up ammo in SP?

Post by {DFA}Gen_Lars Triver »

How do i add ammo to my map. I just want to put the clips in the map. It says it got blahblahblah ammo, but it doesnt add it to the ammo i have.
Also, how do i respawn guns and health and that stuff in a deathmatch map?

Thanks
Lars Triver
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Re: picking up ammo in SP?

Post by Angex »

{DFA}Gen_Lars Triver wrote:picking up ammo in SP?
Its done via your map's script, I suppose you need to use a trigger, but since I've never thought about it till now there's probably a better way of doing it.

$player ammo smg 30

$player ammo - This part tells the script to give ammo to the player.

smg - This is the type of ammo to give them. Valid ones are pistol (e.g. Colt .45), rifle (e.g. M1 Garand), smg (Thompson), mg (BAR), grenades(Frag), shotgun, heavy(Bazoker).

30 - This is the amount of ammo to add.
Post Reply