Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
Sign in to follow this  
zane203

Looking for some advice for my AI system

Question

ok so I've created my own little set-up, not hard but can get complicated.

 

its basically a checker to see what shall the NPC say next. anyway these are all the exterior variables that the system checks.

 

(* means possible, havnt decided yet)

-Time of Day

*-Weather

-What Day

-Title of player

-Fame of Player

-player conversation stats

 

 

how should i set these up for the logical check? I think if I go with Conv.Stats first it can decide from the start the main base of "Nice/Mean" response, and then go to fame and ect. =]

Share this post


Link to post
Share on other sites

9 answers to this question

Recommended Posts

  • 0

If you are eventing this then you should check to see what the player has done recently, or what happened in the game recently.

Share this post


Link to post
Share on other sites
  • 0

A good AI system first calculates all actions that would make sense, and in percentage how much each would make sense. Then a randomly generated number decides which of these actions is selected.

Share this post


Link to post
Share on other sites
  • 0

Not at all Valdred.

 

You need to explain your opinion; telling someone they're wrong and not elaborating just won't do. ^_^

 

 

AI never madwe sense to me :(

 

You need a tutorial?

Share this post


Link to post
Share on other sites
  • 0

Just to clarify, are you asking how to actually store data like hero's reputation, time of day, and whatnot? Or are you just wondering how to implement it into the NPC events?

 

If it's the latter, Conditional Branches work best for this stuff. Here's an example I whipped up:

 

http://img96.imageshack.us/i/forumhelpone.png/

 

Hope it helps!

Share this post


Link to post
Share on other sites
  • 0

Nice post man! But I think zane was just looking for suggestions. ^~^

Share this post


Link to post
Share on other sites
  • 0

O.o yes the system is done... but im always looking on ways to improve.

 

the system just variable after variable after variable. And a few switches such as titles and when it comes to local news, and or the opinion of a resident, the stored data for the condition of the kingdom.

 

tho, I really just got a turn around on most of these, i still wanna say thanks xD.

 

i was going to script the AI system, but I want to stick to the skeleton of my game programming style guide. and im doing custom scripts and scripts learning all for the next game project, while i do DLC for this game on the side =].

 

but thanks guys -- and suggestions are still nice ^^

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...