Fakebrush question


(TimOOn) #1

Hi,

I was wondering if it is possible to create a fakebrush through etpro mapscripts, that would exist for only one team. Or is there any other way to block specified area from one team?

I know it might be a silly question, but still I’d like to be sure. :slight_smile:


(phisherman) #2

What came to my mind is this, an old ETpro mapscript made by nullskillz.
If I recall correctly, it uses trigger_multiples to alert some kind of weird entity that pushes players back when they try to walk through these triggers.
You could have a look at that script, maybe it’s possible to let the trigger toggle fakebrushes as soon as an undesired player walks into them, if that would be a better solution than the above. Well, hf playing around.

//One thing I’d like to point out though: These push-entities (I forgot their name) can be bypassed by playing dead. I remember that I once tried to “clip” the oasis wall with them, but people would just jump towards it, /playdead while in the air and fly through them unaffectedly.


(Micha) #3

Isn’t spawnflags doing this?

		scriptName "fakebrush1"
		classname "func_fakebrush"
		origin "720 475 10"
                    spawnflags 1   // AXIS_OBJECTIVE(1)
		contents 65536  // CONTENTS_PLAYERCLIP
		mins "-20 -40 -30"
		maxs "1 40 30"

also you could try allowteams “4”


(TimOOn) #4

Thanks phisherman this script is great. I’ve seen it few times in game but I’ve never thought its made through mapscripts. Unfortunately it doesn’t work with func_fakebrush but target_push does the job well.

Tried that already and it didn’t work.
I guess nullskillz wouldn’t made his ingenious script if the blockade could be easily done by fakebrushes.

Thanks for help guys.


(Mateos) #5

target_push (I used it on Huertgen to avoid TJ with Double-Jump for instance); And example can be seen in northpole source :slight_smile:

Resurrection has this, only pushing Allies so they don’t enter the Axis spawn.