• We are currently performing site maintenance, parts of civfanatics are currently offline, but will come back online in the coming days. For more updates please see here.

Update Database action?

Viregel

, The Rt. Hon.
Joined
Jun 10, 2013
Messages
1,944
Location
Kingdom of the Britons
I am trying to follow whoward69's tutorial on the XML Data files for Standard Civilizations. However, I can't figure out how to do the following, which I'm going to assume is important:

For each XML file add an OnModActivated->UpdateDatabase action

This is probably an easily answered question, but I couldn't see anything about it anywhere. Thanks for any help in advance!
 
I've just noticed that the "Add" button does not appear to be present on my Mod Buddy interface. Does anyone know why this might be? I've attached a screenshot in case that helps.
 

Attachments

  • Screen1.png
    Screen1.png
    72.3 KB · Views: 118
Alternatively, you could do:
(Right click on solution while in modbuddy) Properties > Actions > Add
Then select OnModActivated for the trigger, UpdateDatabase for the action, then select your file.
 
I've just noticed that the "Add" button does not appear to be present on my Mod Buddy interface.

Right click the Mod name "Kingdom of ..." and select "Properties" - you should get a series of tabs for adding actions, content, properties, etc
 
You might want to consider changing the name of the project to remove special international characters. This was a problem for me with Éa in the past. An É in the project name was preventing some new files from being adding by the VFS (even if the files themselves didn't have any such characters). This may or may not have been fixed over the last two years.

That's not to say that you can't have these characters in the mod name. You can edit mod name separately from project name in Properties.

Also, if you plan to do more than trivial addions/changes to database, it helps a lot to download something that allows you to view DB contents. SQLite Manager is one way (it's an add-on to Firefox). There's a standalone too but I don't remember what it is. The modded DB has "Debug" in it's name and can be found in the cache folder.
 
You might want to consider changing the name of the project to remove special international characters. This was a problem for me with Éa in the past. An É in the project name was preventing some new files from being adding by the VFS (even if the files themselves didn't have any such characters). This may or may not have been fixed over the last two years.

That's not to say that you can't have these characters in the mod name. You can edit mod name separately from project name in Properties.

Also, if you plan to do more than trivial addions/changes to database, it helps a lot to download something that allows you to view DB contents. SQLite Manager is one way (it's an add-on to Firefox). There's a standalone too but I don't remember what it is. The modded DB has "Debug" in it's name and can be found in the cache folder.

That's a good point. Somehow, the mod's still not working, but that may help. Thanks!
 
Back
Top Bottom