So how exactly does the Diplomacy Screen Backgrounds work?

XG417

Chieftain
Joined
Nov 20, 2016
Messages
15
Here's what I DO know about it:
- There can be at least 4 layers to it ( 1 Background, 2 Parallax objects, and the brown overlay thingy)
- Image files for the BG images are named BG_1 - 4
- The background and leader image can be set with DiplomacyInfo in the coding

What I do not know is how I can add those layers and animations to the diplo screen. I have all the images needed for it but no matter how much I fiddle with the coding and artdefs the BGs aren't working as intended - I still get just the first static image (BG_1) to appear. Looking at other people's mods didn't help much either. Any ideas?
 
That's the Leader image, right? I can already get that working

The background is my problem right now. I can only get one image to show up. In a standard Diplo Screen you have your animated BG and the brown overlay, right? That's what I'm trying to do, but I can't seem to get it right
 
The problem with the leader image is that, and I may be wrong about this, the program doesn't support semi-transparent pixels, so unless you embed your foreground image into your background you don't get smooth lines at the edge.
 
Back
Top Bottom