Question about Civilopedia modification

SeekerTMOL

Chieftain
Joined
Dec 27, 2001
Messages
8
Were I to actually make a complete scenario, how would I distribute the Civilopedia information that goes with it, WITHOUT completely overwriting the player's own Civilopedia?

Is there some way to include in your scenario a little something that says, "add these keys to the default Civilopedia" or, "use this filename as the Civilopedia"? And if not, WHY NOT?
 
You can always include instructions on how to use the new Civpedia in the readme.txt for your scenario/mod.

I'm kind of new to this myself, but I believe it's possible to just back up the normal civpedia file by changing it's name a little. Then, people could use your civpedia without having to overwrite the normal one. If they wanted to play a standard civ game, they could just change the file names again to use the standard civpedia.

Anyways, hope this helps.
 
Yes you can bak old ciclopedia file. Check my SpecOps mod, there is .bat file there which doing it (and other things also).
Here snippet which do baking and replacing :

rename Text\civilopedia.txt civilopedia_bak.txt
copy civilopedia.txt Text\civilopedia.txt
 
What I would like to see is the editor saving scenarios to their own individual folders, then you can add Civilopedia keys, icons, and whatnot to that folder and the game will use those files in addition to or, as necessary, in place of the default game info.

That way all you'd have to do is give someone your scenario's folder and they could just plug it in without having to play around with the default game assets.
 
Actually there is no harm in adding new entries to the Civilopedia. Assuming your mod added 10 new units and you created 10 new entires for the Civilopedia. A player can always add this new 10 entries into their Civilopedia and if they choose to play the standard game these entries does not affect them at all ;)
 
Yes, but adding keys to the default Civilopedia is so easy, it should be done by the scenario loading code itself and not the person installing the scenario. And what if someone else's scenario, like the others in this thread have mentioned, completely overwrites the Civilopedia? All your keys are gone and your scenario is now broken.

No, the more I think about this, the more it seems like a necessary change.
 
Back
Top Bottom