Modding Help

JDog_Zapster

Chieftain
Joined
Dec 9, 2012
Messages
10
Hey Guys,

So I need some help and I've looked and looked for a solution and I can't find one. I hope I'm not posting a problem that has been posted before, but this is my last resort. I've created my own civilization and I have 2 major problems

1. I get the TXT_KEY problem all over the place, and I have already done the whole
<GameData>
<Language_en_US>
<Row Tag="TXT_KEY_WHATEVER">
<Text>Descriptive text goes here.</Text>
</Row>
</Language_en_US>
</GameData>
which seems to be everybody's answer to this.
2. My special building doesn't show up. It gets rid of the old building but the new building doesn't show up in the technology tree or anywhere, I copied and pasted another special building but just changed the name and what it yielded.

from what I can tell I've exactly mimicked the files located in the actual game .xml files. I can't even imagine what the problem could be. if you guys have any suggestions, that would be awesome. thanks
 
Enable logging and tuner in Config.ini, look at logs produced in Logs folder. Sounds like dupe entries, which the logs will tell you.
 
2.

-Is this a UB? If do, did you also set it to replace the base building in the civilization's xml entry (as seen in the CIV5Civilizations.xml file)

-Is this an entirely new building (not replacing everything? If so, did you create an entry for its building class (as seen in the CIV5BuildingClasses.xml file)
 
-Horem
I can't Imagine that the problem is related to duplicate entries for every single txt_key that I made(if that's what you were referring to). and if you were referring to my buildings problem, I'm pretty sure the buildings I made are new, I made a pretty fantastical Civilization, no way it was already in there, but I tried to to what you asked, remember that I am a noob at this, and I had a hard time following your instructions, this is what I did, tell me what I did wrong
1. in Config.ini the very first element, i set EnableTuner = 1.
2. 2 elements down I set RemarkLog = logs (I also tried Logs if that would make a difference)
problem was in the Logs file located in the same directory as Config.ini, no logs/Logs showed up in there, after running the game with it turned on, so I don't know where I went wrong
-turingmachine
this is a UB, sorry about my terminology mix up. I did set it like I'm supposed to(as far as I know). like this right? its overriding the Monument but the obelisk doesn't show up it seems like to me.
<Civilization_BuildingClassOverrides>
<Row>
<CivilizationType>CIVILIZATION_SHAKAKA</CivilizationType>
<BuildingClassType>BUILDINGCLASS_MONUMENT</BuildingClassType>
<BuildingType>BUILDING_OBELISK</BuildingType>
</Row>
</Civilization_BuildingClassOverrides>
BTW thanks a lot guys for being troopers and helping me out with this, I'm rather stumped still as to what could be the problem. I made separate folders for the UB and the game txt but I think I'm loading them up properly, I also made a different one for the trait and Leader and those seem to be working fine, and I did them the same as the UB and game txt folders. interesting fact, when I tried to put everything into one folder, my civilization disappears, which is odd since I thought the only reason to put them in separate folders was for organizational purposes. anyways thanks again for helping, if there's anything else you can think of it'll be much appreciated.
 
Hey guys,

fixed my txt_key issue. you were right it seems Horem, duplicates. My brain still can't comprehend the the city ASDF already existed, but I gave all my txt_key and extra prefix and that fixed the problem. still don't know how to be honest, but it is fixed so I'm happy. though I'm still having problems with my buildings, at least now I can focus on that problem. thanks again for you help.

also I had an apostrophe in the tag, which I found out was bad, and I found out that if you have just one error it screws up the whole thing. (which is why when I put it all in the same folder the whole thing didn't show up, I'm learning so much!) that itself might have actually been the problem. so dublicates might not even have been the issue but I used both fixes at the same time so I'm not sure wich one fixed it. now that I think of it it proly was just the apostrophe, but no matter. anyways, if you have any ideas about my buildings issue I could still use help with that one. thanks again.
 
Hey guys,

I fixed my Buildings issue as well. this was what was breaking the whole thing
<Building_FeatureYieldChanges>
<Row>
<BuildingType>BUILDING_JDM_OBELISK</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>10</Flavor>
</Row>
</Building_FeatureYieldChanges>
I don't know why, I copied and pasted that from the Stelle which is what I patterned my Obelisk after, but whatever it works now. so both those problems now fixed, but I was wondering if someone could help me with changing the Icons and pictures and whatnot. every time I do it I can't save it as the correct file. I'll do some digging to see if I can figure it out but any suggestions would be appreciated. thanks
 
Hey guys,

I fixed my Buildings issue as well. this was what was breaking the whole thing
<Building_FeatureYieldChanges>
<Row>
<BuildingType>BUILDING_JDM_OBELISK</BuildingType>
<FlavorType>FLAVOR_CULTURE</FlavorType>
<Flavor>10</Flavor>
</Row>
</Building_FeatureYieldChanges>
I don't know why, I copied and pasted that from the Stelle which is what I patterned my Obelisk after, but whatever it works now. so both those problems now fixed, but I was wondering if someone could help me with changing the Icons and pictures and whatnot. every time I do it I can't save it as the correct file. I'll do some digging to see if I can figure it out but any suggestions would be appreciated. thanks

Um, that's not a FeatureYieldChange. That's AI flavours.
 
Irkalla, I was just copying and pasting from the xml files for UB that already existed, I didn't really know what I was doing, so thanks for pointing that out. anyways it works now, don't really care about the ai flavors. right now I've got absolutely everything to work except for the DOM picture. I got my picture to the right size and put it in the right place but it'll still says "Unable to Load texture". I have it the right size, it set Import into VFS to true, and its in the Mod. don't know what else I can do. I also had a random question. I was parosing through the Leader AI traits/ personalities, and Sejong, Harold, and Paccahuti seem to be lacking big time. they don't have near the amount of settings as others. maybe I looked in the wrong spot. anyways was curious about that.
 
Irkalla, I was just copying and pasting from the xml files for UB that already existed, I didn't really know what I was doing, so thanks for pointing that out. anyways it works now, don't really care about the ai flavors. right now I've got absolutely everything to work except for the DOM picture. I got my picture to the right size and put it in the right place but it'll still says "Unable to Load texture". I have it the right size, it set Import into VFS to true, and its in the Mod. don't know what else I can do. I also had a random question. I was parosing through the Leader AI traits/ personalities, and Sejong, Harold, and Paccahuti seem to be lacking big time. they don't have near the amount of settings as others. maybe I looked in the wrong spot. anyways was curious about that.

Best place to look is in the Debug Database, it's a .db file under /MyDocuments/yadayada/GameFolder/cache. SQLite extension for Firefox works well. Maybe the Personalities for those DLC leaders are just not where you were looking: well with the .db you can see everything very easily.

As for being unable to load the texture: if everything is the right size and VFS = true, maybe you misspelled something?
 
don't know what else I can do.

Zip the mod (the built one in the "C:\Users\{username}\Documents\My Games\Sid Meier's Civilization 5\Mods" not the ModBuddy project) and attach it here - it's so much easier for us to look at the actual mod files than second guess all the problems you may have added :scan:
 
trystero49,

I found the debug database but I couldn't open it, couldn't figure out how to get SQLite extension from firefox, remember I'm a noob at this.

whoward69,

I looked at some of those mods you had in your site, I was wondering if you could let me see or tell me how you replaced a UU with a UB. I'd like to do one of my own but I fear its out of my league. if you could do anything that would be awesome.
 
whoward69,

thx man, helped a bunch. took me a while to figure it out, but i did, thx again

trystero49,

thx to you too, also took me a bit but I finnaly figured it out. can I treat the flavors here(the Debug Database) as the absolute Gospel truth on the matter? they seem to be different from what I've found in other places(the xml files on leaders and stuff). and about my texture, Ive checked probably a hundred times to be sure, everything is spelled correctly.

also I remember another strange problem I have with my Civ I made. My Civ Icon works just fine but my leader icon is being fully displayed everywhere. I mean to say that its not a circle but a full square image of the picture I used. what could be causing that? although I don't mind too much, it just looks much larger than the other icons now. anyway, let me know if there is anything you guys know.
 
can I treat the flavors here(the Debug Database) as the absolute Gospel truth on the matter? they seem to be different from what I've found in other places(the xml files on leaders and stuff).

I can't imagine that they would be different. Maybe you are looking at the wrong thing? In any case, what you see in the debug database is what the game uses, so yes, it is gospel.
 
trystero49,

so I checked again, and it seems your right, they aren't different, I was looking at something different, so where would I find info like this about every Leader
<VictoryCompetitiveness>8</VictoryCompetitiveness> <WonderCompetitiveness>7</WonderCompetitiveness> <MinorCivCompetitiveness>3</MinorCivCompetitiveness> <Boldness>8</Boldness> <DiploBalance>3</DiploBalance> <WarmongerHate>2</WarmongerHate> <DenounceWillingness>7</DenounceWillingness> <DoFWillingness>4</DoFWillingness> <Loyalty>4</Loyalty> <Neediness>4</Neediness> <Forgiveness>5</Forgiveness> <Chattiness>7</Chattiness> <Meanness>7</Meanness>
and what is the difference between WonderCompetitiveness and Wonder Flavor?
I can find this stuff for all the leaders but, Harold, Sejong, and Pacchahuti for some reason.
 
trystero49,

but I can't find this kind of stuff in the database, from what I could find.
<VictoryCompetitiveness>8</VictoryCompetitiveness> <WonderCompetitiveness>7</WonderCompetitiveness> <MinorCivCompetitiveness>3</MinorCivCompetitiveness> <Boldness>8</Boldness> <DiploBalance>3</DiploBalance> <WarmongerHate>2</WarmongerHate> <DenounceWillingness>7</DenounceWillingness> <DoFWillingness>4</DoFWillingness> <Loyalty>4</Loyalty> <Neediness>4</Neediness> <Forgiveness>5</Forgiveness> <Chattiness>7</Chattiness> <Meanness>7</Meanness>
and do you know what is the difference between WonderCompetitiveness and Wonder Flavor?
just curious. that is copied from Alexander, his wonder flavor is 6, and his wonder Competitiveness is 7, so whats the difference?
if you know the difference that would help me understand Leaders better.
 
I'm going to gander a guess, tell me if you think my guess is sound. the Flavor is the Leaders actually likelihood of building wonders, and the competitiveness is the likelihood of them getting angry at other Civ's for building Wonders that they were also building(you know, like in the Diplomacy menu its red cause you built wonders they coveted) just a thought, thanks for your help anyway.

for a recap then, my DOM image won't work (can't load) and my Leader picture is square and showing everything, not just what is in the circle. I think thats it, and those problems are pretty minor. anyways, thanks for all the help so far guys.
 
Back
Top Bottom