Author Topic: Weapon: Taser  (Read 11951 times)

Taser
Stop those Criminals before they get away!

Description
This is the taser from Iban's CityRPG.

Paralyzes the player / makes them tumble.
Also is being used for filming my Movie this Later today.

NOTE: the model was not by me. It was from Iban's CityRPG

Download
Weapon_Taser.zip

Installation
Put Weapon_Taser.zip into the Add-Ons folder in your Blockland folder.
« Last Edit: August 09, 2011, 02:59:54 PM by Darkmaster20 »


I think I already had this. If I don't, then I have another old Taser gun.

OT: Nice, these are always fun to mess with. Might want to say that it actually paralyzes the player / makes them tumble.

Might want to say that it actually paralyzes the player / makes them tumble.
fixed.

If I am correct, this weapon was highly abusable, in that you could be tasered over and over again, and the only thing you could do was to reconnect.

This is probably going to get failed.

I think i remeber this could taze outside of minigames too

I think i remeber this could taze outside of minigames too
It can, I've always had the mod but I never enable it unless I use it in a mini or something

You can keep someone from not moving ever with this thing. I would suggest editing the script to give it a longer cool down or a charge.

You can keep someone from not moving ever with this thing. I would suggest editing the script to give it a longer cool down or a charge.
I don't think he knows how to he just posted it
I also noticed it had really weird sounds
Code: [Select]
datablock AudioProfile(taserExplosionSound)
{
   filename    = "./sound/boxingglovestuff.ogg";
   description = AudioClose3d;
   preload = true;
};
Its trying to use ogg sounds as a sound file for shooting it and when it hits and theres no sound in the compressed zip folder even it used the wand icon as its image and causes console errors everytime you shoot someone outside of a minigame


it was only a problem whent here were idiots, you could get people to kill or kick the people who were spamming. Its not that hard to prevent.

Code: [Select]
function taserProjectile::onCollision(%this,%obj,%col,%fade,%pos,%normal)
{
if(%col.getclassname() $= "Player"){
if(!minigamecandamage(%obj, %col) || %col.taserned == 1){
echo("Cant damage or is taserned");
return;
}
if(%col.police == 1){
messageclient(%client,"","You cannot taser police officers.");
return;
}
%col.cantdie = 1;
%newvec = %col.getvelocity();
%newvec = VectorAdd(%vec, "8 8 8");
%col.setvelocity(%newvec);
tumble(%col, 15000);
%col.setwhiteout(1.2);
schedule(3500,0,"Throb",%col);
%col.playthread(2, armattack);
schedule(5000,0,"Detwitch",%col);
%col.taserned = 1;
schedule(4000,0,"Detaser",%col);
%col.undie = schedule(15000,0,"Undie",%col);
}
}

function ServerCmdTumbleMe(%client)
{
%col = %client.player;
%newvec = %col.getvelocity();
%newvec = VectorAdd(%vec, "8 8 8");
%col.setvelocity(%newvec);
tumble(%col, 9999999999999999999999);
%col.setwhiteout(1.2);
schedule(3500,0,"Throb",%col);
}
He just ripped it off Iban, he didn't even script it at all, I'd also like to point out that anyone can do /tumbleme with this add-on and you can also use this against players. Aswell he's just chucked in the taser model, a few other stuff, and hasn't even edited it, and there is a few things in there about the CityRPG, huh, typical.   :cookieMonster:

Also, in description.txt, it says:

Title: taser
Author: SG
taser

Who's SG, and I'm pretty sure Iban didn't want parts of his code released to the public, especially CityRPG ones, and you didn't ask Iban for permission.

Downloading, but, can be abusive. need's a time limit before you can taze again.

He just ripped it off Iban, he didn't even script it at all, I'd also like to point out that anyone can do /tumbleme with this add-on and you can also use this against players. Aswell he's just chucked in the taser model, a few other stuff, and hasn't even edited it, and there is a few things in there about the CityRPG, huh, typical.   :cookieMonster:

Also, in description.txt, it says:

Title: taser
Author: SG
taser

Who's SG, and I'm pretty sure Iban didn't want parts of his code released to the public, especially CityRPG ones, and you didn't ask Iban for permission.
Didn't he give cre- oh

He just said the model. OP needs to remove the link and lock the topic.

I don't think he knows how to he just posted it
I also noticed it had really weird sounds
Code: [Select]
datablock AudioProfile(taserExplosionSound)
{
   filename    = "./sound/boxingglovestuff.ogg";
   description = AudioClose3d;
   preload = true;
};
Its trying to use ogg sounds as a sound file for shooting it and when it hits and theres no sound in the compressed zip folder even it used the wand icon as its image and causes console errors everytime you shoot someone outside of a minigame
He clearly doesn't have a clue about how to script, I realize that now. He just made a new folder, moved a couple of files, and renamed some stuff.
He probably didn't realize that he had to do more then that.

He clearly doesn't have a clue about how to script, I realize that now. He just made a new folder, moved a couple of files, and renamed some stuff.
He probably didn't realize that he had to do more then that.
Then since you do, could you fix this? I'd really like something like this.