.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Bot Coding
General Bot Coding See what a pain it is to get those little mechs shooting around

Reply
 
Thread Tools
effective civilian coding
Old
  (#1)
clan-killer
Member
 
Status: Offline
Posts: 16
Join Date: Jan 2004
Default effective civilian coding - 08-07-2004

What is a good way to make civilians that work effective with a life.

for example sleep, go to work, can drive cars, report crimes etc.
  
Reply With Quote
Re: effective civilian coding
Old
  (#2)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: effective civilian coding - 08-07-2004

perhaps you can have sort of - time rithms (schedules) - per character. Ie:

- get up (wake up)
- go to location xxx
- do work
- go to location yyy
- eat
- etc

Humans have this too, yet far more varied. But it would make a good start. The hard part begins when there are things happening 'randomly' (ie, that is (cannot) be scripted)...


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote
Re: effective civilian coding
Old
  (#3)
clan-killer
Member
 
Status: Offline
Posts: 16
Join Date: Jan 2004
Default Re: effective civilian coding - 08-07-2004

yeah it's cooler to have things unscripted, only data saved like:

were someone:

works
live
etc.
  
Reply With Quote
Re: effective civilian coding
Old
  (#4)
Pierre-Marie Baty
Roi de France
 
Pierre-Marie Baty's Avatar
 
Status: Offline
Posts: 5,049
Join Date: Nov 2003
Location: 46°43'60N 0°43'0W 0.187A
Default Re: effective civilian coding - 12-07-2004

database-driven AI ?

The Sims implement stuff like that very well. There's one chapter or two in the AI Game Programming Wisdom book about them. They have put attraction/repulsion weights on various nodes in their nodemap. For example a hungry Sim passing near a fridge is likely to open it and get some food



RACC home - Bots-United: beer, babies & bots (especially the latter)
"Learn to think by yourself, else others will do it for you."
  
Reply With Quote
Re: effective civilian coding
Old
  (#5)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: effective civilian coding - 13-07-2004

also take a look at the NOLF2 article in AI Game Programming wisdom, that looks pretty promising as well



Last edited by @$3.1415rin; 13-07-2004 at 12:53..
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com