Trigan Emperor
Prince
- Joined
- Apr 11, 2015
- Messages
- 438
BRIEF: Create mod(s) to allow geographically-themed customised selections of city-states
-----------------------------
Hi, I'm a modding noob and I'm looking for help to bring a small project to fruition, relating to the minor city-states.
I tend to pre-select the AI civilizations I play against. For example, I'll use all European civilizations or all Far Eastern civilizations and so on.
I've also recently discovered the culturally-linked starts mod, which can help somewhat to distribute the civilizations a bit more realistically. http://steamcommunity.com//sharedfiles/filedetails/?id=77191664
Anyway, I was thinking that I'd like to try and make some city-state mods for my games to make them feel more authentic. So, for example, if I was going to play a game with European civilizations, the city-states would be European ones only.
I've had a search of the mods but haven't found anything already made that I think does this, although correct me if I'm wrong.
I understand that the Civ5MinorCivilizations.XML file is probably the relevant file to this. I've been reading modding tutorials and working with ModBuddy and have tried doing it myself but I don't think it came out right.
As I say, I'm a modding noob and this is probably the only modding of this game that I'll do, so if anyone can help with the technical aspects of making it work that would be appreciated.
-----------------------
Firstly, is this mod actually possible? I am assuming that it would be, by creating a new mod with only the modified Civ5MinorCivilizations.XML file being needed.
Secondly, does this file have all the city-states in the game? i.e. did the BNW and DLC expansions introduce any new city-states which are in other files in other directories? I'm thinking this might be the case, as some of the city-states in the list, like Stockholm and Vienna, are the capital cities of civilizations that became playable in the later expansions of the game. I've had a search of the folders but can't find another file it could be. Anyone know where the new file(s) is/are located?
Thirdly, if it's possible, what is the process needed to make this work? This is what I have understood as the steps needed, so if I am doing anything wrong or need to take additional steps, please correct me.
1) Install the Civ V SDK pack and Microsoft VSS software needed to open ModBuddy.
2) Open ModBuddy.
3) Create new Project - Empty Mod.
4) Add New Item - Game Rules (XML). What name should I give it - the same as or different to the original unmodified file?
5) Click on mod name, then Properties and Actions, and choose Add Item. There are options for Event and Action - which do I choose?
Event
-OnModActivated
-OnCreateModUserDataPath
-OnGetDLLPath
Action
-UpdateDatabase
-UpdateUserData
File
6) XML coding.
I am assuming that the Civ5MinorCivilizations.XML file (or newer version of) can be edited and used by a mod. Each city-state appears in three separate tables in this file: Minor Civilizations, City Names and Flavors (with multiple entries for each city-state in the Flavors table).
I am also assuming that if one carefully chopped out, say, all the non-European city-states from all three tables and used it in a mod, then the game would work and just the European city-states would be used in play?
I assume one could then also create new city-states by, say, replacing all references in the XML file to 'Vienna' with 'Liechtenstein'?
These assumptions are correct?
7) Debugging
Run the debugger to check for bugs.
--------------------------------------------
So...is what's written above the correct process?
Any help appreciated. If anyone likes the idea and wants to get involved with it more actively then that's cool too.
-----------------------------
Hi, I'm a modding noob and I'm looking for help to bring a small project to fruition, relating to the minor city-states.
I tend to pre-select the AI civilizations I play against. For example, I'll use all European civilizations or all Far Eastern civilizations and so on.
I've also recently discovered the culturally-linked starts mod, which can help somewhat to distribute the civilizations a bit more realistically. http://steamcommunity.com//sharedfiles/filedetails/?id=77191664
Anyway, I was thinking that I'd like to try and make some city-state mods for my games to make them feel more authentic. So, for example, if I was going to play a game with European civilizations, the city-states would be European ones only.
I've had a search of the mods but haven't found anything already made that I think does this, although correct me if I'm wrong.
I understand that the Civ5MinorCivilizations.XML file is probably the relevant file to this. I've been reading modding tutorials and working with ModBuddy and have tried doing it myself but I don't think it came out right.
As I say, I'm a modding noob and this is probably the only modding of this game that I'll do, so if anyone can help with the technical aspects of making it work that would be appreciated.
-----------------------
Firstly, is this mod actually possible? I am assuming that it would be, by creating a new mod with only the modified Civ5MinorCivilizations.XML file being needed.
Secondly, does this file have all the city-states in the game? i.e. did the BNW and DLC expansions introduce any new city-states which are in other files in other directories? I'm thinking this might be the case, as some of the city-states in the list, like Stockholm and Vienna, are the capital cities of civilizations that became playable in the later expansions of the game. I've had a search of the folders but can't find another file it could be. Anyone know where the new file(s) is/are located?
Thirdly, if it's possible, what is the process needed to make this work? This is what I have understood as the steps needed, so if I am doing anything wrong or need to take additional steps, please correct me.
1) Install the Civ V SDK pack and Microsoft VSS software needed to open ModBuddy.
2) Open ModBuddy.
3) Create new Project - Empty Mod.
4) Add New Item - Game Rules (XML). What name should I give it - the same as or different to the original unmodified file?
5) Click on mod name, then Properties and Actions, and choose Add Item. There are options for Event and Action - which do I choose?
Event
-OnModActivated
-OnCreateModUserDataPath
-OnGetDLLPath
Action
-UpdateDatabase
-UpdateUserData
File
6) XML coding.
I am assuming that the Civ5MinorCivilizations.XML file (or newer version of) can be edited and used by a mod. Each city-state appears in three separate tables in this file: Minor Civilizations, City Names and Flavors (with multiple entries for each city-state in the Flavors table).
I am also assuming that if one carefully chopped out, say, all the non-European city-states from all three tables and used it in a mod, then the game would work and just the European city-states would be used in play?
I assume one could then also create new city-states by, say, replacing all references in the XML file to 'Vienna' with 'Liechtenstein'?
These assumptions are correct?
7) Debugging
Run the debugger to check for bugs.
--------------------------------------------
So...is what's written above the correct process?
Any help appreciated. If anyone likes the idea and wants to get involved with it more actively then that's cool too.