Leader's background in game

Sylra

Chieftain
Joined
May 22, 2017
Messages
6
Hi everyone,

I am trying to make a custom leader, since I had 0 knowledges, I had to learn how it worked, I think I'm quite okay now unless that I can't make a background image to work for a leader when we are in game, I have the placeholder cleopatra one, with my custom leader portrait that is working, I tried to look on some of JFDs' leaders, I see that there are .dds/.tex of those background pictures, but I'm unsure on how you bind them to the rest, I can see that they are added as element in the .xlp file, but it looks like it doesn't work for my custom leader after all.

Am I missing something? I am not using the SQL way for the moment, but I don't think it is related.
Is it in the custom properties of the project?

Thanks in advance, I can elaborate if needed, but I try to be concise.
 
I had same problem until this weekend, until I saw Sikh Ranjit 0.20 civ.

That tex files are created with modbuddy, that I think is all but a mod buddy at all...

So you simple do 3 dds images (edit the 3 images of mod above with paint.net or something) and you are done!

Code:
<LoadingInfo>
      <Row LeaderType="LEADER_RANJIT" ForegroundImage="Sikh_Ranjit_Foreground.dds" BackgroundImage="Sikh_Ranjit_Background.dds"    EraText="LOC_LOADING_INFO_LEADER_DEFAULT" PlayDawnOfManAudio="0"/>
   </LoadingInfo>
  <DiplomacyInfo>
      <Row Type="LEADER_RANJIT" BackgroundImage="Sikh_Ranjit_Diplomacy.dds"/>
  </DiplomacyInfo>

PS: I dont know if this using makes other diplomacies disappear in game (this happens to me since this modification), didn't had time to test. To test I have to remove all mods and test again only with mine or with Sikh Ranjit´s.
 
Hi, I may do something wrong/dumb but it is still not working for me. I thought it was because I had to update Mod.Art.xml file but it seems that it doesn't change anything. On the built solution, the .modinfo seems to contain all the ArtDefs/BLP/dds required but it is still showing the cleopatra placeholder.

I could share the solution here but it is kind of a fresh one, I am just trying to put the diplomacy background and the loading pictures, but it doesn't work.

Do you have any suggestions? I'm really lost about it right now. Thanks in advance.

PS: the dds that I want as background seems to work because I am able to see it for the PortraitBackground of the leader.

PS2: I AM STUPID. In fact I was putting the little code snippet under the frontend xml file ... I created a new one for the ingame one and it works.
 
Last edited:
I had same problem until this weekend, until I saw Sikh Ranjit 0.20 civ.

That tex files are created with modbuddy, that I think is all but a mod buddy at all...

So you simple do 3 dds images (edit the 3 images of mod above with paint.net or something) and you are done!

Code:
<LoadingInfo>
      <Row LeaderType="LEADER_RANJIT" ForegroundImage="Sikh_Ranjit_Foreground.dds" BackgroundImage="Sikh_Ranjit_Background.dds"    EraText="LOC_LOADING_INFO_LEADER_DEFAULT" PlayDawnOfManAudio="0"/>
   </LoadingInfo>
  <DiplomacyInfo>
      <Row Type="LEADER_RANJIT" BackgroundImage="Sikh_Ranjit_Diplomacy.dds"/>
  </DiplomacyInfo>

PS: I dont know if this using makes other diplomacies disappear in game (this happens to me since this modification), didn't had time to test. To test I have to remove all mods and test again only with mine or with Sikh Ranjit´s.
I was looking at Ranjit MOD again and again, but my workflow was actually not importing .dds files directly but build .tex files, link into .xlp files, then use either artdef or ModArt to call them. For now I figured out icons should go under UI/ICON package when defining .xlp file, and loading screen background should go under UI/Shell_loading. But I lost track on the foreground image of a loading screen, and the background/leader in diplomacy screen. Does anyone know what package they belong to?
PS: for some reason importing .dds files directly and call them using such as <ForegroundImage="Sikh_Ranjit_Foreground.dds"> didn't work for me.
 
I was looking at Ranjit MOD again and again, but my workflow was actually not importing .dds files directly but build .tex files, link into .xlp files, then use either artdef or ModArt to call them. For now I figured out icons should go under UI/ICON package when defining .xlp file, and loading screen background should go under UI/Shell_loading. But I lost track on the foreground image of a loading screen, and the background/leader in diplomacy screen. Does anyone know what package they belong to?
PS: for some reason importing .dds files directly and call them using such as <ForegroundImage="Sikh_Ranjit_Foreground.dds"> didn't work for me.

The structure is not using mod art or xlp files, so will not work with your mod. I am changing mine to this structure where I only need dds files for art! Doesn't belong to any package, is simply file system editing.

Of course that for more advanced or future things like changing 3D graphics I have to change it eventually, and hopping mod buddy gets more user friendly and not so buggy.
 
Back
Top Bottom