Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Safe The Vault

Pages: [1]
1
Modification Help / Saving Bricks
« on: October 26, 2007, 12:51:55 AM »
This works but freezes on huge builds. Just wondering if anybody could make use of it and/or edit it.

Code: [Select]
datablock itemData(decollideItem)
{
category = "";
className = "";

shapeFile = "base/data/shapes/empty.dts";
mass = 1;
density = 1;
elasticity = 1;
friction = 1;
emap = true;

uiName = "Decollide";
iconName = "";
doColorShift = true;
colorShiftColor = "1 1 1 1";

canDrop = true;
};

function decollideItem::onPickup(%this)
{
return;
}

function decollideItem::onAdd(%this, %object, %continue)
{
if(%continue !$= "true")
{
%this.schedule(100, "onAdd", %this, %object, true);

return;
}

for(%a = 0; %a < mainBrickGroup.getCount(); %a++)
{
for(%b = 0; %b < mainBrickGroup.getObject(%a).getCount(); %b++)
{
if(mainBrickGroup.getObject(%a).getObject(%b).item == %object)
{
mainBrickGroup.getObject(%a).getObject(%b).setColliding(true);
}
}
}
}

function decollideItem::onRemove(%this, %object)
{
if(%continue !$= "true")
{
%this.schedule(100, "onRemove", %this, %object, true);

return;
}

for(%a = 0; %a < mainBrickGroup.getCount(); %a++)
{
for(%b = 0; %b < mainBrickGroup.getObject(%a).getCount(); %b++)
{
if(mainBrickGroup.getObject(%a).getObject(%b).item == %object)
{
mainBrickGroup.getObject(%a).getObject(%b).setColliding(false);
}
}
}
}

2
Help / Add-Ons Proble
« on: June 06, 2007, 06:20:43 AM »
IF you have '[' or ']' in your file name, it breaks the list.

3
AoT Clan Discussion / New Clan
« on: June 06, 2007, 05:55:23 AM »
Persons entitled do oranges behind ears at range.

creepbear for should.

4
Suggestions & Requests / Gravity
« on: June 06, 2007, 03:30:48 AM »
Can anybody help me make a sorta vehicle/thing where the player can do everything normal except underwater without floating.

5
Gallery / [AT] Water Server
« on: June 05, 2007, 09:14:39 PM »
I've been making water rise without the shoreline breaking. It rises one block every minute. This is our clock. The server is up.

6
General Discussion / Ban This ID
« on: June 04, 2007, 11:22:18 PM »
Name: Digmaster

Crimes:

 + Imposting me.
 + Driving jeeps bad.
 + Stealing my admin.
 + Banning me.
 + Claiming I imposted him.
 + Acting dumb.
 + Not chewing gum properly.
 + Annoying random people.
 + Trying to break my head.
 + Cutting off my arm.
 + Wearing beard.
 + Wearing non-mechenical left hand arm.
 + Breaking builds.
 + Pissing on things.
 + Licking money.
 + Making me write this.
 + Licking wallets.
 + Touching people.
 + Wearing a bad hat.
 + Body is shaped like a women.
 + Pretending I'm killing him and suiciding.
 + Annoying admins.
 + Fake being Badspot.

7
Modification Help / Handy Script Tips
« on: June 04, 2007, 12:50:34 AM »
I wrote these since I always get stuck and then later on I find it out.

1. Try to use stuff that doesn't need downloading, this is like lights, emitters and models..

2. Don't bother trying to copy protect your script. It will not work. I've ripped open Bleh7777's installer and used that.

3. DSOs are your friend, you can still find functions by looking inside them.

4. To find function names, open the console, press space then tab or type a bit of the function's start name in and keep pressing tab. I've found a few good ways.

I'll add more in the future.

8
Gallery / NEWBIES
« on: June 02, 2007, 08:31:25 PM »
Are playing multiplayer tutorial. :P

9
Suggestions & Requests / Destructo Wand
« on: June 01, 2007, 10:01:22 PM »
When I was testing my body stealer script, I was holding a destructo wand and a noob stole my body and broke and bounced people around and I chased him. Just a question.

WHY IS ONLY GETTING THE WAND ADMIN ONLY?!

10
Modification Help / onMount
« on: June 01, 2007, 03:52:55 AM »
I'm trying to run a command for when the player mounts onto a vehicle.

11
Gallery / Pile'd Up And More
« on: June 01, 2007, 02:31:31 AM »
The picture speaks for itself.

12
Modification Help / two thing
« on: May 31, 2007, 10:31:33 PM »
shouldnt this be called scripting help

and

how do i make a weapon image colorshift with the paintcan

Pages: [1]