Sparth
C2C Team Member
- Joined
- Oct 6, 2013
- Messages
- 2,314
Eh, all you need is notepad to edit python for civ.
But the codes work according to python 2.X indeed.
BTW there is any software which help with work in python? Or just notepad++?
Eh, all you need is notepad to edit python for civ.
But the codes work according to python 2.X indeed.
I would love to help complete the Civilopedia, but I don't yet understand the modpack's file organization, so I would need to be instructed as to where the files are located, what to modify, and how to upload the newly edited files to be merged into the modpack
The pedia builds up the information it displays from the XML (via the dll). If it is text you want to fix then use wingrep or similar to find the file containing text for the object you want to change. If it is something more then you need to learn how to code either in Python for the screen contents and layout or C++ to provide extra contents to the Python.
I was thinking of adding and fixing text for units, techs, etc that were added by the mod, but not yet fully entered into the Civilopedia. I was disappointed by the completeness of the pedia in past releases so I thought I would try to do my part to make it fuller. If you could go a bit more in-depth as to what I am to do that would be awesome. I am a decent programmer, but XML is not something I've looked into much though I've heard it's very human readable so just a brief explanation is all that's needed. Thanks
<TEXT>
<Tag>TXT_KEY_UNIT_007</Tag>
<English>Top Secret Agent</English>
<French>
<Text>Agent Top Secret</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</French>
<German>
<Text>Topagent:Topagenten:Topagenten:Topagenten:Topagenten:Topagenten:Topagenten:Topagenten</Text>
<Gender>Male:Male:Male:Male:Male:Male:Male:Male</Gender>
<Plural>0:0:0:0:1:1:1:1</Plural>
</German>
<Italian>
<Text>Agente Top Secret</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</Italian>
<Spanish>
<Text>Agente Top</Text>
<Gender>Male</Gender>
<Plural>0</Plural>
</Spanish>
</TEXT>