Modding Trouble. Can someone help troubleshoot?

Crazyoc

Chieftain
Joined
Jun 22, 2014
Messages
2
I'm having major issues with getting my mod to appear in the list.

I can't figure it out for the life of me, have attached the mod files for someone more experienced to have a go.
 

Attachments

  • Civ5CivModCraven.rar
    37.3 KB · Views: 50
Enable logging (see the first link in my sig) as (at least) the inclusion of the <CivilianAttackPriorities> table in the Units.xml file will be causing errors (you don't need to duplicate this table at all) and causing the entire file to be discarded. This will mean that your civ doesn't have the required 2 UU/UB/UI, so will cause errors in the UI when trying to start the game
 
Actually, I think the civilizations file itself is being discarded because you have a whole bunch of these in that file: TXT_KEY_CIV5_POLAND_HEADING_1

The game will not accept repeats of any tag name that already exists in <Language_en_US>, and will discard any file where such a repeat occurs. The result is that your civ never gets registered with the game.

You have a similar deal going on in your Leader file: TXT_KEY_CIVILOPEDIA_LEADERS_CASIMIR_FACT_1

Spoiler plus all these in your unit file :
Code:
	<Unit_AITypes>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<UnitAIType>UNITAI_WORKER</UnitAIType>
		</Row>
	</Unit_AITypes>
	<Unit_Builds>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_ROAD</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_RAILROAD</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_FARM</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_MINE</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_TRADING_POST</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_LUMBERMILL</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_PASTURE</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_CAMP</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_PLANTATION</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_QUARRY</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_WELL</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_FORT</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_REMOVE_JUNGLE</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_REMOVE_MARSH</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_REMOVE_FOREST</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_SCRUB_FALLOUT</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_REPAIR</BuildType>
		</Row>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<BuildType>BUILD_REMOVE_ROUTE</BuildType>
		</Row>
	</Unit_Builds>
	<Unit_Flavors>
		<Row>
			<UnitType>UNIT_WORKER</UnitType>
			<FlavorType>FLAVOR_TILE_IMPROVEMENT</FlavorType>
			<Flavor>30</Flavor>
		</Row>
	</Unit_Flavors>
I'm assuming you used whoward's civ-template-files. Which is good, but not editing them all the way through for your civ and leader name is not so good.
 
Now I have another problem. The civ launches, but the workers can't build improvements.
Any ideas?
 
Did you change to this:
Code:
	<Unit_Builds>
		<Row>
			<UnitType>UNIT_IDLEBUM</UnitType>
			<BuildType>BUILD_ROAD</BuildType>
		</Row>
		<!--	etc	-->
	</Unit_Builds>
and btw, I also found you have this (or did have it) in your unit definition:
Code:
<Happiness>1</Happiness>
There's no such column in the <Units> table. I'm suprised it is not causing the game to discard the entire file.
 
Top Bottom