Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Vendors and Brains
Author Message
artexd
Apprentice
*

Posts: 22
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Sep 2014
Reputation: 0



Post: #1
Vendors and Brains
I'am new here and have some questions...
How do I change brain_vendor? Or how I make my own brain definition?
What is inside the brain_vendor?
And one more:
How do I make a NPC to walk in a specified region?
(This post was last modified: 09-08-2014 05:55 AM by artexd.)
09-08-2014 05:32 AM
Find all posts by this user Like Post Quote this message in a reply
Crusader
Master
**

Posts: 254
Likes Given: 7
Likes Received: 19 in 12 posts
Joined: Apr 2012
Reputation: 6

Erehwon New Hera

Post: #2
RE: Vendors and Brains
I guess this is the wrong section, prolly this post will be moved in general help section... anyway:

directly from the spherewiki tutorial:

Code:
BRAIN_NONE        0     // Players: No brain. Convenient eh?  :)
BRAIN_ANIMAL    1     // Animals: wander, attack only if attacked
BRAIN_HUMAN        2     // Human: wander and speak
BRAIN_HEALER     3     // Healer: heal ghosts players in proximity
BRAIN_GUARD     4     // Guard: attack bad guys I see
BRAIN_BANKER     5     // Banker: you can access your bank/stash through him
BRAIN_VENDOR     6     // Vendor: buys and sells things
BRAIN_BEGGAR     7     // Beggar: follows players around asking irritating questions
BRAIN_ANIMAL_TRAINER 8     // Trainer: can stable animals
BRAIN_THIEF         9    // Thief: no effect right now
BRAIN_MONSTER     10     // Evil: attack all players we see
BRAIN_BERSERK     11     // Crazy: attack anything we see
BRAIN_UNDEAD     12     // Undead: same as evil, just used for identification
BRAIN_DRAGON     13     // Dragon: breathes fire

basically a vendor type brain is able to accept the command buy and sell, and the related dialog window.
Depending on what u want to do u might change it or not.

about ur problem, a GOTO <coord> should do the trick, but u might need to check ur ini for settings about npc lost teleport and teleport distance....u might also want to set their home and homedist to the point u want they reach, to help them go in that spot.

,-)
(This post was last modified: 09-08-2014 08:43 AM by Crusader.)
09-08-2014 08:40 AM
Find all posts by this user Like Post Quote this message in a reply
[+] 1 user Likes Crusader's post
artexd
Apprentice
*

Posts: 22
Likes Given: 6
Likes Received: 0 in 0 posts
Joined: Sep 2014
Reputation: 0



Post: #3
RE: Vendors and Brains
Thanks a lot! And tip with the home, homedist is really helpful.
Sorry for writing in the wrong section Tongue
I just want to add that sphere is amazing!
(This post was last modified: 09-08-2014 06:55 PM by artexd.)
09-08-2014 06:34 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)