- Jun 20, 2014
- 15
- 5
I've been mapping for hammer off and on for years now. I've never finished a map (usually due to lack of motivation). However, after being inspired by what I really wanted to see in a trade map, I've started on a simple trade map with a few little features I really wanted to see.
The big thing is that Red and Blu spawn together in an area where nobody can get killed. I wanted to do that since trade maps seem to love to include an area where people are meant to not kill each other, while having absolutely nothing to stop them from doing so. I got the effect working by putting a trigger_add_tf_player_condition over the area with a timer of -1, effect 51 (TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED) and then hooking up the OnEndTouch output to a point_clientcommand with the command "removecond 51".
It works beautifully. People spawning in get the effect and will loose it correctly upon leaving the area, and will even get it back when re-entering it! However, if somebody changes their class while in spawn, they lose the effect even though they're still in the brush area. Is there any way to fix this or will this be a case of "class changers beware?"
The big thing is that Red and Blu spawn together in an area where nobody can get killed. I wanted to do that since trade maps seem to love to include an area where people are meant to not kill each other, while having absolutely nothing to stop them from doing so. I got the effect working by putting a trigger_add_tf_player_condition over the area with a timer of -1, effect 51 (TF_COND_INVULNERABLE_HIDE_UNLESS_DAMAGED) and then hooking up the OnEndTouch output to a point_clientcommand with the command "removecond 51".
It works beautifully. People spawning in get the effect and will loose it correctly upon leaving the area, and will even get it back when re-entering it! However, if somebody changes their class while in spawn, they lose the effect even though they're still in the brush area. Is there any way to fix this or will this be a case of "class changers beware?"