MSMD: How to Create a Mod (video demo)

I tried to add in a new leader for a civ. All I did was I copied the format for an old leader, and changed all the values like the tutorial said. I would understand what went wrong if it said that only that leader wouldn't work, but I can't find the problem as it disables all of them. The only thing I can think of is that before all of that, it says that the </CIV4CivilizationsInfos> or something like that tag doesn't match up with the <LeaderHeadInfos> or something like that tag, which it doesn't, but I've got LeaderHeadInfos closed off, and the other is for the one with the schema, and it shouldn't be messed up, as all I did was copy it from the original file.
 
:confused: strange.

Okay, that i understood it right:
You've copied the hannibal entry to the end of the leaderheadInfos.xml, changed his name from LEADER_HANNIBAL to LEADER_SOMEONEELSE.
Then you've added LEADER_SOMEONEELSE to another civ.
And you did nothing else.

Could you maybe copy this to entries in the next post?
 
I actually copied Bismarck, what I meant about the Hannibal one is that was the "Error" popup that I copied when I started the game. And I'll try to post the code. I'll post the single part for the leader now, but the error it's giving me right now is at the bottom of the code. If you need me to post the rest, just tell me and I will . . . COOL! I found the problem, I had added an extra <LeaderHeadInfos>. I deleted it and the mod works! Now I have another problem, I've got the BUG mod set to always load, so when I load this new mod, it loads too, but only part of it loads. Like I get the remodeled main menu, and the Earth2 world setting, but that's about it. How can I get both together?
 
could you upload to youtube? It doesn't seem to work on my computer, the video works for a little while and then the video frezes but the audio keeps playing. I don't think that it is a problem on my computer because last year my teacher uploaded instructions and used the same program and I didn't have any trouble viewing that.
 
Nope, normal graphics too. And the Civilopedia is the same, and the only difference is the starting screen, it's the banner-like thing that says Beyond the Sword in dramatic, fancy letters.
 
I've got the BUG mod set to always load

Actually it's the BAT mod

BUG is included in BAT, so that problem is a bit confusing.

But try this: Go to the BAT folder, open the BAT.ini (rightclick, open with notepad/wordpad), and change there

PHP:
; Custom XML and Python from user folder are not loaded
NoCustomAssets = 0

to

PHP:
; Custom XML and Python from user folder are not loaded
NoCustomAssets = 1

If there's no entry like this, then add it.
 
I accidentally said that I had the BUG set to automatically load, but I meant to say I had the BAT. Okay, I'll try it.
 
It was already set to NoCustomAssets = 1, and I changed it to 0, but nothing happened. I'm gonna try and mix them together.

Okay, so I mixed them, and it shows up in everything, except I can't choose to be the leader I added.
 
Yep. I can see it in the civilopedia, but I can't choose to be them. Which is annoying. They also don't have a button, but that's a different issue, as I don't have photoshop to make one.
 
Nope, it checks out. The tag in CIV4CivilizationInfos matches the one in CIV4LeaderHeadInfos.
 
Okay, maybe I'll try that. Could it have something to do with the changed flag graphics? I don't think it would, as it works for the other leaders of that civ, but . . .
 
hey im having problems saving xml files. when i edit the files it tells me "access denied". im using windows 7 and am an administrator. ive also tried putting the files my desktop, that allowed me to save my edits to xml files. then transfer them back to the mods folder, but the game seems to ignore the folder completely. can anyone help me, or at least tell me where i can find some help?

Thanks.
 
Back
Top Bottom