Author Topic: Heedicalking's Community Scripting  (Read 3557 times)

I got a community scripting etherpad! Please only join if you want to learn to script, help others, or share scripts, being a richard is not the purpose of this.
http://heedicalking.etherpad.com/1
http://heedicalking.etherpad.com/2

I will accept you when you send a request or whatev
« Last Edit: August 15, 2009, 08:03:27 AM by heedicalking »


Same here!

I just made my own server CMD.  You type /hi.

It's been done many times, but I'm glad I'm learning.
« Last Edit: August 15, 2009, 09:45:32 AM by trumpetfan »

Too bad someoens deleating the board..

This is madness! We had raiders and spammers and text erasers, oh my! Someone find a new collab text editor.

This is madness! We had raiders and spammers and text erasers, oh my! Someone find a new collab text editor.
Will you tell us which one it is once you find it?

I enjoy learning2script.

even a basic servercmd is fun.

Accept me in plox :< (lol Taxi)

atleast i learned simple CMD

Me too. It's a crappy little one though:
Code: [Select]
function ServerCmdbigme(%client)
{
    %client.player.setplayerscale("5 5 5");
}

My baby steps into coding.

Tom

Me too. It's a crappy little one though:
Code: [Select]
function ServerCmdbigme(%client)
{
    %client.player.setplayerscale("5 5 5");
}
Now sir, tell me how each line of that code works.

My baby steps into coding.
Now sir, tell me how that code works.
« Last Edit: August 14, 2009, 10:11:30 PM by Tom »

Me too. It's a crappy little one though:
Code: [Select]
function ServerCmdbigme(%client)
{
    %client.player.setplayerscale("5 5 5");
}

My baby steps into coding.
Which you screwed up at first :)

Now sir, tell me how that code works.

When you say /bigme. it wills set you that scale.

Im voting for /bigme to be official... Its fun to say.

heed, it helps if you actually change the link.

forget, I tried making a Kamakazie playertype and royally forgeted up. It won't appear ingame, guess I have to look around in the script some more >.>

EDIT: Well, it would be smart to post the script (if anyone can help me, i will be grateful) Note, I tried using functions from the Rotondo Zombie mod Boomer.

Code: [Select]
//Kamakaze Playertype
datablock PlayerData(PlayerKamakaze : PlayerStandardArmor)
{
//Movement
 maxUnderwaterForwardSpeed = 5;//The speed you have while moving forward under water.
 maxUnderwaterBackwardSpeed = 5;//The speed you have while moving backward under //water.
 maxUnderwaterSideSpeed = 5;//The speed you have moving sideways under water.
 maxForwardSpeed = 14;//The speed you have moving forward on dry land.
 maxBackwardSpeed = 7;//the speed you have moving backward on dry land.
 maxSideSpeed = 5;//The speed you have moving Sideways on dry land.
 maxForwardCrouchSpeed = 6;//The speed you have crouching forward.
 maxBackwardCrouchSpeed = 3;//The speed you have crouching backward.
 maxSideCrouchSpeed = 3;//The max speed you have crouching sideways.
 maxDamage = 1;
 jumpForce = 1000;//The force you have to jump - or, how high you can jump.
 jumpDelay = 0;//How long it takes for you to jump aftr pressing space.
 wallJumpVel = 5;
 wallClimbVel = 10;
//Attributes
 canClimb = 0;
 canJet = 0; //0 means no, 1 means yes.
 uiName = "Kamakaze Player";
 showEnergyBar = false;
};
//Now to making it explode on death
function KamakazeExplode(%player)
{
    %player.minigame = %player.spawnbrick.getgroup().client.minigame;
    %player.kamakaze = new Projectile()
    {
        dataBlock = TankShellProjectile;
        initialVelocity = "0 0 0";
        initialPosition = vectoradd(%bot.getposition(),"0 0 1");
        Position = vectoradd(%bot.getposition(),"0 0 2");
        originpoint = vectoradd(%bot.getposition(),"0 0 1");
        scale = "2 2 2";
        sourceObject = %player;
        sourceSlot = 0;
        client = %player;
        sourceclient = %player;
        minigame = %player.spawnbrick.getgroup().client.minigame;
        spawnbrick = %player.spawnbrick;
    };
    MissionCleanup.add(%player.kamakaze);
    %player.kamakaze.explode();
    schedule(20,0,KamakazeRadiusDamage,%player);

}
function Kamakaze::ondeath(%this,%obj)
{
   
    parent::ondeath(%this,%obj);
    if(IsInMinigame(%obj))
    {
        KamakazeExplode(%obj);
    }
    KamakazeDefault::ondeath(%this,%obj);
}
« Last Edit: August 14, 2009, 11:40:48 PM by Tingalz »