[SDK] How to stop viewport shifting focus during Autoplay?

Tholal

Emperor
Joined
May 19, 2009
Messages
1,676
It's really annoying to try to look around the map during Autoplay and have the game shift the viewport focus everytime one of my cities builds something. How do I disable this focus shifting during autoplay?
 
I'm not sure which one of these are actually responsible for most of the annoying camera shifts, but the InterfaceIFace class has the methods lookAt(), lookAtCityOffset() and lookAtSelectionPlot(). They are implemented in the exe, so you can't change their behaviour, but you can track down all their calls and add an extra !isAutoplay() check or similar there.
 
Back
Top Bottom