Someone who has succesfully added a civ PLEASE help me! ...please...

varus

Prince
Joined
Nov 3, 2005
Messages
130
I just can't fathom what is going on.

I have poured over Kael's guide backward and forward. I have started over from scratch time and time again. I have been working on this mod for days now, and it's on its fifth version.

I spent the entire day painstakingly going over every step, every detail, every entry.

I have tried EVERYTHING my stupid little brain can possibly come up with, but the mod just won't work. It does NOTHING.

I have NO idea what is wrong and noway to figure out where the mistake is. Somebody out there has made civs that work and I beg these people to help me find an answer.

I cannot explain to you how frustrating this is to watch days worth of work amount to nothing and to have no explanation as to why.

All i want to know is how I can troubleshoot. Where can I find the errors, how can I CHECK this thing against something that works?

I am almost to the point that I would be willing to pay someone to check through these files and tell me where I went wrong. Please, please somebody help me.

I know I can mod, I can feel it. I understand how these files work, everything looks clean and easy enough. There's logic in the system and it makes sense. When I make small, simple changes everything works out gracefully.
I know I can get this to work. I spent this entire Friday off from work carefully writing every line of this mod and carefully checking every reference to make sure that it pointed to something. I know I have the ability here.

But I'm new. I need a little morale boost. Somewhere in the massive wrenchworks of this mod is a tiny little mistake that is killing the whole thing. Oversight, inexperience, technicalities. I don't have or see any of these small things.

I'm in a freefall right now and I really need someone to soften the impact. If anyone anywhere can help me find the thing that I am missing to make this mod work, I will personally fly to your home, buy you dinner, get some flowers for your wife, and babysit your kids.

Help.
 
Hi,
There is no easy way to check your errors,sorry

The error probably comes from your action tab
double check to see if there is no typo errors
the path given to your file (in the third column) must match the exact structure of your solution
example: you have a folder called "XML" in which there is an other folder called "Civilization" with a file called "Civ_Texas" in it
You should have : "XML/Civilization/Civ_Texas" in this column

you may have added reference to objects that you didn't create in your mod
Example : You typed something like :

<LeaderheadType>LEADER_BUSH</LeaderheadType>

But you haven't created the definition for the leader in the appropriate file

To solve that,first isolate the buggy file by deactivate each file in the action tab and activate them one by one, and see if it works
If it doesn't when you activate one file,then it's the buggy file
You 'll have to look in depth into this file to see where the matter comes from

Hope it helps :)
 
Hey man! Don't give up! you're certainly not stupid, because right now we're all in the same situation trying to learn the new stuff. I just sat two hours tryig to figure out how to add a new Dawn of Man picture to the leader of France and I was seriously stressed by it. The solution was simpler than I thought, and when I finally figured it out, I was so over-joyed that I could have jumped out the window (Which I didn't).

Modding is indeed sometimes VERY frustrating when things don't work the way you planned, but the rewards, when they do indeed work, are worth gold, I tell you.

I suggest you start off with very simple things. Like trying to edit the maintenance or happiness of buildings and so on. Build, test and save often. Also, do download other mods people have made and take a peek inside them. See how things are done and what others have accomplised. The Mod Browser is full of them, and after you've installed them, you can easily take a look inside by opening the XML-files from their location in MyGames/Civilization5/MODS. Just open them with common Notepad and take a look. The best way to learn this is to imitate others, in fact. You'll be a pro-modder yet if you stick with it!
 
Post the folder of your new civilization here, or e-mail it to me. I will take a look for you. I feel like I have gotten very good at it with all the stuff I have found with my files.
papwr17@gmail.com
 
Ok.
Here are the files.

It was very late when I posted this last night and I was pretty frustrated, it didn't even occur to me to post this up.

Thank you so much for any help guys, you are all angelic!
I was starting to think that the threshold learning curve here would be too steep, but perhaps not.

Thanks again.

Well ain't this some crap:
The civilization_hyrule.xml is blank.

I worked on it all day and night yesterday, and modbuddy just decides to destroy it?
It doesn't make any sense. The other files are all saved just fine, I know I saved my work a thousand times. It's even empty in the build. Why would that happen?

I made an early "copy" of the file by chance so that I could just duplicate that when making another civ, and it, thankfully, is not blank (but it is empty, I will have to fill in all the tags again).

WTFrustrating.
 
Taking a look at your stuff now

Yeah the Civilization_Hyrule.xml is blank but the other stuff seems to be ok. if you could just post the code for the civ here I'll take a look.
 
Well ain't this some crap:
The civilization_hyrule.xml is blank.

I worked on it all day and night yesterday, and modbuddy just decides to destroy it?
It doesn't make any sense. The other files are all saved just fine, I know I saved my work a thousand times. It's even empty in the build. Why would that happen?

I'm in the same boat as you. I'm new to modding and having a hard time too.

My guess is, you were working on this for a little bit too long that day and quite possibly forgot to save it in the first place. :lol: It's always good to take a step back once in a while or leave it and view it with fresh eyes in the morning. That's my first big suggestion.

The other is, wipe out your Actions table. Put one thing in at a time, build it and test it. That should help narrow down where your errors are coming from.
 
I updated the files in the upload.
If anyone would like to take another look, the civilization file is included this time. same result though, nothing happens.

Taking a look at your stuff now

Yeah the Civilization_Hyrule.xml is blank but the other stuff seems to be ok. if you could just post the code for the civ here I'll take a look.

Here's the text of that file.
Looks good to me, but nothing happens when I load up the mod. I dunno man.
Spoiler :

Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Created by ModBuddy on 10/22/2010 7:45:16 PM -->
<GameData>
	<Civilizations>
		<Row>
		
			<Type>CIVILIZATION_HYRULE</Type>
			<Description>TXT_KEY_CIV_HYRULE_DESC</Description>
			<CivilopediaTag>TXT_KEY_CIV5_HYRULE</CivilopediaTag>
			<Strategy>TXT_KEY_CIV_HYRULE_STRAT</Strategy>
			<Playable>1</Playable>
			<AIPlayable>1</AIPlayable>
			<ShortDescription>TXT_KEY_CIV_HYRULE_SHORT_DESC</ShortDescription>
			<Adjective>TXT_KEY_CIV_HYRULE_ADJECTIVE</Adjective>
			<DefaultPlayerColor>PLAYERCOLOR_DARK_CYAN</DefaultPlayerColor>
			<ArtDefineTag>ART_DEF_CIVILIZATION_AMERICA</ArtDefineTag>
			<ArtStyleType>ARTSTYLE_EUROPEAN</ArtStyleType>
			<ArtStyleSuffix>_EURO</ArtStyleSuffix>
			<ArtStylePrefix>EUROPEAN </ArtStylePrefix>
			<PortraitIndex>0</PortraitIndex>
			<IconAtlas>CIV_COLOR_ATLAS</IconAtlas>
			<AlphaIconAtlas>CIV_ALPHA_ATLAS</AlphaIconAtlas>
			<MapImage>MapAmerica512.dds</MapImage>
			<DawnOfManQuote>TXT_KEY_CIV5_DAWN_HYRULE_TEXT</DawnOfManQuote>
			<DawnOfManImage>DOM_Washington.dds</DawnOfManImage>
			<DawnOfManAudio>AS2D_DOM_SPEECH_UNITED_STATES</DawnOfManAudio>
		</Row>
	</Civilizations>

	<Civilization_BuildingClassOverrides>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<BuildingClassType>BUILDINGCLASS_COURTHOUSE</BuildingClassType>
			<BuildingType>BUILDING_HYRULE_GUARD_POST</BuildingType>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
			<BuildingType>BUILDING_HYRULE_CASTLE</BuildingType>
		</Row>
	</Civilization_BuildingClassOverrides>

	
	
	<Civilization_FreeBuildingClasses>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<BuildingClassType>BUILDINGCLASS_PALACE</BuildingClassType>
		</Row>
	</Civilization_FreeBuildingClasses>
	
	<Civilization_FreeTechs>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<TechType>TECH_AGRICULTURE</TechType>
		</Row>
	</Civilization_FreeTechs>

	<Civilization_FreeUnits>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<UnitClassType>UNITCLASS_SETTLER</UnitClassType>
			<UnitAIType>UNITAI_SETTLE</UnitAIType>
			<Count>1</Count>
		</Row>
	</Civilization_FreeUnits>

	
	
	<Civilization_Leaders>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<LeaderheadType>LEADER_WASHINGTON</LeaderheadType>
		</Row>
	</Civilization_Leaders>

	
	
	<Civilization_UnitClassOverrides>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<UnitClassType>UNITCLASS_SPEARMAN</UnitClassType>
			<UnitType>UNIT_HYRULE_CASTLE_GUARD</UnitType>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<UnitClassType>UNITCLASS_LONGSWORDSMAN</UnitClassType>
			<UnitType>UNIT_HYLIAN_KNIGHTS</UnitType>
		</Row>
	</Civilization_UnitClassOverrides>

	
	
	<Civilization_Start_Along_Ocean>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<StartAlongOcean>0</StartAlongOcean>
		</Row>
	</Civilization_Start_Along_Ocean>

	<Civilization_Start_Along_River>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<StartAlongRiver>1</StartAlongRiver>
		</Row>
	</Civilization_Start_Along_River>

	
	
	<Civilization_Start_Region_Priority>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<RegionType>REGION_GRASS</RegionType>
		</Row>
	</Civilization_Start_Region_Priority>

	<Civilization_Start_Region_Avoid>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<RegionType>REGION_DESERT</RegionType>
		</Row>
	</Civilization_Start_Region_Avoid>




	<Civilization_CityNames>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_CASTLE_TOWN</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_OLD_KASUTO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_KAKARIKO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_ORDONA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_PORT_TOWN</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_WINDFALL</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_LON_LON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_MAZE_ISLAND</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_VEIL_FALLS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_CASTOR_WILDS</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_MIDORO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_SACRED_MEADOW</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_FARON</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_ELDIN</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_LANAYRU</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_NEW_KASUTO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_LAKE_HYLIA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_SNOWPEAK</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_TURTLE_ROCK</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_WATER_TOWN_SARIA</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_RAURU</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_NABOORU</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_RUTO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_MIDO</CityName>
		</Row>
		<Row>
			<CivilizationType>CIVILIZATION_HYRULE</CivilizationType>
			<CityName>TXT_KEY_CITY_NAME_HYRULE_DARUNIA</CityName>
		</Row>
	</Civilization_CityNames>
</GameData>
 
BWAAAAAAAHAHAHHAHAHAHA


ZOOOOOMGOOOOODNESS!!


YAYAYAYYAYAY! WORKS!

HOLY LOVE YOU ALL OMG YES JESUS LORD OF ALL THAT'S GOOD AND WONDERFUL MY MOD IS WORKING HOLY YEEEES!!!

Ok. Now that I feel better, I can't thank all of you enough for pointing out things that would help me. I finally found the typo that was holding me up (it was a mistyped Civilization_BuildingClassOverrides entry).

YES.

Now that the mod loads I can focus on polish.
This... is the happiest moment in my gaming life. I am officially a modder.

*Stays up the rest of the night, wide-eyed and wired. Glued to the screen, obsessively tweaking his happy new civ*
 
Welcome to the club, we have T-shirts. ;)

Oh yes, I know the feeling. I am just beginning to discover the joy of restless modding myself. Course, it's the same feeling as restless writing, which I know all too well. Lately, I've been able to combine the two. :lol:
 
BWAAAAAAAHAHAHHAHAHAHA


ZOOOOOMGOOOOODNESS!!


YAYAYAYYAYAY! WORKS!

HOLY LOVE YOU ALL OMG YES JESUS LORD OF ALL THAT'S GOOD AND WONDERFUL MY MOD IS WORKING HOLY YEEEES!!!

I told you so! It's better than a three-day drinking spree, innit? Congrats. :D
 

Attachments

Well, it's not the error I had a couple days ago where my Text files weren't being read because I'd forgotten my localization tags. >_<

However, I know you're using english but are you sure you're using the US localization. In fact, IS there a world english localization? And, how did I miss out on it?

Otherwise, the only tip I'd have is to copy and paste your tags to make sure there are absolutely no typographical errors. Sometimes it doesn't even appear to be at all different, but it can't hurt and sometimes helps (not that I've run into that in Civ V...yet).

So, where's your leader's name being kept? The string for that is loading alright. Are you sure you loaded the file in the Actions tab in your mod's properties panel?

If none of those work and you absolutely cannot think of anything else to do, try renaming your GameText.xml file to, say, CzechText.xml (or whatever suits your fancy) and try loading that. Or you could put the _DESC, _SHORT_DESC and _ADJECTIVE tags in that order. It sometimes is something as stupid as that (it was for the Civ 4 DiploText file).
 
Back
Top Bottom