Spawnable Collision

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
User avatar
Xylozi
CJ Fan
CJ Fan
Posts: 104
Joined: November 29th, 2008, 2:16 am
Location: UK
Contact:

Spawnable Collision

Post by Xylozi » December 1st, 2010, 8:50 am

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

IzNoGoD
CJ Worshipper
CJ Worshipper
Posts: 343
Joined: January 6th, 2009, 8:39 pm
Location: Netherlands/Holland

Re: Spawnable Collision

Post by IzNoGoD » December 2nd, 2010, 2:37 pm

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....
LMGTFY!

Its not a glitch... Its the future!

megazor
CJ Worshipper
CJ Worshipper
Posts: 414
Joined: July 22nd, 2009, 3:02 am
Location: Russia, Vladivostok

Re: Spawnable Collision

Post by megazor » December 2nd, 2010, 2:58 pm

didnt it also fucked ur fps up?

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Spawnable Collision

Post by Drofder2004 » December 2nd, 2010, 8:33 pm

This has been known for a while but its uses are limited are mostly not suitable.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Moustache
CJ Worshipper
CJ Worshipper
Posts: 476
Joined: August 18th, 2008, 9:30 am

Re: Spawnable Collision

Post by Moustache » December 30th, 2010, 8:39 pm

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?

Post Reply