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-25-2002, 01:20 PM
Ultima_P2P Ultima_P2P is offline
Registered User
Join Date: Dec 2001
Location: On Your Doorstep
Posts: 168
Ultima_P2P is on a distinguished road
Send a message via AIM to Ultima_P2P
Arrow Another Trading NPC Thread

Im trying to make my own trading npc, but its harder than i thought....

i need help with...

1. so that it only shows the selected item above your head
2. so that it will place in front of you (non-p2p)
3. it actually works

Remember this is with multiple items

If anybody can HELP and not make the entire npc for me it would be much appreciated.
__________________

- ¤*U£†îmå*¤

Forever in my hands
I hold the sword...
Reply With Quote
  #2  
Old 02-25-2002, 02:37 PM
joseyisleet joseyisleet is offline
Registered User
Join Date: Aug 2001
Posts: 378
joseyisleet is on a distinguished road
-=Josey=-
Ultima, I'm just now starting my own NPC trading item, I'll happily let you look at the code to learn from it, and not steal it. =P
__________________
Account used by Josey and Howard.
Ali G: 'Is it cause i Black?'
Reply With Quote
  #3  
Old 02-25-2002, 06:08 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Re: Another Trading NPC Thread

Quote:
Originally posted by Kaimetsu
1. so that it only shows the selected item above your head

#W (or maybe #w, I get them mixed up), showimg and selectedweapon.
...
are you ok Kai, thats quite a bit ...
Reply With Quote
  #4  
Old 02-26-2002, 12:19 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
it is not really that hard if you have all the tradible items in .txt files on server...
__________________

!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
  #5  
Old 02-26-2002, 11:00 AM
Ultima_P2P Ultima_P2P is offline
Registered User
Join Date: Dec 2001
Location: On Your Doorstep
Posts: 168
Ultima_P2P is on a distinguished road
Send a message via AIM to Ultima_P2P
Re: Re: Re: Re: Another Trading NPC Thread

Quote:
Originally posted by Kaimetsu


But I always enumerate the commands they need in times like this

It's when they fall halfway between asking for scripts and asking how to solve problems, into the realm of asking how to solve scripts. The people who do this are generally more skilled than the script-beggars, but it's still a lazy way to work through an NPC.
I dont know if that was a compliment or not
Anyways....
I dont mean Q weapons, i cant say its name(because of thiefs out there ) but its a cool idea. I got it to work anyway

Quote:
it is not really that hard if you have all the tradible items in .txt files on server...
Umm...I guess ill need to test it online , I dont work for no server tho :o
__________________

- ¤*U£†îmå*¤

Forever in my hands
I hold the sword...
Reply With Quote
  #6  
Old 02-26-2002, 11:03 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
i love putnpc2

but alas, only p2p :P

ha ha
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #7  
Old 02-26-2002, 08:23 PM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Quote:
Originally posted by Kaimetsu
I just remembered that I said I'd always delete posts from this account. Hmm, a moral dilemma...

lol, what to do, what to do??
__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote
  #8  
Old 02-27-2002, 04:58 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Re: Re: Re: Re: Another Trading NPC Thread

Quote:
Originally posted by Kaimetsu


But I always enumerate the commands they need in times like this

It's when they fall halfway between asking for scripts and asking how to solve problems, into the realm of asking how to solve scripts. The people who do this are generally more skilled than the script-beggars, but it's still a lazy way to work through an NPC.
ahh, ic.
Reply With Quote
  #9  
Old 02-27-2002, 04:59 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by TDK_RC6
i love putnpc2

but alas, only p2p :P

ha ha
yup its very kool ...
Reply With Quote
  #10  
Old 02-28-2002, 09:16 AM
SSRobgeta SSRobgeta is offline
Ebil Cloud = l337 *kupo*
SSRobgeta's Avatar
Join Date: Aug 2001
Location: Monroeville, PA
Posts: 1,084
SSRobgeta is on a distinguished road
Send a message via AIM to SSRobgeta
The trading item is actually easy. You use, Showimg, Strings and stuff, and putnpc or putnpc2. :o
__________________
Rob Getashu
Anyone can show you the way, but the real adventure is finding it yourself..
Reply With Quote
  #11  
Old 02-28-2002, 09:32 AM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
(ACC)Royce:
The only problem with making a trading item that you can carry around is that if the players both touch the layed item at once they will both pick it up. I have absolutly no clue if there is a way to get around it. There is another thread just like this dated from about a month ago that Lord Helmut was asking about which I think was given the guidelines.

-Mr. Chik
Reply With Quote
  #12  
Old 02-28-2002, 10:05 AM
Phenom1K Phenom1K is offline
Registered User
Join Date: Dec 2001
Location: Somewhereoffthecoastof, Paradise
Posts: 138
Phenom1K is on a distinguished road
Send a message via AIM to Phenom1K Send a message via Yahoo to Phenom1K
Store all the stuff you have in a string, then tokenize, then rotate between the tokens according to the token number, and show the correct token image above head. Ingenius.
__________________
The following is a message brought to you in part by JR

The procedding was a message brought to you in part by JR
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 07:25 PM.


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