Spikesscape
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[508]Grim reaper!

2 posters

Go down

[508]Grim reaper! Empty [508]Grim reaper!

Post  [Owner]Spikes Sun Aug 23, 2009 6:08 am

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(Cool;

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 == Cool
{
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!
[Owner]Spikes
[Owner]Spikes
Admin

Posts : 28
Join date : 2009-08-22

https://spikesscape.forumotion.com

Back to top Go down

[508]Grim reaper! Empty Re: [508]Grim reaper!

Post  Zamorak Mon Aug 24, 2009 8:36 am

Yeah i'll enjoy it when spikesscape is made public lol! .

Zamorak
Admin

Posts : 38
Join date : 2009-08-23
Age : 34
Location : England

http://green-knight.webs.com

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum