AUTOPIPE

Author: goomatz
Total downloads: 2,177
Latest version: 0.2
Release date: 10/07/2014 - 10:37
Install Now
with GooTool
Overall rating
4.75
Your rating: None Average: 4.8 (4 votes)

A setup, of balls, forcefields and some rectangles, which makes the pipe apparently working without a goostructure.

It's basically working with a combination of autoattach, antigravity, strand type rigid, a detaching rectangle and fallingattachment.

Back when WooBLE where published I discovered that balls with fallingattachment=true can be collected by the pipe even if they are attached. This usually crashes the game with one exception. The game doesn't crash iff the ball get detached after it's in the collector tank.

The setup:

It's starting with a small cache (build of rectangles material=machine tag=unwalkable) over the pipe. In this cache is a invisible silent gooball
balls.xml:

<ball 
     antigrav="0.01" 
     autoattach="true" 
     autobounds="false" 
     autoboundsunattached="false" 
     climbspeed="0" 
     collideattached="true" 
     detachable="false" 
     isantigravattached="true" 
     isantigravunattached="false" 
     jump="0.0,0" 
     mass="30" 
     name="gm_util_autopipe" 
     shape="circle,7.5" 
     speedvariance="0" 
     strands="1" 
     suckable="false" 
     towermass="4.0" 
     wakedist="60" 
     walkforce="0" 
     walkspeed="0">
 
 
  <strand 
    dampfac="0.9" 
    image="IMAGE_BALL_GM_UTIL_AUTOPIPE_USEFULLTRANSPARENTSQUARE" 
    inactiveimage="IMAGE_BALL_GM_UTIL_AUTOPIPE_USEFULLTRANSPARENTSQUARE" 
    mass="10" 
    maxforce="1000" 
    maxlen1="120" 
    maxlen2="70" 
    minlen="70" 
    shrinklen="70" 
    springconstmax="7"
    springconstmin="7" 
    type="rigid" 
    walkable="false" />
</ball>

It automatically attaches to the Gooball you want to collect. This activates the pipe and the balls get collected. Now it needs to get detached. The "gm_util_autopipe" ball has antigravity when it's attached. The cache is covered by a forcefield pushing down with a dampeningfactor of 0,6 and antigravity=true. This makes the ball rising slowly untill it touches the ceiling of the cache which is tagged detaching. The cache needs to be high enough that the ball needs enough time to rise up and touches the ceiling right after the collected ball is in the collector tank (the smaller the pipe the better). The forcefiled must be strong enough to push the "gm_util_autopipe" ball down fast after it get detached. It's important that balls get only collected when "gm_util_autopipe" ball is at its lowest point (could cause a crash if not). That's why the player is meant to collect the balls not too fast. I suggest to build a small obstacle in front of the pipe slowing down the speed of the player.

There are three more forcefileds, one below the ball holding it ontop the ground of the cache, and one on each side holding the ball off the walls. Otherwise it can't attach itself.

At last the collectable gooballs:
All they need is not to be grumpy and the attribute fallingattachment must be set true. The whole setup works best with goos whithout own strands.

If you want to see how it works, put visualdebug on or install version 0.1.

Feel free to use the "gm_util_autopipe in your levels.
If you do, tell the player that the pipe doesn't need a goostructure. Some might think: "What a stupid level, where is the goostructure I need to collect the Goo Balls."

There is 1 screenshot.

VersionPlatformRelease DateFilenameSizeDownloads
0.2AllTue, 10/07/2014 - 10:37com.goofans.goomatz.autopipe.goomod8.58 KB1,244
0.1AllMon, 10/06/2014 - 06:25com.goofans.goomatz.autopipe.goomod8.58 KB933

There are 2 current downloads.