Preventing Spawn killing.


(forbidden) #1

Hey guys,

its me again, my clan is big on no spawnkilling i was wondering if i could use trigger_hurt to kill the other team if they step too close to spawn

i know how to do the damage.
how do i set it to one specific team?
does it have to do wit spawnflags or am i just jabbering on?


(TomTom7777) #2

Don’t know about team specific trigger hurts but you can have team specific trigger_multiple that could trigger a small trigger_hurt (like a team specific landmine). And You can also make invisible team specific barriers (e.g those in eagles_2ways trigger_multiple->target_push) Another idea would be to time a large trigger_hurt to only appear about one second or so before the respawn.


(forbidden) #3

have you ever played the map transilvania? well in there if u go into the other teams spawn. Its says [your name] died. and then u die. like if someone went !splat [your name]

i need something like that


(Miki) #4

It would be smart if you made your spawn high. By that I mean that ppl can’t jump IN the spawn, only out? Anyway, never played transilvaina, I would say mail the maker of the map and ask him how he did it :slight_smile:


(nUllSkillZ) #5

My guess:
trigger_hurt will do damage to all players that are in that zone.


(stealth6) #6

yep, you’d have to connect a trigger_hurt to a trigger_multiple somehow.
That’s my idea anyway

EDIT:
Actually you could just make a teleporter infront of the spawn that teleports you into a trigger_hurt.
That was you only teleport the tam you want and they die the way you said


(TomTom7777) #7

If you have not figured transylvania_beta2 spawn killer out yet it is
one trigger_multiple targeting 2 shooter_rockets at almost point blank range in front of you (spaced 60 units apart just above your head about 3 floor tiles in front) They each target a info_notnull aiming at you which in turn target one target_speaker each.

stealth6: I like the idea of teleporting. I don’t know if it can be triggered from a trigger_multiple to limit it by team. Anyway I imagine 2 copies of the spawn room with a corridor partly obscured with a target_smoke. The spawnkiller then steps on the trigger_teleport near the target_smoke and then arrives in the identical corridor of the spawn room copy at the misc_teleporter_dest (say same x and y but a different z coords). Absolutely identical corridor and room except that nobody spawns there and there are no working exits for his team. And thats when the mapper really gets to have some fun (like shooter_rockets at the health and ammo cabinets…:eek::oppressor:) Could be the start for making a map based upon the film Cube.


(-SSF-Sage) #8

Perhaps a teamspecific trigger_multiple targeting to a target_teleporter, which targets a misc_teleporter_dest. That is a good idea.


(shagileo) #9

I was thinking about that too when I saw the film. It’s not that hard since the setting is quite easy to make :slight_smile: . Although I like the movie, I don’t think I’m going to give it a try to make a map of it ^^


(Diego) #10

Use a trigger_mulitple flagged to be team specific. Target the trigger to a Target_kill entity. If you want to add a sound effect or some other scripting function, you can also name a target_script_trigger entity (I think that is it, I have to double check). Use the same targetname for both the target_kill, and target_script_trigger and the trigger_multiple brush will trigger both of them at the same time.

In the target_script trigger give it the scriptname that you want to run, and for the target, the name of the trigger scriptblock you want to run.

I use this in Praetoria to kill cheaters that might use a double jump or a push to get inside the bunker and try to blow the radar controls before the tank has blow any of the entrances. The trigger multiple will instantly kill them, and the target_script_trigger entity calls a script that plays the “HUMILIATION” sound effect from Quake3.

You can also link this to a func_timer so that the killzone is only active during the allies spawn times. But that might just be a little overkill since most spawn times come every 15-20 seconds.


(nOObCity) #11

iv done this already beginning of the year if anyone wants to see it goto

63.209.35.38:27960
8.9.5.52:27960

you will see this on GOLDRUSH, btw dont steal any of my custom models in that map :slight_smile:


(Avoc) #12

In operation chariot we used a trigger_push that pushed the axis off from the allied spawn (a boat) if they tried climbing into it - worked quite well.