Page 1 of 1

Spawnable Collision

Posted: December 1st, 2010, 8:50 am
by Xylozi
Useful for any modders here, but there is now a way to spawn clip within Multiplayer from script.

Code: Select all

sphere = spawn( "trigger_radius", ( 0, 0, 0 ), 0, 64, 64 );
sphere setContents( 1 );
The whole of the trigger will become a 'sphere' of collision, preventing players passing through it.
Video of it in action

Re: Spawnable Collision

Posted: December 2nd, 2010, 2:37 pm
by IzNoGoD
I always thought it spawned a cilinder, not a sphere...
Though, it still isnt useful for me, cause i tried to create a breakfloor map, but it failed big time, max entities is 1024....

Re: Spawnable Collision

Posted: December 2nd, 2010, 2:58 pm
by megazor
didnt it also fucked ur fps up?

Re: Spawnable Collision

Posted: December 2nd, 2010, 8:33 pm
by Drofder2004
This has been known for a while but its uses are limited are mostly not suitable.

Re: Spawnable Collision

Posted: December 30th, 2010, 8:39 pm
by Moustache
I don't know if I should made a new topic for it or just ask it here.

But it is possible to give the collision a color or something like that, so that the players can see that they can't go to the position is of the collision?