MSMD: How to Create a Mod (video demo)

It works out of my mod folder but if I put it in the mod folder assets, it doesn't!
 
Also the button for him is just pink
 
Don't use spaces in file names, that can always lead to problems.

Done that but it stays pink, also thre are spaces in some of the big picture file names but they don't go pink!
 
Oops, i put the button in the wrong folder :blush:.
I've put it into Art/LeaderHeads/Vetinari/, but in the XML the path is Art/interface/LeaderHeads/Vetinari/.

And as rule of thumb: If something is pink ingame, then it can't find the graphics, due to wrong folder or typo in the file name.
 
Done, the leader button works but I don't know what the problem with the civilization buttons is, do you have to have the <path> bit or can you delete that?
 
Here's the civilization code:
Code:
<CivilizationArtInfo>
      <Type>ART_DEF_CIVILIZATION_ANKH-MORPORK</Type>
      <Button>,Art/Interface/Buttons/Civilizations/Fbutton.dds</Button>
      <Path></Path>
      <bWhiteFlag>0</bWhiteFlag>
    </CivilizationArtInfo>
    <CivilizationArtInfo>
      <Type>ART_DEF_CIVILIZATION_AGATEAN_EMPIRE</Type>
      <Button>,art/Interface/Buttons/Civilizations/Abutton.dds</Button>
      <Path></Path>
      <bWhiteFlag>0</bWhiteFlag>
    </CivilizationArtInfo>
please help
 
I mean the flag buttons for my civilizations still aren't working but the leader ones are.
 
Pink, again.
 
checked for typos, none, have I missed anything out in the code.
 
I know what the problem is, I had the same issue. When you're not giving the computer an atlas, DON'T USE A COMMA. i.e. Instead of this:
Code:
<Button>,art/Interface/Buttons/Civilizations/Abutton.dds</Button>

Do this

Code:
<Button>art/Interface/Buttons/Civilizations/Abutton.dds</Button>
 
Done, but it still doesn't work, do I have to have the <PATH> tag filled in?
 
Back
Top Bottom