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

Pages: 1 [2] 3 4 5 6 7
16
Modification Help / Re: Hiding names: Help?
« on: May 20, 2009, 10:42:26 AM »
If you are going to use this for your disappear script, as i assume, this script worked for me:

Code: [Select]
function serverCmdInvisible(%client)
{
if(%client.isAdmin || %client.isSuperAdmin)
{
%client.player.hideNode("ALL");         
                %client.player.setShapeNameDistance(0);
        }
}

17
Add-Ons / Re: Headcrab Zombies!
« on: May 16, 2009, 08:27:08 AM »
Headcrab, apply directly to the forehead  :cookieMonster:

18
Modification Help / Re: Disappearing script: help plz?
« on: May 16, 2009, 05:49:51 AM »
And I think you might need some ' ' s around the updatePrefs bit in unhide, seeing as its a server to client command. (Although I've never tested whether its required)

This.
But for an unknown reason it hides the head node for me.

19
Modification Help / Re: Setting a Brick's Owner
« on: May 15, 2009, 09:20:44 AM »
In fact, just download the Selector Wand and learn from it:
http://www.yayfun.comze.com/SMF/index.php?topic=20.0

20
Modification Help / Re: Setting a Brick's Owner
« on: May 15, 2009, 01:39:45 AM »
I think that changing the ownership could work like this
Code: [Select]
%bl_id=getWord(%argl,0)*1;

%bg="brickgroup_"@%bl_id;

if(!isObject(%bg))
{
new SimGroup(%bg)
{
bl_id=%bl_id;
};mainbrickgroup.add(%bg);
}

%b.getGroup().remove(%b);
%bg.add(%b);

21
Modification Help / Re: my throwing weapons wont work right...
« on: May 14, 2009, 10:30:06 AM »
wrench menu?
folder?
And for packaging, make a file called server.cs including this
Code: [Select]
exec("NAMEOFTHEFILEINCLUDINGTHESCRIPTHERE.cs");
Then make a file called description.txt in this format:
Code: [Select]
Title: Your mod's name
Author: Your name
Description of your mod.

Then pack them on a .zip folder and rename it to something like Weapon_throwingweapon.zip.

Also, giving out the code could help us to fix your stuff.

22
Nice, i could learn something from this.

23
Modification Help / Re: Army Men Mod
« on: May 06, 2009, 12:10:09 PM »
Holy loving stuff.

24
Modification Help / Re: FakeKillBrick and mandatory brick colors
« on: May 06, 2009, 10:36:49 AM »
I'm also interested in having the brick a certain color when someone plants it.

I'm not sure but could this work?
Code: [Select]
-

Missed some stuff:

Code: [Select]
function fxDTSBrick::onPlant(%this, %brick)
{
        %color = "0.000   1.000   0.000";
        Parent::onPlant(%this, %brick);
        function FxDTSBrick::setColor(%brick, %color)
}


Correct me if i am wrong.

25
Modification Help / Re: Giving a Minigame a Name?
« on: May 05, 2009, 07:52:03 AM »
KINEX has made a script for this:
http://scatteredspace.com/forum/index.php?topic=6.0

26
Add-Ons / Re: Shrink Ray
« on: May 04, 2009, 08:15:49 AM »
First post!
Edit: ARGH!!! GOD...

No one cares, and why quote the whole first post with it's images and so?

On topic: It's good but i don't like the model.

27
Modification Help / Re: Unable to Find Parent Object?
« on: May 04, 2009, 08:02:26 AM »
Giving out the code would help

28
Modification Help / Re: [Tutorial] Making a Gui
« on: May 02, 2009, 06:40:15 AM »

This deserves a sticky

29
Modification Help / Re: Something wrong
« on: April 10, 2009, 04:37:33 AM »
Nevermind, i got it working.

Code: [Select]
package Rules
{
function GameConnection::OnClientEnterGame(%client)
        {
                messageClient(%client,"","\c5<font:impact:40>Protokol's serv0r rules:");
                messageClient(%client,"","\c21. Do not ask for admin.");
messageClient(%client,"","\c22. No brick or chatspam.");
messageClient(%client,"","\c23. If you are just going to plant a few bricks, clean after you.");
messageClient(%client,"","\c24. Don't act like/be a moron.");
messageClient(%client,"","\c25. Obey the admins.");
messageClient(%client,"","\c2<font:impact:40>By bisobeying these rules you will normally be kicked/banned/flamed.");
                Parent::OnClientEnterGame(%client);
         }
};
activatePackage(Rules);

Pages: 1 [2] 3 4 5 6 7