AI and logics
todo;
todo;
todo;
Capturing NPC in game
To capture NPC following steps should be applied:
- Run game in
mixed
ordebug
mode (use mixed engine) - Hold left
alt
and click on NPC
As result, you will see game world from perspective of captured NPC.
Using ai_dbg_stalker on
starts rendering object details for stalkers.
Using ai_dbg_monster on
starts rendering object details for stalkers.
GOAP displaying in logs
todo;
todo;
todo;
Getting action planners states
todo;
todo;
todo;
Profiling performance:
To profile performance of scripts / c++ scheduler of AI etc following steps are required:
- Enable rendering of stats:
rs_stats on
- Enable rendering of ai profiling:
ai_stats on
After execution following information will be visible:
Meaning
Stats have 7 columns displayed in such format:
[name][min_time][avg_time][max_time][call_rate][call_count][total_time]
AI debug console commands:
todo;
todo;
todo;