Please or Register to create posts and topics.

Breakaway Floor

Hey guys. I have a question about floors. I'm trying to make one that will just fall away, without being attacked or anything, when you walk on it. I want it to be like in chapter 1 of Portal 2, when

Spoiler
Wheatley tells you to walk over to the Portal Gun Pedistal, and the floor falls.

There are a few different ways to orchestrate it. First, you could always use a func_breakable, which is a brush that can break on touch or through the I/O system. Also, you can use a func_physbox that starts with motion disabled. When motion is enabled (through I/O) it will start falling.

Image
Now with 100% more inline comments!

I just tried the func_breakable, but it looks REALLY fake and sloppy. Would a func_physbox look like the area I suggested in my previous post? That's the look I'm going for.

TripleG10 wrote:
I just tried the func_breakable, but it looks REALLY fake and sloppy. Would a func_physbox look like the area I suggested in my previous post? That's the look I'm going for.

Yes. It will turn the brushwork into a physics object which is affected by the gravity in your map.

.:: [SP] Lost in Testing :: #1 :: #2 :: #3 :: #4 ::.

Then just trigger it.

My Maps:
[spoiler][SP] Alternate[/spoiler]

What I've found to look the most realistic for a falling ceiling or breakaway floor is to have the ceiling or floor made up of a few func_physboxes (motion disabled) and then with your trigger have some of them fall immediately and some fall with a bit of a delay. This way you can create an effect of the floor starting to fall furthest away from the player and rushing up towards you or the oppoiste and so on...

The other option is to include a single explosion with a wide radius at the top-center of the floor physboxes which will make them fall in a sprawling realistic way.

Its all up to how you want it to look really.

Remember, Science Rhymes With Compliance.
Do You Know What Doesnt Rhyme With Compliance?
NEUROTOXIN.

This kind of thing:

http://www.halfwit-2.com/?page=tutorials&id=83

Remember, Science Rhymes With Compliance.
Do You Know What Doesnt Rhyme With Compliance?
NEUROTOXIN.

The pit you fall in at the beginning of the game,

Spoiler
the portal gun pedestal one
, is actually a prop that plays an animation when you step on a trigger on top of it.

hmm... a falling floor with func_physbox, a great trap to add.

Crazy is as crazy does.
My Work
[spoiler]Maps:
Revenge of the Angry Turrets
Capture the Cube [Co-op]
Capture the Cube 2 [Co-op]
TPWEGTH Sample Map
Aperture Aquatic Testing Center
Aperture Aquatic Testing Center 2
Aperture Time Testing Center
ML's Halloween Trick - 1000 downloads!
ML's Halloween Treat
ML's Combination - 1000 downloads!
ML's Jailbreak Labyrinth
ML's Tricky Teamwork [Co-op]
WIP:
"Capture the Cube 3"
Workshop Maps Link: http://steamcommunity.com/profiles/76561198008890579/myworkshopfiles/[/spoiler]

I always use func_physboxes for falling floors and walls. A func_breakable would have a bit less lag,
but a physbox would look more realistic