Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-25-2001, 09:03 PM
Bird2prey Bird2prey is offline
Poof! I am God
Bird2prey's Avatar
Join Date: Oct 2001
Location: Terra
Posts: 2,805
Bird2prey is on a distinguished road
Send a message via AIM to Bird2prey Send a message via Yahoo to Bird2prey
My NPC idea

I already posted it... but here it is again.

An NPC of a gold rupee or a hat that jumps away when you get close. Maybe for april fools day.
__________________
Quote:
Try Colonel Blackwash's Chicken in a Drawer! Our chickens are mined daily to ensure freshness. We also prepare our chickens to your unique specifications, such as:

Extra Hairy Chicken!
Extra Filthy Chicken!

And for you folks who like to wrestle down a good meal, Extra Surly Chicken! Folks come as far as Dirtbag Detroit just to lick our chickens. And remember, if you can't keep it down - YOU EAT FOR FREE!
Reply With Quote
  #2  
Old 12-25-2001, 09:35 PM
Mrmicro Mrmicro is offline
Registered User
Join Date: Mar 2001
Posts: 128
Mrmicro is on a distinguished road
Send a message via AIM to Mrmicro
Heh that would be pretty cool.. .I might make it
__________________
Reply With Quote
  #3  
Old 12-25-2001, 09:45 PM
Bird2prey Bird2prey is offline
Poof! I am God
Bird2prey's Avatar
Join Date: Oct 2001
Location: Terra
Posts: 2,805
Bird2prey is on a distinguished road
Send a message via AIM to Bird2prey Send a message via Yahoo to Bird2prey
-

So long as I get credit for the IDEA : \
__________________
Quote:
Try Colonel Blackwash's Chicken in a Drawer! Our chickens are mined daily to ensure freshness. We also prepare our chickens to your unique specifications, such as:

Extra Hairy Chicken!
Extra Filthy Chicken!

And for you folks who like to wrestle down a good meal, Extra Surly Chicken! Folks come as far as Dirtbag Detroit just to lick our chickens. And remember, if you can't keep it down - YOU EAT FOR FREE!
Reply With Quote
  #4  
Old 12-25-2001, 10:16 PM
Googi Googi is offline
A Serious Epidemic
Googi's Avatar
Join Date: Oct 2001
Location: Canada
Posts: 18,866
Googi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud ofGoogi has much to be proud of
Send a message via AIM to Googi
The last person to get credit on graal for something they only had an idea of was Stefan, when graal was made
__________________
Reply With Quote
  #5  
Old 12-26-2001, 12:02 AM
Jman9912-P2P Jman9912-P2P is offline
Registered User
Join Date: Nov 2001
Location: North Carolina!
Posts: 217
Jman9912-P2P is on a distinguished road
Send a message via AIM to Jman9912-P2P Send a message via Yahoo to Jman9912-P2P
lol that would be pretty easy i might script that
Reply With Quote
  #6  
Old 12-26-2001, 08:27 AM
Bird2prey Bird2prey is offline
Poof! I am God
Bird2prey's Avatar
Join Date: Oct 2001
Location: Terra
Posts: 2,805
Bird2prey is on a distinguished road
Send a message via AIM to Bird2prey Send a message via Yahoo to Bird2prey
-

Eh, fine script it.
__________________
Quote:
Try Colonel Blackwash's Chicken in a Drawer! Our chickens are mined daily to ensure freshness. We also prepare our chickens to your unique specifications, such as:

Extra Hairy Chicken!
Extra Filthy Chicken!

And for you folks who like to wrestle down a good meal, Extra Surly Chicken! Folks come as far as Dirtbag Detroit just to lick our chickens. And remember, if you can't keep it down - YOU EAT FOR FREE!
Reply With Quote
  #7  
Old 12-27-2001, 12:34 AM
Sennema Sennema is offline
Registered User
Join Date: Nov 2001
Location: Ontario, Canada
Posts: 132
Sennema is on a distinguished road
Send a message via ICQ to Sennema Send a message via AIM to Sennema
Quote:
Originally posted by Googi
The last person to get credit on graal for something they only had an idea of was Stefan, when graal was made
I dunno. Stefan didn't only have the idea. He also made the game. I saw someone give credit to someone else for an idea on a server before, but I forget which one (I think it might've been Mithica, but not sure)
__________________
~Draemus Windblade


Just over 90% of all messages have no point or meaning.

"In order to preserve ourselves we seek out and eliminate anything that may do use harm. In doing so, we destroy things that, though possibly hazzardous, may be important to survival. So you see, in trying to save ourselves, we ultimately bring about our own destruction"


Luminar
Reply With Quote
  #8  
Old 12-27-2001, 03:06 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
okay, here goes

NPC Code:

if (created) {
this.shadeoff={-.25,1.25};
this.off={.5,1};
}
if (playertouchsme && this.jumping==0) {
dir=playerdir;
jump();
while (onwall(x+this.off[0],y+this.off[1])) {
if (this.jumping=0) jump();
sleep .05;
}
}
function jump() {
this.jumping=1;
this.shadex=x;
this.shadey=y;
for (this.i=2; this.i>=-2; this.i-=.5) {
y-=this.i;
x+=vecx(dir);
y+=vecy(dir);
this.shadex+=vecx(dir);
this.shadey+=vecy(dir);
//showimg 0,shadow.gif,this.shadex+this.shadeoff[0],this.shadey+this.shadeoff[1];
//Uncomment that line if you have shadow.gif, otherwise, massive slowdown.
changeimgvis 0,0;
sleep .05;
}
hideimg 0;
this.jumping=0;
}



give that a GFX with a rupee, or maybe a gralat
Reply With Quote
  #9  
Old 12-27-2001, 06:23 AM
kittygirl765 kittygirl765 is offline
tapatapatapa
kittygirl765's Avatar
Join Date: Dec 2001
Location: Caught in a tree
Posts: 70
kittygirl765 is on a distinguished road
Send a message via ICQ to kittygirl765
Re: My NPC idea

Quote:
Originally posted by Bird2prey
I already posted it... but here it is again.

An NPC of a gold rupee or a hat that jumps away when you get close. Maybe for april fools day.
lol
if only there was a command that did the opposite of followplayer =P (runawayfromplayer <--- )
Reply With Quote
  #10  
Old 12-27-2001, 07:53 AM
Faheria_GP2 Faheria_GP2 is offline
Banned
Faheria_GP2's Avatar
Join Date: Oct 2001
Posts: 1,177
Faheria_GP2 is on a distinguished road
hey, use trig...
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 12:05 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.