Mods won't work!

I'm still convinced the SDK is broken for most people. Small bits of data could have been lost during download from Steam, or that it didn’t install correctly. I have to edit core game files now in ModBuddy to get my mods working and I think I pretty much have a good idea how to mod in Civ5.
 
I'm still convinced the SDK is broken for most people. Small bits of data could have been lost during download from Steam, or that it didn’t install correctly. I have to edit core game files now in ModBuddy to get my mods working and I think I pretty much have a good idea how to mod in Civ5.

It may seem broken but it's probably because we aren't used to the new method of updating. My mod kept failing to load until I realized that I needed to use 2 separate update tags for YIELD_TYPE and YIELD amount for the same element :crazyeye:
 
Well I have re-created the mod twice more to no success... If someone knowledgeable in modding could PLEASE take a look at my mod I would be very grateful... Thank you!
 
Did you click "Build"? This packages the mod up and put's it in your mod folder.

That isn't in Kael's guide either and it took me a moment to realize that. I had been simply copying the mod folder manually into the Mods directory, but this does that for you and also must do some other setup. Though maybe this isn't the same thing after all since the game never even recognized it for me when I was doing it that way.

There's some sort of debugger that reads from a debug database that should tell you whether or not your mod is activated. I've not used it yet though...

If you figure it out, post back here and let us know what it was...

Actually, Kael's guide does mention clicking Build but it's one sentence at the beginning of the upload section and could use much more fleshing out.

There's an important thing to add in a mod for it to work which is explained in the page 32 of Kael's guide:

OnModActivate - UpdateDatabase - XML/yourfile.xml

Without this part your mod won't load anything.

The end of your civ5mod file should looks like something like this when done correctly:
Code:
 <Actions>
    <OnModActivated>
      <UpdateDatabase>XML/Buildings.xml</UpdateDatabase>
      <UpdateDatabase>XML/BuildingsClasses.xml</UpdateDatabase>
      <UpdateDatabase>XML/GameText.xml</UpdateDatabase>
    </OnModActivated>
</action>

with, of course, different filenames (i took this example from my own building addon).

Where do I find this? I'm not even sure I input my actions correctly. I manually typed in the filepath and everything inot the Actions tab, saved it, clicked build and it said it built fine. Then I checked my mod folder and nothing was there. I hope it has nothing to do with the initial filepaths when you first activate Modbuddy........
 
Alright. I took a quick look at it for you. First thing I noticed? Change in your actions tab all those entries from C:\.....\whatever
to XML/Civs/Korea/YourFileName.xml.

You know what I'm saying? Dynamic paths, not absolute.

Otherwise, it still doesn't work for me, even after I did that. Which means that you've done something wrong. And looking through your file, I wonder if you ever had this thing running at all. If not, why don't you go back and follow Kael's guide. And when he says in his guide something like "You now have a new Civ!" then load your mod and make sure it works before moving on to adding new units and buildings and such.

One question: Why are you attempting to add a Martial Artist unique unit, instead of something realistic like the Hwacha or Panungseon?

Might as well add the Ninja to Japan while we're at it...

EDIT: Looks like I was beat to the post. Oops.
 
@goddambigcar: Hmm, well I'll make the path change... I never was able to get it working in the first place... I wanted to make a unique warrior because I felt like it'd be more useful to have a unique earlier... What's a &#54028;&#45593;&#49440;? I'm Korean, but that word doesn't sound familiar to me...
 
The Rohan v. 2 mod is the only mod I have been able to get working on my game. I checked all of the xml files for this and my own custom mods don't vary too far from this. I have no idea why my custom mods don't work but for some reason this one does. I even tried the Queen of the Icendi mod, which is quite simple, and it didn't work.

What happens is that I can load my custom mod and activate it, but once I pick my custom civilization, it won't proceed to the DOM screen. I noticed that my custom civilization's screen text is a bit funny (the subtitle doesn't show up and the Traits portion only shows "2 Civ Bonuses" instead of the actual title of the Trait).

I've followed all of the advice in this forum from adding the art withe the VFS setting to true and using OnModActivated to update all the XMLs to the database. I don't know what is wrong.

Anyone know what I can try next? I appreciate the help.
 
Back
Top Bottom