[508]Grim reaper!
2 posters
Page 1 of 1
[508]Grim reaper!
Description:
The Grim Spectre of Death is a non-player character who appears at a player's death during the 2005 Halloween event, 2006 Halloween event and 2008 Halloween event. He appears and proclaims something like "You are mine!", amongst many other phrases. He was removed at the end of the each holiday event. He has been added once more for the 2008 Halloween event - from a site
So yeah i liked the idea and made it for 508's
in your death method(Player.java):
Add this (above death emote ):
Code:
Server.engine.newNPC(2862, this.absX-1, this.absY, this.heightLevel, 0, 0, 0, 0, false, 0);
Then open NPC.java and add some variables
Under
Code:
public class NPC {
add these variables:
Code:
/* Death - made by GaMePaPa */
public int deathshow = -1;
public int RandomMess = Misc.random(;
Then Under
Code:
public void process() {
add this:
Code:
if (npcType == 2862) {
if(RandomMess == 0)
{
requestText("Now is the time to you die...");
}
if(RandomMess == 1)
{
requestText("Let me escort you to Hell. ");
}
if(RandomMess == 2)
{
requestText("I have come for you! ");
}
if(RandomMess == 3)
{
requestText("You are mine! ");
}
if(RandomMess == 4)
{
requestText("Muahahahahaha. ");
}
if(RandomMess == 5)
{
requestText("There is no escape. ");
}
if(RandomMess == 6)
{
requestText("Beware Mortals. You travels with me now.");
}
if(RandomMess == 7)
{
requestText("I claim you as my own. ");
}
if(RandomMess ==
{
requestText("Your time here is over. ");
}
requestAnim(392, 0);
deathshow = 6;
}
if (deathshow >= 0 && npcType == 2862) {
isDead = true;
deathshow--;
}
Add facing if you want:
Code:
requestFaceCoords(p.absX , p.absY);
Compile files and enjoy!
The Grim Spectre of Death is a non-player character who appears at a player's death during the 2005 Halloween event, 2006 Halloween event and 2008 Halloween event. He appears and proclaims something like "You are mine!", amongst many other phrases. He was removed at the end of the each holiday event. He has been added once more for the 2008 Halloween event - from a site
So yeah i liked the idea and made it for 508's
in your death method(Player.java):
Add this (above death emote ):
Code:
Server.engine.newNPC(2862, this.absX-1, this.absY, this.heightLevel, 0, 0, 0, 0, false, 0);
Then open NPC.java and add some variables
Under
Code:
public class NPC {
add these variables:
Code:
/* Death - made by GaMePaPa */
public int deathshow = -1;
public int RandomMess = Misc.random(;
Then Under
Code:
public void process() {
add this:
Code:
if (npcType == 2862) {
if(RandomMess == 0)
{
requestText("Now is the time to you die...");
}
if(RandomMess == 1)
{
requestText("Let me escort you to Hell. ");
}
if(RandomMess == 2)
{
requestText("I have come for you! ");
}
if(RandomMess == 3)
{
requestText("You are mine! ");
}
if(RandomMess == 4)
{
requestText("Muahahahahaha. ");
}
if(RandomMess == 5)
{
requestText("There is no escape. ");
}
if(RandomMess == 6)
{
requestText("Beware Mortals. You travels with me now.");
}
if(RandomMess == 7)
{
requestText("I claim you as my own. ");
}
if(RandomMess ==
{
requestText("Your time here is over. ");
}
requestAnim(392, 0);
deathshow = 6;
}
if (deathshow >= 0 && npcType == 2862) {
isDead = true;
deathshow--;
}
Add facing if you want:
Code:
requestFaceCoords(p.absX , p.absY);
Compile files and enjoy!
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|