.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Bot Coding (http://forums.bots-united.com/forumdisplay.php?f=24)
-   -   effective civilian coding (http://forums.bots-united.com/showthread.php?t=2241)

clan-killer 08-07-2004 17:40

effective civilian coding
 
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.

stefanhendriks 08-07-2004 22:22

Re: effective civilian coding
 
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)...

clan-killer 08-07-2004 22:25

Re: effective civilian coding
 
yeah it's cooler to have things unscripted, only data saved like:

were someone:

works
live
etc.

Pierre-Marie Baty 12-07-2004 18:51

Re: effective civilian coding
 
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 :)

@$3.1415rin 13-07-2004 01:21

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


All times are GMT +2. The time now is 17:31.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.