I searched but couldn’t find anything. I want to have a team specific area to hurt players of that team. I tried adding a key-value of teams-allied/axis to trigger_hurt, tried adding dmg-# damage-# to other triggers with spawnflags like “axis only” “allied only” “soldier only” etc… but none work. So is there a way to make such a thing at all?
team specific trigger_hurt, possible?
Just a little curious as why somthing would hurt the allies and not the axis, or vice versa.
I’m trying to make the spawn points kinda spawnkill-proof
But atm that works for Axis only, they have to defend this base where they have spawn barracks with multiple ways out and all entries to/from the barrack has team doors. But allied got their ass wide open to spawnkillers. Of course, what I’m planning won’t be something like, “an axis entering allied spawn area suddenly dies”. Believe, I found a nice trick which makes sense, and hopefully people will get to see it very soon.
These are the best wasy I can think of…
decreasing useability in this list… (some is even rediculous
)
-
Build an electrical fence lying on the ground (or something) with a trigger_hurt. Make a trigger_multiple (allies only) trigger a script or use a (touch?) teamdoor (allies, covops?) on both sides to remove/ open/ disable the fence/ electricity for 5-10 secs. You could also make such a door a button or so small its barely visible though the function is there, like if there were a guard controlling the electricity.
-
Trigger_multiple (axis only, wait 5) -> shooter_rocket -> info_notnull
-
a small func_door (touch, axis only) -> trigger_hurt (will be switched on and off)
-
Trigger_multiple (axis only) -> target_push (small push upwards) -> makes the player hit a trigger_hurt
-
trigger_multiple (axis only) -> target_effect (small explosion)
-
trigger_multiple (axis only, wait 5) -> target_teleport -> misc_telporter_dest -> to area w trigger hurt and immediate return to first area.
that sounds neaat, thanks dude, I will try this.
What I was trying to make was, I placed 2 trucks to allied spawn and place some sandbags with hidden mg42s, so when an axis would enter the trigger area, trigger_hurt would hurt him while another script played mg42 sound with an animated firing texture on the mg42s, giving the impression that there were 2 allied soldiers with mg42s, guarding the spawn area. Hopefully, I’ll get it done with the help you provided!
Just curious, what happens if an Allied soldier is there when the Axis Soldier triggers the trap?
I would be very angry if i´d just spawned and some Axis dude who was about to spawnkill killed me anyway because of the trap.
hehehe, who said mg42 guys at the trucks aren’t drinking 
damn, you’re right. My first attempt at doing the thing failed and didnt have the time to work on it due to school but youre right, it can be a serious issue.
Oh, SD, why did you not make a team specific spawnflag for trigger_hurt!
Well, If I manage to do it, people will have to buy it, soldiers are high on drugs or drink 
I’m not too sure if this would be bad for server load, but you could set up a bunch of very small trigger_multiple/trigger_hurt pairs along a line.
Make them very small, maybe 4 units wide or so, so only one player is ever going to touch it, and space them exactly a player width apart so you have as few as possible.
That should get around the problem, unless an ally and axis happened to have a hug over one of these points at just the right moment :poke: