Spawning pickup ammo...


(Erik-Ftn) #1

Spawning ammo?

In some mods, gibbed medics drops medpacks and in others any dead player drops binocs.

What I want is to give ammo to someone without a touchfield (eg a target_ammo would be great) or to just spawn or map a pickup ammopack with scripting/ entity/ some mapping trick.

I have tried to build a trigger_ammo, trigger_multiple, target_kill and misc_gamemodel solution to this and it semi-works. It just doesn’t recognise if I pick up the ammo or not…-> I can’t map when to remove it

Any general direction to look in?

Erik

(if the trigger_ammo sends out any signal that can be detected, this can be solved, or if if there is any other way to detect if I can pick up ammo or not, but I have not yet found any)


(Drakir) #2

Dunno if they have removed the stuff from RTCW, but u could try to use the pickups from there.


(Erik-Ftn) #3

thx, checked that out… seems like they (some of them) spawn nicely but can’t be picked up…

health works though.

hmm … still uphill this :slight_smile: