Author Topic: decolitioned blocks  (Read 2595 times)

can some one make a script that makes the blocks you place decolitioned insted of having to do every block with the decolitioner(i may have spelled decolitioner wrong)

It's been done already.

Here's the script for it.

datablock fxDTSBrickData (brick3x3x3Data)
{
BrickFile = "Add-Ons/Bricks/Bricks3x3x3.blb";
Category = "Bricks";
SubCategory = "1x";
UiName = "3x3x1_Decollide_Brick";
IconName = "";

};

function brick3x3x3Data::onPlant(%this, %obj)
{
   schedule(100,0,decollideBrick,%obj);
}

function decollideBrick(%obj)
{
   if(isObject(%obj))
   {
      %obj.setColliding(0);
   }
}


where do i put this,what do i save the name as, do you have a link to the page this is on, and how do i activate it?

You put this script in the cs file that is created when you use Resonance's Brick Generator.

By the way...thank Mr. Pickle he came up with the script.
« Last Edit: December 15, 2007, 12:35:15 AM by blackrogue24 »

That automatically decolides any 3by3by1 brick you place, which isnt what he is asking for I believe.

im asking for a mode like super shift that makesthe bricks decolitioned insted of hitting it with the decolitioner

Does anyone know how to get the brick id?


Does anyone know how to get the brick id?


You mean the one that doesn't exist?

im asking for a mode like super shift that makesthe bricks decolitioned insted of hitting it with the decolitioner
its not "decolitioned" its "decollisioned".


I guess I could work on it...

cool and i know i spelled it wrong pm me when its done if you get to it

Ok, sorry it took me a good 5 days to do this...it was actually ready much earlier. It's only been semi-tested though.

http://www.mediafire.com/?ewl3htoav1q
NOTE: This is a CLIENT and SERVER mod. So you can only use it properly if you have the mod yourself and are on a server that is running it.

Instructions:
1. Unzip to Blockland folder.
2. Start up BL, go to options --> controls.
3. Set up the key for Decollision Mode, near the bottom.
4. Start a server with HotKeyServer enabled.
5. Hold down the key you set in options earlier and place a brick; you will notice that it is decollisioned.
6. Continue testing it if you like, you'll find that if you place a brick while holding down the button always decollisions the brick.
7. I also added a last-minute toggle: /togglehotkeys. Admin only, it toggles the Hot Keys so no one can use them.

Hope you like it. The on-screen notification (from when you hold the key, a picture pops up to tell you that your holding it down. It was created by Kaphix, and it took him maybe a minute or so to do. If you have something you think is better, let me know and I'll see if it works well. Target size: 100 x 100)
« Last Edit: December 21, 2007, 09:20:47 AM by Aloshi »

Does not work! Picture Message does appear but brick remains collisioned! Happens both in client and server!




can you make it like super shift so you onlly have to press once to activate and agin to deactivate?
« Last Edit: December 22, 2007, 07:29:37 AM by spartan 911 »