Daimonin
Members login
Sign Up!      problems?
N F
* Daimonin Forum
Home Help Search Calendar

Welcome Guest, you have to register to post here.
Search

News

Stats
73707 Posts in 6687 Topics by 8103 Members
Latest Member: shambizzle
Daimonin Forum  |  Project News  |  Official announcements  |  Programmers' blogs  |  Topic: Gecko 2006-04-05: Some AI work « previous next »
Pages: 1 [2] Go Down Print
Topic: Gecko 2006-04-05: Some AI work  (Read 2005 times)
smacky
Administrator
*
*
*
*
*


Karma: +114/-92
Posts: 5221



View Profile
« Reply #15 on: April 04, 2007, 03:21:06 pm »

*Smacky tweaks his differentiate_between_behaviours_and_scripts process*

Got it. Smiley
Logged

grommit
Demonic High Priest of Moroch
*
*
*
*


Karma: +26/-2
Posts: 2471



View Profile
« Reply #16 on: April 04, 2007, 03:27:23 pm »

Quote from: "smacky"
HTH did I miss those first two links?

Hehe. The second link is where I got much of my Stoneglow dog and cat AI from. That the example actually uses dogs and cats was a bonus!
Logged
smacky
Administrator
*
*
*
*
*


Karma: +114/-92
Posts: 5221



View Profile
« Reply #17 on: September 04, 2007, 02:01:53 pm »

Are friendships (and attractions) cumulative?

That is with
Code:
friendship race=orc:-100 arch=orc_berserker:-100

will the AI dislike all orcs (-100) and really dislike berserkers (-100 -100 = -200)?

Or:
Code:
attraction type=6:100 cursedtype=6:-100

will the AI be attracted to food (100) but not cursed food (100 -100 = 0)?

EDIT: Answer is yes they are cumulative -- cf, get_npc_attitude() and get_npc_object_attraction() in server/monster_behaviours.c.
Logged

Pages: 1 [2] Go Up Print 
Daimonin Forum  |  Project News  |  Official announcements  |  Programmers' blogs  |  Topic: Gecko 2006-04-05: Some AI work « previous next »
Jump to:  

Page created in 0.064 seconds with 19 queries.
Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks
Copyright 2008 Daimonin MMORPG  •  Terms of Service  •  XHTML  •  Daimonin sourceforge open source project