The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
Rising Water
SLi78 Offline
Junior Member

Posts: 23
Threads: 6
Joined: Sep 2010
Reputation: 0
#1
Rising Water

Hi there,

here is my problem. I have a room with a closed door.

When the player us a lever a stream of water is coming out of a tube.

That all works fine, but now my problem.

I've tried a simple plane with a water material set on the floor, after using the lever, i start a timer

void WaterRiseFunc(string &in asTimer)
{
    AddBodyForce("Plane",10000,10000,10000,"");
    AddBodyImpulse("Plane",10000,10000,10000,"");
    AddPropForce("Plane",10000,10000,10000,"");
    AddPropImpulse("Plane",10000,10000,10000,"");
    AddTimer("WaterRise",1,"WaterRiseFunc");
}

so the water should rise.

Of course it doesn't work.Confused

I also have tried the entity "water planes" from the "special" menu.

Again, it doesnt work.

I also have tried values like 50000, nothing.

I've tried to load the "water planes" ent file in the editor and set it to automove, but then the game crashed.

If anyone can help me to rise the water, would be great.
09-29-2010, 06:32 PM
Find


Messages In This Thread
Rising Water - by SLi78 - 09-29-2010, 06:32 PM
RE: Rising Water - by jens - 09-29-2010, 06:59 PM
RE: Rising Water - by SLi78 - 09-29-2010, 07:08 PM
RE: Rising Water - by locker - 09-29-2010, 07:23 PM
RE: Rising Water - by einfrnirdyr - 09-30-2010, 06:11 AM



Users browsing this thread: 1 Guest(s)