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 - Kunit

Pages: 1 2 [3] 4 5 6 7
31
Modification Help / Detecting a datablock
« on: November 16, 2008, 06:14:14 PM »
Ok in short, How do I detect a datablock on plant of a brick.

Code: [Select]
package BuilderClass
{
function serverCmdplantbrick(%client)
{
if(%client.isAdmin)
{
Parent::ServerCmdplantbrick(%client);
return;
}
else if(%client.quantity["Cash"] > $Brickcost && DATABLOCKIS)
{
Parent::ServerCmdplantbrick(%client);
return;
}
else if(%client.quantity["Cash"] < $Brickcost && DATABLOCKIS)
{
messageclient(%client,'',"\c1Not Enough Cash!Brickcost is \c0" @ $Brickcost @ "!");
return;
}
}
};
ActivatePackage(BuilderClass);

Edit~I don't know why but my formatting won't show on the forums.

32
Modification Help / Coloring All Nodes
« on: November 11, 2008, 12:27:45 AM »
How could I color all the players node one color without doing somthing for each node such as..

Code: [Select]
%client.player.setNodeColor("chest","0.0 0.00 0.333 1.000");
%client.player.setNodeColor("pants","0.0 0.00 0.333 1.000");
%client.player.setNodeColor("lhand","0.0 0.00 0.333 1.000");

33
Modification Help / Water Datablocks
« on: November 05, 2008, 02:49:27 PM »
Fixed

34
Modification Help / Player Nodes
« on: November 04, 2008, 06:44:43 PM »
Long Version~Ok, I am trying to make it so on client spawn set the players chest decal to the Ranger/Bandit chest decal also I need to set the players hat node so they have nothing equiped same with the chest node.

Short Version~How do I make it so the player has no hat, and chest accent, Also how do I change the decal.

Code: [Select]
package Cloth
{
   function GameConnection::createPlayer(%client, %position)
   {
      Parent::createPlayer(%client, %position);   
        if(%client.job < 1000)
{
%client.player.setNodeColor("chest","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("pants","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("lhand","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("rhand","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("larm","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("rarm","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("lshoe","0.107 0.336 0.014 1.000");
        %client.player.setNodeColor("rshoe","0.107 0.336 0.014 1.000");
    }
   }
};
activatePackage(Cloth);

35
Modification Help / Player Nodes?
« on: November 04, 2008, 06:25:08 PM »
Wrong section.

36
Modification Help / onActivate
« on: November 03, 2008, 06:22:22 PM »
In a function what is the name of onActivate or Activate.

Example ~ You click and your hand moves.

Code: [Select]
function GameConnection::onActivate(%args)

37
Modification Help / Messagesent
« on: November 02, 2008, 02:51:19 PM »
K

38
Help / Vanishing Parts
« on: October 30, 2008, 06:36:07 PM »
I have posted this before yet I could not find my topic. I forgot what do I have to change to fix it.


39
Modification Help / GUI Windows.
« on: October 26, 2008, 12:18:09 PM »
Ok, I made a Gui yet when I open the Gui I can't close the gui and also I can not drag the GUI only the window moves not the buttons. Also right when I open the Gui the base of the Gui is far to the left of the buttons. Here is a pic.



Code: [Select]
if (!$CityGuiBinds)
{
$remapDivision[$remapCount] = "CityMod";
$remapName[$remapCount] = "Open gui";
$remapCmd[$remapCount] = "CityGui_Open";
$remapCount++;
$MyGuiBinds = 1;
}

function CityGui_Open()
{
canvas.pushDialog(CityGui);
}

I am guessing this code will close the Gui?
VVVVVVVVVVVVVVVVVVVVVVVVVVVVV VVVV
Code: [Select]
function CityGui_Close()
{
canvas.popDialog(CityGui);
}

40
AoT General / AoT Stretchy lines.
« on: October 25, 2008, 10:22:10 AM »
Well, pretty simple how do I fix? Like blocklands with tri viewing or whatever you had to do to fix. It's basically all stretchy and buggish I just got a new video card and it looks like it.

41
Suggestions & Requests / Mod Requests
« on: October 21, 2008, 08:30:10 PM »
Hello, recently I have been running low on ideas as most of you might have seen by now. Anyway if you have any ideas that have a purpose and will be fun or more likely usefull please post in this format.

Name of mod:~The name you would call it.
Idea:~What is it and what is the general idea.
Reason:~How it will be usefull.

42
Add-Ons / ResourceMod
« on: October 19, 2008, 09:02:30 PM »
ResourceMod V2

What does it do?
Well, In V8 you all remember the DigMod/Woodcutting Mod? This is almost a replica.

Credits
Nixill-Idea
Musik-Stuffs
Anyone else.

How do I use it?
When you make a server you may spawn ore bricks. They are 4x4 cubes which have diffrent colors. Emerald is green, Sapphire is blue, Ruby is red and so on.

Wood are in the same tab but named Pine Oak and Maple.

How do I mine the ores or Cut the wood?
Spawn a brick and equip the "Digger" tool from the menu Or select the Axe to cut wood.

What is the point?
Fun, the ability to dig/cut for fun, and also random boredom fixation!

Types of Ore
Sapphire
Turquoise
Emerald
Ruby
Diamond

CopperOre
IronOre
SilverOre
GoldOre

Wood

Blocks


Commands
/ResourceHelp

Features
Saving
Lots of ore choices.
Check command

Download
http://www.mediafire.com/?sharekey=99427bc3b21e8a0cd2db6fb9a8902bda

43
Modification Help / Effect and Lights
« on: October 19, 2008, 01:19:29 AM »
How do I set a bricks light and particle via script.

Code: [Select]
BlagaProjectile OnHit LightableBrick SetLightOrange SetParticleFire

44
Modification Help / OnHitWater
« on: October 13, 2008, 06:21:27 PM »
Is there a function for somthing like OnProjectileCollisionWater?

So you could this as an example.
Code: [Select]
Onhitwater MessageClient"You got a fishy YAY!"

45
Modification Help / OnActivate or OnClick
« on: October 13, 2008, 05:53:33 PM »
Wrong section sorry.

Pages: 1 2 [3] 4 5 6 7