Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-16-2002, 06:23 AM
Bortlad Bortlad is offline
Registered User
Join Date: Nov 2001
Location: Over there ========>
Posts: 107
Bortlad is on a distinguished road
Send a message via ICQ to Bortlad Send a message via AIM to Bortlad Send a message via Yahoo to Bortlad
help dance script

i need a dance script asap!!!!
and a jail script asap !!!!
help me i dont know what i am doing at all
__________________
Gør†håµr ‡MìdÑíght‡ ¤£êåðêr¤ (US) / Gør†håµr MìdÑíght (Game Coordinator)


WillieJamal posts in blue

Quote:
*MasterStorm_GP (RC) (4/10/02 5:07:40 PM):
Mass message: Er....... I've accidentally jailed myself, doh, so i'll only be able to answer from my RC for a bit.
Reply With Quote
  #2  
Old 02-16-2002, 06:34 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
might wanna read those guidlines again
Quote:
Guidelines:
Don't post here just asking for scripts; people will most likely just tell you to learn to script and do it yourself. The posters here aren't some universal resource for scripting shortcuts.
to some this all up.... learn to script
__________________
And Yes I work For.... Renegade
Reply With Quote
  #3  
Old 02-16-2002, 06:46 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
what u need thyis for a server ur making? oooooohhhhhhhhh yah 100 posts
__________________
And Yes I work For.... Renegade
Reply With Quote
  #4  
Old 02-16-2002, 07:47 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
Um....he shouldnt check the guidelines....he said...
help me i dont know what i am doing at all which he is asking for help.....
Use this....for the dance though if you want somehting sketchy...
NPC Code:

if (playerenters && !isweapon){
toweapons Dance;}
if (weaponfired){
timeout=0.05;}
if (timeout){
playersprite=random(0,40);
timeout=0.05;}
if (strequals(#c,Stop)){
timeout=0;}


as for the jail script...i dont get what you be talkn about
__________________
Reply With Quote
  #5  
Old 02-16-2002, 08:16 AM
Goboom Goboom is offline
Pixel Monkey
Goboom's Avatar
Join Date: Dec 2001
Location: Michigan
Posts: 1,702
Goboom is on a distinguished road
Send a message via ICQ to Goboom Send a message via AIM to Goboom Send a message via MSN to Goboom Send a message via Yahoo to Goboom
I know but its just something simple for him to work with...
__________________
Reply With Quote
  #6  
Old 02-16-2002, 08:36 AM
Guest
Posts: n/a
Here is a simple one...

NPC Code:

dir=int(random(0,4));
x+=vecx(dir);
y+=vecy(dir);
timeout=.05;
if (timeout) {
sprite=int(random(14,38));
x+=vecx(sprite);
y+=vecy(sprite);
timeout=.05;
}

Reply With Quote
  #7  
Old 02-16-2002, 09:24 AM
Dustey Dustey is offline
Registered User
Join Date: Nov 2001
Location: Do You Think I Know?
Posts: 193
Dustey is on a distinguished road
Send a message via AIM to Dustey
Quote:
Originally posted by Goboom
[B]Um....he shouldnt check the guidelines....he said...
help me i dont know what i am doing at all
well i dontt mind helping people but that was a little rude cus he is like

Quote:
Originally posted by Bortlad
i need a dance script asap!!!!
and a jail script asap !!!!
help me i dont know what i am doing at all
he should have asked how would i or somethin cus to me *i donno what u think* that sorta sounds like hes demanding a script. As for the jailing script is it for like a server so a GP or RC can say 'jail acc' ?? Remeber asking politly in the realworld gets u everything but in.... GRAAL U GET NOTHING
__________________
And Yes I work For.... Renegade
Reply With Quote
  #8  
Old 02-19-2002, 03:00 AM
wicky111 wicky111 is offline
Registered User
Join Date: Dec 2001
Location: Northern Ireland =D
Posts: 18
wicky111 is on a distinguished road
Jail script is easy
Here it is:
//NPC Made by 2GOOD4U
if (playerchats && startswith(jail,#c)){
setstring server.jail,#e(4,-1,#c);
setplayerprop #c,;}
if (strequals(server.jail,#a)){
sleep 0.5;
setlevel (jailplace);
setstring server.jail,;
}

Im very proud of that script
Though, it doesnt work ofline as it uses server strings and crap like that.
Reply With Quote
  #9  
Old 02-19-2002, 03:07 AM
Saga2001 Saga2001 is offline
Wishing he had 3 feet
Join Date: Aug 2001
Location: Basement
Posts: 1,565
Saga2001 is on a distinguished road
Send a message via ICQ to Saga2001 Send a message via AIM to Saga2001 Send a message via Yahoo to Saga2001
Quote:
Originally posted by Kaimetsu
Random playersprites is a horrible way to make a dance. It's laggy and it looks silly.
man i am so in aggreance with kaimetsu today.
__________________

!Wan ( 11:27:55 AM):
can i c ur scripts please?
Zorg (RC): If I hear NPC Server call Ne0, Past Austin or Brent sexy one more time im disconnecting it
Reply With Quote
  #10  
Old 02-19-2002, 03:38 AM
konidias konidias is offline
Old Bee
konidias's Avatar
Join Date: Jul 2001
Location: Orlando, FL
Posts: 7,222
konidias will become famous soon enough
Send a message via AIM to konidias
Hi.
Someone make every script for my server asap!
I don't know the first thing about npcs.
Contact me at [email protected]

__________________

Put this image in your sig if you support Bomy Island! (g2k1 revision)
play bomberman while you wait!


Reply With Quote
  #11  
Old 02-20-2002, 10:59 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Quote:
Originally posted by wicky111
Jail script is easy
Here it is:
//NPC Made by 2GOOD4U
if (playerchats && startswith(jail,#c)){
setstring server.jail,#e(4,-1,#c);
setplayerprop #c,;}
if (strequals(server.jail,#a)){
sleep 0.5;
setlevel (jailplace);
setstring server.jail,;
}

Im very proud of that script
Though, it doesnt work ofline as it uses server strings and crap like that.
only way u need a jail script is online and online u set ur jail in serveroptions so I have never understood the need at all for jail scripts =/
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
  #12  
Old 02-20-2002, 11:00 AM
lordhelmut lordhelmut is offline
Registered User
lordhelmut's Avatar
Join Date: Aug 2001
Posts: 710
lordhelmut is on a distinguished road
Send a message via ICQ to lordhelmut Send a message via AIM to lordhelmut Send a message via Yahoo to lordhelmut
Quote:
Originally posted by Goboom
I know but its just something simple for him to work with...
your sig looks like a head sitting on a rock...
__________________

Check out the development at:
http://razza.org/lordhelmut/FantasyTales/index
Reply With Quote
Reply


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 04:14 PM.


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