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.


Messages - Demian

Pages: 1 ... 405 406 407 408 409 [410] 411 412 413 414 415 ... 643
6136
Creativity / Re: The new and improved 3D model topic!
« on: October 13, 2011, 09:51:14 AM »

"The new and improved 3D model topic!"?

6137
Creativity / Re: The new and improved 3D model topic!
« on: October 13, 2011, 04:00:45 AM »
How is that a fail? The link works.
Don't worry, he's never seen Wikipedia links before.

6138
Modification Help / Re: General Blender help thread
« on: October 13, 2011, 03:55:59 AM »
EDIT-Fixed, but texture doesn't show up ingame-it's just a white space on top of the box.
Indeed. Let me know if you get it working, I've been trying to get UV textures to work in game for a year.

6139
Gallery / Re: Toy Castle
« on: October 12, 2011, 04:26:20 PM »
Why would you need to ask for permission to rate? Gallery is confusing me. =(

6140
Gallery / Re: Simple forcefield made using default everything.
« on: October 12, 2011, 03:12:50 PM »
weeell I'm happy I know the disappear event at least
Whaa? You didn't know about the raycasting/collision/rendering properties? Where have you been?

6141
Gallery / Re: Simple forcefield made using default everything.
« on: October 12, 2011, 02:45:15 PM »
If it's a tutorial put it in the title perhaps? There isn't much to show off if you ask me.

6142
Suggestions & Requests / Re: A new element spell pack
« on: October 12, 2011, 02:02:26 PM »
Because plant, magma and animals are elements.

6143
Creativity / Re: The new and improved 3D model topic!
« on: October 12, 2011, 01:44:08 PM »
Handle too.
Not Blocklandey.

It's a turdblade.

Why does my vehicle crash Blockland? The collision mesh is on layer 2 and I've tried naming it col, col0, col-0, col1, col-1, collision-1 and nothing works. Heeelp.

6144
This is why.
Take note of the year that was posted everyone.

6145
We don't have it because it's impossible due to the way bricks are assigned ownership or something.
It's because how bricks work. If this was made, the clients in your server would not be able to see or interact with any bricks because their Blockland clients do not have the data.

6146
Gallery / Re: Simple forcefield made using default everything.
« on: October 12, 2011, 10:58:59 AM »
I do not know what to say. Why did you make this topic? Wait you meant this as a tutorial?

6147
New bug. I attempted to create a separate item for the "empty" hat that you could not drop. This is to prevent people from getting their hats stuck to their heads. For some reason this doesn't work. The "empty" image uses the new item but I can still drop it.

After I've dropped the item I can still click to un/equip the hat even though the item itself isn't in my inventory. How to fix this bug and make the non-droppable item work?

Code: [Select]
datablock ItemData(IT_hatItem)
{
shapeFile = "./hat.dts"; //Hat model, when spawned.
image = "IM_hatItem";
rotate = false;

uiName = "Hat Item"; //Hat name.
iconName = "Add-Ons/Weapon_Gun/icon_gun"; //Hat inventory icon.
canDrop = true;

mass = 1;
drag = 0.5;
density = 0.2;
friction = 0.6;
elasticity = 0.2;
gravityMod = 1;

doColorShift = true;
colorShiftColor = "1 1 0.949 1"; //Color of the hat icon and item when spawned.
};

datablock ItemData(IT_hatEmpty : IT_hatItem)
{
shapeFile = "./hat.dts"; //Hat model, when spawned.
image = "IM_hatEmpty";
rotate = false;

uiName = ""; //Hat name.
iconName = "Add-Ons/Weapon_Gun/icon_gun"; //Hat inventory icon.
canDrop = false;

mass = 1;
drag = 0.5;
density = 0.2;
friction = 0.6;
elasticity = 0.2;
gravityMod = 1;

doColorShift = true;
colorShiftColor = "1 1 0.949 1"; //Color of the hat icon and item when spawned.
};

datablock ShapeBaseImageData(IM_hatHead)
{
shapeFile = "./hat.dts";
emap = true;
mountPoint = $HeadSlot;
offset = "0 0 0";
eyeOffset = "0 0 10 1";
rotation = eulerToMatrix("0 0 0");
scale = "1 1 1";
doColorShift = true;
colorShiftColor = "1 1 0.949 1"; //Color of the hat when worn.
};

datablock ShapeBaseImageData(IM_hatItem)
{
shapeFile = "./hat.dts";
Item = "IT_hatItem";

firstPersonParticles = true;
armReady = true;

mountPoint = 0;
offset = "0 0 0";
rotation = eulerToMatrix("0 0 0");
eyeOffset = "0 0 0 0";
eyeRotation = "0 0 0 0";

doColorShift = true;
colorShiftColor = "1 1 0.949 1"; //Color of the hat on hand.

stateName[0] = "Active";
stateWaitForTimeout[0] = true;
stateTimeoutValue[0] = 0.03;
stateTransitionOnTriggerDown[0] = "Ready";

stateName[1]   = "Ready";
stateAllowImageChange[1]   = false;
stateWaitForTimeout[1]   = true;
stateTimeoutValue[1]   = 0.03;
stateTransitionOnTriggerUp[1] = "Equip";

stateName[2] = "Equip";
stateAllowImageChange[2] = true;
stateScript[2] = "onFire";
stateWaitForTimeout[2] = true;
stateTimeoutValue[2] = 0.03;
stateTransitionOnTimeout[2] = "Ready";
};

function IM_hatItem::onFire(%this, %obj, %slot)
{
%client=%obj.client;
if(!%obj.Wear)
{
%obj.Wear = 1;

for(%i = 0;$hat[%i] !$= "";%i++)
{
%obj.hideNode($hat[%i]);
//%obj.hideNode("headskin"); //Hides player's head.
}
%obj.unMountImage(1);
%obj.mountimage(IM_hatHead, 1);
%obj.unMountImage(0);
%obj.mountimage(IM_hatEmpty,0);
%obj.schedule(0,"playThread",2,shiftAway);
%obj.schedule(190,"playThread",1,root);
}
}

datablock ShapeBaseImageData(IM_hatEmpty)
{
shapeFile = "base/data/shapes/empty.dts";
Item = "IT_hatEmpty";

firstPersonParticles = true;
armReady = true;

mountPoint = 0;
offset = "0 0 0";
rotation = eulerToMatrix("0 0 0");
eyeOffset = "0 0 0 0";
eyeRotation = "0 0 0 0";

doColorShift = true;
colorShiftColor = "1 1 0.949 1"; //Color of the hat icon.

stateName[0] = "Active";
stateWaitForTimeout[0] = true;
stateTimeoutValue[0] = 0.03;
stateTransitionOnTriggerDown[0] = "Ready";

stateName[1]   = "Ready";
stateAllowImageChange[1]   = false;
stateWaitForTimeout[1]   = true;
stateTimeoutValue[1]   = 0.03;
stateTransitionOnTriggerUp[1] = "Equip";

stateName[2] = "Equip";
stateAllowImageChange[2] = true;
stateScript[2] = "onFire";
stateWaitForTimeout[2] = true;
stateTimeoutValue[2] = 0.03;
stateTransitionOnTimeout[2] = "Ready";
};

function IM_hatEmpty::onFire(%this, %obj, %slot)
{
%client=%obj.client;
if(%obj.Wear)
{
%obj.Wear = 0;

%obj.unMountImage(1);
//%obj.unHideNode("headskin"); //Unhides player's head.
%obj.unMountImage(0);
%obj.mountimage(IM_hatItem,0);
%obj.playThread(2, shiftAway);
%obj.playThread(1, armReadyRight);

%client.applyBodyParts();
%client.applyBodyColors();
}
}

function IM_hatItem::onMount(%this, %obj, %slot)
{
if(%obj.Wear)
{
%obj.unMountImage(0);
%obj.mountimage(IM_hatEmpty,0);
}
}

6149
Modification Help / Re: How do i change the color of buttons?
« on: October 12, 2011, 09:29:34 AM »
Code: [Select]
mColor = "255 255 255 255";

6150
Modification Help / Re: How do i change the color of buttons?
« on: October 12, 2011, 09:17:50 AM »
Buttons of what? GUI?

Pages: 1 ... 405 406 407 408 409 [410] 411 412 413 414 415 ... 643