OpenGothic icon indicating copy to clipboard operation
OpenGothic copied to clipboard

Npc full-day simulation

Open Try opened this issue 7 months ago • 1 comments

If player doesn't skip time(sleep) and not progressing story, all npc's should go to same predefined daily routine every day. However process is not always converges, specially across multiple in-game days.

Zuris

Seem to be related to general script bug. Maybe even reproducible in vanilla.

image
FUNC VOID Rtn_Start_409 ()
{
	TA_Stand_ArmsCrossed	(05,30,06,25,"NW_CITY_BALTRAM");
	TA_Stand_Guarding		(06,25,06,30,"NW_CITY_ZURIS_REGAL");   // <- BUG?
	TA_Stand_ArmsCrossed	(06,30,08,30,"NW_CITY_BALTRAM");  // Not switching back, as script requires 5m distance from way-point
	//TA_Stand_Guarding		(08,25,08,30,"NW_CITY_ZURIS_REGAL");
	TA_Stand_ArmsCrossed	(08,30,11,30,"NW_CITY_BALTRAM");
	//TA_Stand_Guarding		(11,25,11,30,"NW_CITY_ZURIS_REGAL");
	TA_Stand_ArmsCrossed	(11,30,14,30,"NW_CITY_BALTRAM");
	//TA_Stand_Guarding		(14,25,14,30,"NW_CITY_ZURIS_REGAL");
	TA_Stand_ArmsCrossed	(14,30,20,00,"NW_CITY_BALTRAM");
	TA_Sit_Throne 			(20,00,00,30,"NW_CITY_CHAIR_ZURIS");
	TA_Sleep				(00,30,05,30,"NW_CITY_BED_ZURIS");
};

Halvor

Can be same as Zuris

Image

Knight

Image

Barracks

Image

Try avatar Jul 30 '25 22:07 Try

Can confirm it happens in vanilla as well. Don't think much can be done, threshold was just chosen too generous.

thokkat avatar Jul 31 '25 17:07 thokkat