Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I disable floors (planes)?
EnemyAC130 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2013
Reputation: 0
#1
How can I disable floors (planes)?

How can I disable floors (planes)?

I want to make it so that you go in to the Area an than the floor will despawn. (The Plane).

Does anyone know of a script for this?

My Script: (Doesn't Work)

{
AddEntityCollideCallback ("Player", "bodenwegarea", "BodenDespawnt", true, 1);
}

void BodenDespawnt (string &in asParent, string &in asChild, int alState)
{
SetEntityCollide ("boden", false); (<- "boden" is the floor)
GiveSanityDamage (5.0f, true);
}

Please help. thank.

[Image: unbenanntew3iz7p6v5.png]
07-31-2013, 07:06 PM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: How can I disable floors (planes)?

I'm not sure if it's possible trough the level editor (Since it's an static object) but you can model a floor, export it and make it an entity (Or maybe an slide object, so it'll slide away underneath your feet)
07-31-2013, 07:27 PM
Find
EnemyAC130 Offline
Junior Member

Posts: 4
Threads: 2
Joined: Jul 2013
Reputation: 0
#3
RE: How can I disable floors (planes)?

Thank for your answer
07-31-2013, 07:41 PM
Find
MulleDK19 Offline
Senior Member

Posts: 545
Threads: 21
Joined: Jun 2009
Reputation: 10
#4
RE: How can I disable floors (planes)?

Plane is a static object. You cannot interact with static objects in any way. Like Smoke said, you need to make a model with a floor texture.

[Image: 16455.png]
07-31-2013, 10:09 PM
Find
DeAngelo Offline
Senior Member

Posts: 263
Threads: 26
Joined: Feb 2013
Reputation: 11
#5
RE: How can I disable floors (planes)?

I found the easiest way to do something like this in one of my maps was to take a random object (I use paintings since they're flat), then in the model editor line the area slightly above it with billboards of the floor texture you want to use. Make sure the body matches up to where the floor billboards are. Then just put as many into your level as how much floor you need, then despawn them when the time comes.

A Late Night Drink http://www.moddb.com/mods/a-late-night-drink
Check out my LP channel, CatBearGaming, I take all Custom Story requests!
08-01-2013, 05:27 AM
Find




Users browsing this thread: 2 Guest(s)