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

Pages: 1 ... 124 125 126 127 128 [129] 130 131
1921
Modification Help / Spawn Bricks
« on: April 03, 2010, 05:53:30 AM »
I have this idea of making people spawn at spawn points on my server, while I am not in the mini. Bricks owners have to be included in the mini for people to spawn on their spawn points, so I am attempting to transform the player to the brick if it exists. It keeps failing.

Code: [Select]
function brickTDMTeam1SpawnPointData::spawnPlayer(%this, %obj)
{
if(isObject(brickTDMTeam1SpawnPointData))
{
%this.getTransform();
%obj.setTransform(%this);
}
}

I am very new to coding, so I have absolutely no idea of what I wrote down on my script, XD... Can you please help? Thanks.

1922
Modification Help / Re: DTS Animation
« on: March 20, 2010, 07:25:31 AM »
Never mind, I figured it out. Locking topic.

1923
Modification Help / Re: DTS Animation
« on: March 19, 2010, 12:46:58 PM »
Anyone? No?

1924
Modification Help / DTS Animation
« on: March 17, 2010, 11:43:02 AM »
I want to know how I can add a custom animation to an Item. For an example, when you use the wrench in first person, it has a custom animation. Unless I've got this in the wrong section, which I doubt, can you help me? Thanks.

EDIT: I am using MilkShape 3D.

1925
Modification Help / Re: Inventory Item Adding
« on: March 12, 2010, 08:52:43 AM »
Never mind, got it working correctly, thanks.

1926
Modification Help / Re: Inventory Item Adding
« on: March 11, 2010, 12:36:13 PM »
Great, I still need hep... Is there a function which checks if you've changed your datablock?

1927
Modification Help / Re: Inventory Item Adding
« on: March 10, 2010, 12:25:18 PM »
Thank you, Chrono, it's about time I finish my project after working on it for a long time... Also, I know this will only happen the first time the player spawns, it's just a test.

1928
Modification Help / Re: Inventory Item Adding
« on: March 10, 2010, 10:30:14 AM »
%player.tool[%slot] = %item;

I've added that function, but the item is still not added to your inventory...

Code: [Select]
package addItemTest
{
function gameConnection::onClientEnterGame(%client)
{
Parent::onClientEnterGame(%client);
%client.tool[4] = skiItem.getID();
messageClient(%client,'MsgItemPickup','',4,skiItem.getID());
}
};
activatePackage(addItemTest);

What is meant to go where %client.tool is to identify the client?

EDIT: I've also tried %player, but I get the same result...

1929
Modification Help / Re: Inventory Item Adding
« on: March 09, 2010, 11:13:56 AM »
The MsgItemPickup callback just tells the client what they should be displaying in the inventory gui. You will need to also tell the server what item they have in which slot.

Thank you, Ephialtes, but now I have another problem... How do I tell the server what item was added? Thanks.
Sorry, I am very new to programming...

1930
Modification Help / Inventory Item Adding
« on: March 09, 2010, 11:09:29 AM »
I've been working on a script to add an item to your inventory when you first spawn, but it doesn't seem to be working correctly...

Code: [Select]
package addItemTest
{
function gameConnection::onClientEnterGame(%client)
{
Parent::onClientEnterGame(%client);
messageClient(%client,'MsgItemPickup','',4,skiItem.getID());
}
};
activatePackage(addItemTest);

Anyone know what is wrong with my script? Thanks.

1931
Modification Help / Re: DTS Lighting
« on: February 12, 2010, 10:45:23 AM »
Thank you, MtnDew, your tutorial completed my project. Thank you too goz3rr for your help. Locking topic.

1932
Modification Help / DTS Lighting
« on: February 11, 2010, 01:31:17 PM »
I have been trying to make a light bulb like the one in the lamp in Bedroom. But the one I made seems to look ugly because the bulb is affected by the mission lighting. Any ideas on how to make a dts that doesn't get affected by the mission lighting? Thanks.

EDIT: I am using MilkShape.

1933
Count me in.
General.

EDIT: I'll guess... 67.

1934
Modification Help / Re: [WIP] Round Corner Bricks
« on: October 24, 2009, 08:42:15 AM »
Updated! Check first page.
First Page.

1935
Modification Help / Re: [WIP] Round Corner Bricks
« on: September 18, 2009, 10:05:13 AM »
love

Is their colision good?
Yes.

The collision is one of the things we'll do last, along with the brick icons.
I've already added the collision for the 4x4 Round Corner Full.

Pages: 1 ... 124 125 126 127 128 [129] 130 131