CEC : Civilopedia Editor for CivIII

Thx alot for this program, great work :)
The only thing I would like is that you can copy and paste in
descriptions and text, was some text I wanted in that I found
on the net, but gonna be much writing..
 
ooops, hehe...
I just tried the right mouse button, never been used to use the
keyboard shortcuts, thx alot, gonna use this nice program :D
 
Steph I cant get the program to save. Last night I made about 20 Civiliopedia entries and today they are all gone:cry:
 
1- Did you click on generate tp make the new file?
2- If you did, try to check immediately after a change, if the change itself is recorded (ie: make a change, change the topic, come back to previous one)
 
Before you had to save any change, now it autosaves in memory the individual changes, but you need to explicitily ask to save the files (because anytime yo do it, it add _CEC at the end of the name, so you can keep the previous version).

And no, the generate button is not there simply to make the window looks nicer
 
There is a nasty bug I think, that made me stop using it. CEC eats entries for custom techs info (not DESC, the first entry). Somehow it never eats default info ie. for Iron Working, but any tech info I add, either by CEC or by hand, disappears (I checked several times).

Example entry:

#TECH_Mining
^
^
^{New Resources} $LINK<Gold=GOOD_Gold>, $LINK<Silver=GOOD_Silver> and $LINK<Gems=GOOD_Gems> appear on the map.

Everything goes fine in game, but when CEC processes it, all my custom TECH_* descriptions are gone :(
 
I'm sure CEC works correctly to read standard entry, and entries added within the tool, as I'm using it continously for my mod.

However, I've made CEC using only the civilopedia.txt as reference, and there may be some case when it works in game, but it doesn't follow the standard "rules" used by CEC.

The best would be to send me your civilopedia.txt at my email address (stephane.f.david@free.fr), so I can correct CEC or at least tell you why your manual entries are going into the great emptyness.
 
Nevermind that, I found out why it's happening. Can't call it bug, but it's surely confusing ;)

CEC doesn't read TECH entries without #DESC_* description. It's strange because it reads other things like GOODs/PRTOs regardless of #DESC_* presence.

So, if there is only
#TECH_Foo
[info here]

it is okay for Civ, but CEC won't see it and will eat it in the process. If there is an empty #DESC_TECH_Foo line at the bottom, then CEC will read it correctly. I was using CEC on a file that I had previously edited manually, removing some unused entries, that's why it all happened.
 
That's because in the original civilopedia.txt, there is NO entry without #DESC_TECH, but a lot without #TECH_.
For the other topics, it's the opposite.

You always have #PRTO_, but you may not have #DESC_PRTO_.

So CEC uses the #DESC_TECH to build the list of entries first, then it read th text for each of them. It may not be the smartest method...

However, when creating the text, CEC adds empty #TECH_ for all the advances.
 
Steph, you did an awesome job on this one. Keep up the good work.
 
First off... thank you, fine job.

Second, could we have a step by step "how to" for us in the peanut gallery please?

I am kinda scared to mess with the Civilopedia file, not knowing how this tool works:confused:

No doubt it's simple once I get a nudge in the right direction...:p

Thanx:goodjob:
 
Originally posted by Gringo
First off... thank you, fine job.

Second, could we have a step by step "how to" for us in the peanut gallery please?

I am kinda scared to mess with the Civilopedia file, not knowing how this tool works:confused:

No doubt it's simple once I get a nudge in the right direction...:p

Thanx:goodjob:

It's rather easy. Just select the civilopedia.txt that you want to edit.
You have a dropdown list were you can select the chapters (unit, game concept, techs, etc).
When you select one, you then have the list of all the entries, sorted in alphaetical order.
Select one : you will see on the right the different texts. Simply edit them. Use CTRL+Enter to add a new line, and use the {}, [], etc for bold or italic (you can also select the text and use the button).
To add a link, select the text that should displayed in blue underline, then clic on the link button : it will display a box where you select the target of the link.
You can also add a new entry (button at the bottom left) : give it a name (the "keyword" such are #PRTO are added automatically).

When you exit, the file is saved automatically (with an added _CEC to the name, unless you check "keep file name").

One last thing about the preview button : it alternates between the preview and the edit mode for the texts. Note it's just a preview, and not exactly as it will be in game.
 
Originally posted by computerdude113
Yes Steph, amazing. Could you also do something for the PediaIcon file?
I could, but I won't. Not enough time, and to many other things to do.
 
I'm cind of a noob adding units so here's my stupid question...
I can use this with C3C right???
 
Back
Top Bottom