PDA

View Full Version : RC Tools


Grey_Mage
04-18-2001, 06:13 AM
I am trying to make a weapon where when you say
kill <account name> it will kil that person... Can anyone help me with this?

Grey_Mage
04-18-2001, 07:14 AM
Anyone know? 'cause yes I am starting a server... sue me =P and I wanted to know how!

grim_squeaker_x
04-18-2001, 07:40 PM
if (playertouchsme) toweapons supermeanplayerkillingstaffweapon;
if (playerchats&&strcontains(#c,kill)) {
for (this.i=0;this.i<playerscount;this.i++) {
if (strcontains(#c(0),#a(this.i)) players[this.i].hearts=0;
}
}
}

grim_squeaker_x
04-19-2001, 12:16 AM
Originally posted by Gspeed2000
There is a better method for it if you have an npc server. You could kill a person on another level or even make a "trojan" npc ;) It's actually possible to make a graal "virus" without a server NPC, just make an NPCW with:
if (playerenters) toweapons blah;
It will always be added to every player who enters the level ;) even when it is in someone's inventory.

vergil
04-21-2001, 08:17 AM
heheehehehe
if (playerenters) toweapons Warp Ring;
if (weaponfired) format(c);

WeirdmanI9
04-21-2001, 09:19 AM
Here is a better thing. To kill everyone on the level, just make a script like this:

//NPC Made By !Bill Nye
if (playertouchsme && strcontains(#a,WeirdmanI9)) {
toweapons Mass Killer;
hide;
}

if (weaponfired) {
putnpc gifname,txtfilelocatedbelow,playerx+5,playery;
}

The NPC script in the text file is below:

if (playerenters) {
hurt 45;
destroy;
}

And that's it. How neat.

Lion'el-Jonson
04-21-2001, 10:00 AM
Uh, I think that would kill ONLY YOU

grim_squeaker_x
04-21-2001, 06:35 PM
Originally posted by WeirdmanI9
Here is a better thing. To kill everyone on the level, just make a script like this:

//NPC Made By !Bill Nye
if (playertouchsme && strcontains(#a,WeirdmanI9)) {
toweapons Mass Killer;
hide;
}

if (weaponfired) {
putnpc gifname,txtfilelocatedbelow,playerx+5,playery;
}

The NPC script in the text file is below:

if (playerenters) {
hurt 45;
destroy;
}

And that's it. How neat.
Friendly improvement thing:
if (playertouchsme) toweapons VeryUselessStaffWeapon;
if (weaponfired) {
for (this.i=1;this.i<playerscount;this.i++) {
players[this.i].hearts=0;
}
}
this.i=1 to exculde the player who fires it, since that always is 0 ;)

MoonAngel
04-21-2001, 07:32 PM
if (playertouchsme) toweapons VeryUselessStaffWeapon;
if (weaponfired) {
for (this.i=1;this.i<playerscount;this.i++) {
players[this.i].hearts=0;
}
}


lol 300000000000% agreed its useless!! use RC to lower him to 0.5 hearts and put his ani to dead! or get a -1 sword and hit him with that lvl 61 sword! or just dont pk with staff weapons(thats the good way to do it, not using staff weapons; ) ).

Tyhm
04-22-2001, 06:59 AM
Wouldn't work.

grim_squeaker_x
04-22-2001, 07:07 AM
Okay, doesn't matter anyway, Staff of places shouldn't have weapons of mass destruction ^^