r/howdidtheycodeit • u/ah7madaj3 • Nov 16 '23
Question How did they code Npc routine
In games like harvest moon each character have multiple places and routine like drinking in the bar between 6_7 cut the woods 4 days in the week they might go to they pathfind to thier target and most importantly they react to whats going on (rain,events,seasons,time of day, place activities and gifts) what kind of system can be made to manage all of these things.
6
Upvotes
View all comments
Show parent comment
6
u/Salty_Example4475 Nov 16 '23
Seconding GMTK’s video. It doesn’t go too in depth on the coding part, of course, but gives a great general idea about the design aspect of routines.