News:

Come Chat with us live! Learn how HERE!

Main Menu

Diagonal door bug

Started by Firstinaction, March 11, 2011, 02:48:03 AM

Firstinaction

I have a diagonal door that makes my spectator camera get stuck

Should I not use the diagonal door or what?

Firstinaction

Any help with a diagonal door in your map.   It works fine but it makes the spectator camera get stuck.


Xedoh

The only solution I could think of is to look in which wall you get stuck as spectator and place a teleporter inside the wall that teleports you out again. I am however afraid that the door could get one-way for spectators.
Wisdom starts where knowledge ends.

Firstinaction

Quote from: Xedoh on March 14, 2011, 05:44:53 PM
The only solution I could think of is to look in which wall you get stuck as spectator and place a teleporter inside the wall that teleports you out again. I am however afraid that the door could get one-way for spectators.
"I could try but my knowledge with teleports is bad",  But yea its pretty much the only bug and its probably going to make my map be a push back from being released until I can fix the problem...

I can release it but its the spectator camera getting stuck... (crap)

Xedoh

Making a teleport is simple:


  • Make a brush with the "common/trigger" shader.
  • Apply a "trigger_teleport" to it.
  • (In your case set the "spectator" spawnflag, so it's only useable for spectators.)
  • Create a "misc_teleporter_dest" at the target location and have it targeted by the "trigger_teleport".

That's all. It would have been easy to find out yourself btw. There's enough help in radiant itself to get an idea how it works.
Wisdom starts where knowledge ends.

Odin

Or we could just get a patch in that forces spectators to be noclip and ignore door teleporting.

Firstinaction

True I can try that. What's the point if no clip    Does it make every thing go through it including the walls or door

Odin

Quote from: Firstinaction on March 15, 2011, 01:56:47 PM
True I can try that. What's the point if no clip    Does it make every thing go through it including the walls or door
Noclip makes the player able to fly around, disregarding walls and other things. Spectators with noclip on get a bit of a precision benefit from noclip, as it stops and starts instantly. However, door portals still teleport spectators through doors, and that code just needs to be taken out as it serves really no purpose.