Please or Register to create posts and topics.

Detect if player is outside of world?

Page 1 of 2Next

Title says it all. I want to make a few of my levels in my campaign noclip proof.

So is there any way to detect if a player is outside of the vis tree?

I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_

You could use triggers, but I don't think you should make something noclip proof. If a player cheats, they are only cheating themselves. There was a topic about this from last year, which can be found here: maps-and-modding/cheating-t1669.html?hilit=anti%20noclip

The Problem with any kind of anti-noclip device is that you either:

a) end up surrounding your map in a big nodraw box
b) dont detect correctly
or
c) detect erroneously, e.g. when player is going through portals.

besides, you can still noclip within the level itself. IT just requires a bit more care.

Hear the turret, for it is knell. It summons thee to heaven, or to hell.
hanging_rope wrote:
You could use triggers, but I don't think you should make something noclip proof. If a player cheats, they are only cheating themselves. There was a topic about this from last year, which can be found here: maps-and-modding/cheating-t1669.html?hilit=anti%20noclip

I second this, it seems like there isn't much you can or should do; as stated in the thread, someone who cheats is only cheating themselves.

If that idiom isn't vindictive enough for you though, create trigger brushes that fill all the rooms in your map, and tie them all to a trigger_multiple. Create a point_clientcommand, and give this output to the trigger_multiple: OnEndTouch-->[clientcommand name here]-->Command-->quit-->0.00 . It's got bugs, but it will tick off cheaters. And isn't that the epitome of the holiday season?

Image
Now with 100% more inline comments!

I already setup my levels with everything disabled so even if you did a noclip....you still can't do the next room or go up the elevator.

However I definitely want to go further by making triggers with !activator -> kill. Not only does it make you lose, but your game crashes too! =D

I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_

It is possible, simply make an outline of your level with the nodraw textures and inside it fill it with trigger_teleports to teleport the player back inside when he tries to no clip.

I strongly advice against it, as it is frustrating, not even to mention you wont be able to noclip yourself

Motanum's Website
Portal Maps - Motanum's Cheating Test [3 map pack and 2nd place winner]
Portal 2 Maps - Slanted Bridge | Main Four | Juggling | Wall Bridge
Aperture Tag - Collection ModDB

Like my work? Spare a coin? Donate via PayPal at eugenio.motanum91 [AT] gmail.com

Why would I need to noclip myself? I can do all my puzzles in under a minute.

EDIT: Well...a minute is a hyperbole. Less then 5 is more suitable.

I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_

Say, you have a long map, and you just cant be bothered to do the first bit, or just want to no clip to see the immense big map you just made, or you need to go back and check something again. As a developer it is nice to noclip

Motanum's Website
Portal Maps - Motanum's Cheating Test [3 map pack and 2nd place winner]
Portal 2 Maps - Slanted Bridge | Main Four | Juggling | Wall Bridge
Aperture Tag - Collection ModDB

Like my work? Spare a coin? Donate via PayPal at eugenio.motanum91 [AT] gmail.com
Whysopro? wrote:
However I definitely want to go further by making triggers with !activator -> kill. Not only does it make you lose, but your game crashes too! =D

Never, never, never, never, never do that. You should NEVER punish the player for cheating by crashing the game, under any circumstance, in any game. Not only is that incredibly bad in terms of "customer service" (Or the closest you can get to that in portal mapping), The player may not understand what caused it, which means they could try to cheat again several times, ending only in frustration and that player absolutely hating you and your map for "crashing their game for no apparent reason".

Pfft! Fine. I am disgusted knowing that there are cheaters out there.

Motanum wrote:
Say, you have a long map, and you just cant be bothered to do the first bit, or just want to no clip to see the immense big map you just made, or you need to go back and check something again. As a developer it is nice to noclip

Isn't that what the cordon tool is for?

I hate hanging with angry people. Why live life if your not having fun ALL the time? =)
O o
/?/___________________________________
| BBBLLLLLLAAAAAAAAAAAAAAARRRGGGG!!!
\_\???????????????????????????????????
_|_
Page 1 of 2Next