Changing Continent Names

PonderThis

Warlord
Joined
Nov 15, 2014
Messages
104
I'm not too fond of the default continent names, mainly because so many are so similar to one another. You've got America, Asia, Amasia and Asiamerica for example.

I've put together a miscellaneous tweaks mod, mainly for myself, really, based on a number of tweaks already posted to this forum. While I'm at it, I'd like to take care of the continent names. I'm trying to delete all the existing names and replace them with my own, mainly so I can tell at turn 1 whether or not it worked.

But so far I can't get it to do anything. Everything I've tried hasn't changed a thing. I've looked in the various log files (database.log in particular) and there's nothing. Can anyone tell what I'm doing wrong? I've attached a zip of my mod in case anyone would like to take a look.
 

Attachments

There are the errors I got in database log when I tested:
Spoiler Errors :

[1079937.064] [Gameplay] ERROR: no such table: Barbarians
[1079937.064] [Gameplay] ERROR: UNIQUE constraint failed: Kinds.Kind
[1079937.064] [Gameplay]: While executing - 'insert into Kinds('Kind') values (?);'
[1079937.064] [Gameplay]: In XMLSerializer while inserting row into table insert into Kinds('Kind') with values (KIND_CONTINENT, ).
[1079937.064] [Gameplay]: In XMLSerializer while updating table Kinds from file Maps.xml.
[1079937.064] [Gameplay] ERROR: UNIQUE constraint failed: Kinds.Kind


The table is BarbarianTribes not Barbarians

The other error is because of duplicate enrtry
this one:
<Row Kind="KIND_CONTINENT"/>
under kinds
 
Thank you both! Mynex that was indeed part of the problem. I also had to get rid of some extraneous stuff that was getting defined twice. And gyogen2, thanks for pointing out that error. I was so concentrated on looking at the continents thing I didn't realize the sql file also had errors.

One final problem I had, after fixing those errors it was all working but the continent names showed up as "MT_CONTINENT_etc". There seems to be some disagreement over the precise syntax of the modinfo file (Gedemon's definition here isn't quite right) and after messing around quite a bit I finally got the right combo to get it to work. If anyone's interested I've attached the working version.
 

Attachments

Back
Top Bottom