Frictional Games Forum (read-only)

Full Version: Remove plane?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How can i remove a primitive plane which is used for the water?
I know that liquid area can be removed with set entity active false , but it didn't work with the plane.
Help me please :]
Area you going to make it like Frictional Games did?

Because they didn't do that.
They had a separate copy of the start of the map, and when you collide with an area you get teleported to the waterpart
(11-30-2012, 08:44 AM)beecake Wrote: [ -> ]Area you going to make it like Frictional Games did?

Because they didn't do that.
They had a separate copy of the start of the map, and when you collide with an area you get teleported to the waterpart
I was thinking to do like that but it's too much work ._.
Are there any other solutions?

if not i guess i'll have to do like frictional games did Big Grin
You can create a model which is basically a plane with a water texture assigned to it. Make it an entity which can be set to active=false and then use that for possible water.
There is already sewer water plane model that was used in the cistern entrance - its a little small, but tileable.
(11-30-2012, 08:45 AM)naseem142 Wrote: [ -> ]
(11-30-2012, 08:44 AM)beecake Wrote: [ -> ]Area you going to make it like Frictional Games did?

Because they didn't do that.
They had a separate copy of the start of the map, and when you collide with an area you get teleported to the waterpart
I was thinking to do like that but it's too much work ._.
Are there any other solutions?

if not i guess i'll have to do like frictional games did Big Grin
It's not so much work, naseem.

Just Ctrl+D the map you made and then set up the environment. It's this:

void TeleportPlayer(string& asStartPosName);
with asStartPosName the start area where you will get teleported. FadeOut, teleport, fade in, it's super easy.