Author Topic: Floatable Plates/Baseplate Bricks  (Read 927 times)

I need baseplates that can float in mid air. I also need some of these qualities.

  • Build and delete bricks on it
  • When you load the build, you can still build and delete bricks on it.
    (Issues occur with mods like hackplant where when you load the bricks, none of them are considered the baseplate. One wrong move can collapse the whole build. I need for this to not happen)
  • Sizes 8x, 16x, 32x
  • Bricks located under the "Baseplate" tab

I think most of you will know exactly what I need this for which should give you more of a reason to help a brother out ;)

Or better yet, a command like /forceplant that zeblote has for his duplicated except of course the brick force planted would have to have the qualities of a base brick when you load it so you can still build/delete on it.

This will make the floating roots load correctly:

Code: server.cs (18 lines)
package LoadFloatFix
{
    function FxDtsBrick::plant(%this)
    {
        %this.forceBaseplate = %this.isBaseplate;
        return parent::plant(%this);
    }

    function FxDtsBrick::onLoadPlant(%this)
    {
        if(%this.forceBaseplate)
            %this.isBaseplate = true;

        parent::onLoadPlant(%this);
    }
};

activatePackage(LoadFloatFix);


Should it be included with new dup?

would this work for just duplicating or just planting baseplates in general?

basically, players start off building in mid air. so if it only works with the duplicator, it would be kind of useless since they have no bricks.

(Issues occur with mods like hackplant where when you load the bricks, none of them are considered the baseplate. One wrong move can collapse the whole build. I need for this to not happen)

This will make the floating roots load correctly

i was asking if you could place a regular baseplate in mid air with it (without the duplicator). which i now see you cant.

thats fine though, ill probably just enable hackplant for that (if it works with it :/ )

also yeah i think it should be included with the new dup

(Issues occur with mods like hackplant where when you load the bricks, none of them are considered the baseplate. One wrong move can collapse the whole build. I need for this to not happen)[/li][/list]

They are considered baseplates in hackplant. The destruction is client-sided, it's the client predicting which bricks will be destroyed. Unfortunately, I have not been able to find a workaround for this.

They are considered baseplates in hackplant. The destruction is client-sided, it's the client predicting which bricks will be destroyed. Unfortunately, I have not been able to find a workaround for this.
well this worked lol

package LoadFloatFix
{
    function FxDtsBrick::plant(%this)
    {
        %this.forceBaseplate = %this.isBaseplate;
        return parent::plant(%this);
    }

    function FxDtsBrick::onLoadPlant(%this)
    {
        if(%this.forceBaseplate)
            %this.isBaseplate = true;

        parent::onLoadPlant(%this);
    }
};