![]() |
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. |
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)... |
Re: effective civilian coding
yeah it's cooler to have things unscripted, only data saved like:
were someone: works live etc. |
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 :) |
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.