Pazyryk
Deity
- Joined
- Jun 13, 2008
- Messages
- 3,584
Actually, I want to kill the background leader screen entirely during diplo/trade interactions. I don't want the leader animation or still image. Everything else about trade UI follows the standard Lua/XML context system and seems straightforward. But I can't see what Lua or XML element controls the animation screen. Yes, I can change it to a still image and change the image (I wrote a tutorial on that), but I can't figure out how to get rid of it.
The only thing I can figure out is that DiploList.lua (and several other places) call Players[ePlayer]
oBeginDiploWithHuman(), which brings up the leader screen and diplo/trade UI (works from live tuner too). After that you are in LeaderHeadRoot.lua, but there is nothing in LeaderHeadRoot.lua or LeaderHeadRoot.xml that seems to control the background screen. I thought that UI.SetLeaderHeadRootUp( true ) might be doing it, but that statement has no effect as far as I can tell.
The only thing I can figure out is that DiploList.lua (and several other places) call Players[ePlayer]
