Finding the cause of lag is very hard. Overall, the AI itself consumes a lot of CPU and the game does not utilize many cores. Pathing is the biggest problem. The larger the map and the more AI players, the more lag.
There are some settings in ai_settings\default_skirmish_<difficulty> to reduce the amount of parallel actions and how long it remembers locations. I set pathing_theat_memory_duration from 120 to 30. And I use in tatic_retry_timeout_defaults a minimum of 3 seconds.
Besides that, abilities with filters, aura's and interval_actions also have a bad impact on the performance. OKW's Forward Receivers is one example of an ability that causes lag (abilities\west_german\always_on_ability\dispatch_ability\sws_halftrack_forward_receivers). The combination of always_on with the timed_action should really be avoided. In this case, the animator_set_state action can be directly in the action_table, without the timer around it.
If lag appeared recently, then retrace your steps. What kind of changes did you make since the last test?
-
#Steam AliasWL%Streak
- 1.279110.717+17
- 2.270144.652+2
- 3.558230.708+2
- 4.422.955+12
- 5.29647.863+2
- 6.8120.802-1
- 7.19078.709+4
- 8.20387.700-1
- 9.399200.666+8
- 10.212115.648+17