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 08-16-2001, 05:13 AM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
Script stupid....

What is the GIF for the Survivor Dragon on a blank NPC....

Also.. If someone can take the time to teach me how to script.. over aim or something.. it would be apreciated
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #2  
Old 08-16-2001, 05:15 AM
Tin Man Tin Man is offline
GFX Ninja
Tin Man's Avatar
Join Date: Aug 2001
Location: Near a PC
Posts: 1,277
Tin Man is on a distinguished road
Send a message via ICQ to Tin Man Send a message via AIM to Tin Man Send a message via Yahoo to Tin Man
For learning NPC scripting i suggest reading the NPC Scripters guid on the main site and also looking a scripts for NPCs. These two suggestions should at least give you a basic idea on how to script.
__________________


Check it out
Reply With Quote
  #3  
Old 08-16-2001, 06:49 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
there is no 1 gif... for the dragon... its a gani...
and before putting it up on a server.. i would personally ask if i could use the gani and art....
__________________
Thanks,
-KJL
Reply With Quote
  #4  
Old 08-16-2001, 06:56 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
there is a gani template thingy tho
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #5  
Old 08-16-2001, 07:38 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
For every gani theres a image like for every LiquidIce00 theres uglyness
Reply With Quote
  #6  
Old 08-16-2001, 07:51 AM
LiquidIce00 LiquidIce00 is offline
RadioActive Monkeeh
LiquidIce00's Avatar
Join Date: Apr 2001
Location: dirty south
Posts: 2,112
LiquidIce00 is on a distinguished road
Send a message via ICQ to LiquidIce00 Send a message via AIM to LiquidIce00 Send a message via Yahoo to LiquidIce00
Quote:
Originally posted by Poogle
For every gani theres a image like for every LiquidIce00 theres uglyness
Lol Poogle I wouldnt be talking
you are like noob scripter and i helped you out like a few times lolz
ur so noob and sell out
__________________
LiquidIce *Owner* (UnholyNation)
-UN Website
http://www.unholynation.com
-UN Forum
http://forums.unholynation.com
-
-the thinker
-

-
onwall2 for nonp2p (i suck at onwall)
Reply With Quote
  #7  
Old 08-16-2001, 09:45 AM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
Ok.. I have another Question.. How do i script a warp so that only people w/ a guild tag can get through
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #8  
Old 08-16-2001, 09:50 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
do something like this in a npc. Well there is a few more lines you would have to put in for a p2p server (like setshape) but like here is the basics

NPC Code:

//KJL's Example
if(playertouchsme&&strequals(#g,GuildName)
setlevel2 level,x,y

__________________
Thanks,
-KJL
Reply With Quote
  #9  
Old 08-16-2001, 11:06 AM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
Thanks But I need to ask a little more...I need to make it so someone with the tag can say Open Castle.. And it will be open to all
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #10  
Old 08-16-2001, 11:13 AM
Lyndzey8000 Lyndzey8000 is offline
Registered User
Join Date: Mar 2001
Posts: 372
Lyndzey8000 is on a distinguished road
Send a message via ICQ to Lyndzey8000 Send a message via AIM to Lyndzey8000
NPC Code:

if(!open){
show;
}
if(strequals(#c,OpenBridge) && strequals(#g,GuildName)){
set open;
}
if(playertouchsme&&!strequals(#g,Guildname)&&open) {
setlevel2 levelname,x,y;
}
if(playertouchsme&&strequals(#g,Guildname)){
setlevel2 levelname,x,y;
}


Could be easier, and I am not sure that will work. I am too tired to think right now.
__________________
This account is used by Psyhcu because I am too lazy to register my own.
Reply With Quote
  #11  
Old 08-16-2001, 12:01 PM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
Well Lindzey.. That didn't Work.. I am looking for a script like dustari's... Only Kingdom members can ebter unlee one says "Open Room" and then it says Free entry.. Plz someone send me that script
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #12  
Old 08-16-2001, 12:49 PM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
try this... (haven't tested it so I dunno if it will work but I assume it will/ it should work)
NPC Code:

//KJL's Example
if(created)
setshape 1,Width (in tiles)*16,Height (in tiles)*16;
if(playertouchsme&&(strequals(#g,GuildName)||this.open==1))
setlevel2 level,x,y;
if(playerchats&&strequals(#g,GuildName){
if(strequals(#c,Open Castle))
this.open=1;
elseif(strequals(#c,Close Castle)))
this.open=0;
}

__________________
Thanks,
-KJL
Reply With Quote
  #13  
Old 08-16-2001, 01:15 PM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
OK.. One last thing.. How do you Script Getting a Beer at a bar... Just by saying beer.. for 1 gralet... it automatically takes the money
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #14  
Old 08-16-2001, 01:57 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
DUDE!...dUdE!.....DuD3!....!!DUde!!....don't ask for scripts...that doesn't make u improve ..it just makes u lazy.....some advice would be read the npc programming guide about 45 times and actually understand what it means and try to make your script..if u have any questions or problems just tell us on here.......
---------------------L8---------------------
--Brian-------------------------------------
Reply With Quote
  #15  
Old 08-16-2001, 02:27 PM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
.. I dont understand those stupid guides....
Can someone just tell me the beer at the bar script
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

Reply With Quote
  #16  
Old 08-16-2001, 02:36 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
I'm am being helpful to HIS scripting learning....DONT NE ONE TELL HIM!!!!!!!!!...I'm am being helpful to HIZ SCRIPTING LEARNING
Reply With Quote
  #17  
Old 08-16-2001, 10:58 PM
Kobain319 Kobain319 is offline
Registered User
Join Date: Aug 2001
Posts: 127
Kobain319 is on a distinguished road
Send a message via AIM to Kobain319
While were on the subject of the bar could anyone tell me how to script a bar tender that gives out beer for 1g...???
__________________
Reply With Quote
  #18  
Old 08-16-2001, 11:07 PM
SkooL SkooL is offline
somebody to love
Join Date: Jun 2001
Location: bat country.
Posts: 3,446
SkooL is on a distinguished road
Send a message via AIM to SkooL
Quote:
Originally posted by Beatles413
.. I dont understand those stupid guides....
Can someone just tell me the beer at the bar script
Learn to script...the bar script is stupid anyways...but if you want it, here it is.
NPC Code:
if (playerchats&&strequals(#c,buy beer) {
putnpc beer.gif,beer.txt,playerx,playery-2;
playerrupees-=5;
}


Then make a .txt file in the same directory with...
NPC Code:
if (playertouchsme) {
playerhearts+=1;
destroy;
}

__________________
the sky is falling
Reply With Quote
  #19  
Old 08-17-2001, 12:11 AM
Beatles413 Beatles413 is offline
Registered User
Join Date: Aug 2001
Location: Ummm....
Posts: 162
Beatles413 is on a distinguished road
Send a message via AIM to Beatles413 Send a message via Yahoo to Beatles413
Adreneline... I oculd't get your Script to work.. it sayed.. Unexpected flag something
__________________
I'm Worst at What I do Best, And for this gift I feel Blessed

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 05:31 AM.


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