New civ wont show

zomgcookie

Chieftain
Joined
Sep 2, 2011
Messages
14
So i looked at the guide for everything modding and decided to give it a go. I installed mod buddy, installed gimp, copypasta'd the xml with my own new civ's info added in. I got to the point of the guide where after making my own icon it tells me to load the game but nothing about my civ is showing in the pedia. I have everything set to true but still nothing. Please help, maybe i set up mod buddy wrong?
 
I installed mod buddy, installed gimp, copypasta'd the xml with my own new civ's info added in.

If you did anything even remotely approaching "copypasta", then you did it wrong. XML updates don't work that way; you don't duplicate all of the existing code inside your mod's files.

Also, the guide is slightly out of date, in regards to the VFS. But if nothing is showing up, then that's not your problem; see the above paragraph.
 
If you did anything even remotely approaching "copypasta", then you did it wrong. XML updates don't work that way; you don't duplicate all of the existing code inside your mod's files.

Also, the guide is slightly out of date, in regards to the VFS. But if nothing is showing up, then that's not your problem; see the above paragraph.
ok let me reiterate, i did what the guide told me to do by adding my info instead of the celtic info and it is not working ...
 
Then let's go through the basics.

1> OnModActivated/UpdateDatabase?
2> Did you remember to actually hit the Build button, and confirm that it was placing the appropriate files in the MODS directory?
3> Set VFS=true for any non-GameData files (like .DDS images)?

If you did all of those, then try zipping up your files and attach them to a post so we can take a look. Otherwise, we're just blindly guessing.
 
Then let's go through the basics.

1> OnModActivated/UpdateDatabase?
2> Did you remember to actually hit the Build button, and confirm that it was placing the appropriate files in the MODS directory?
3> Set VFS=true for any non-GameData files (like .DDS images)?

If you did all of those, then try zipping up your files and attach them to a post so we can take a look. Otherwise, we're just blindly guessing.
Can you elaborate on number 2 and i set everything to VFS true.
 
Can you elaborate on number 2

In ModBuddy, once you've created your mod, go to the Tools menu and select "Build Solution". Depending on how big your mod is, this might take some time.

This'll copy your files over to the actual MODS directory, which will generally be in My Documents/My Games/Sid Meier's Civilization V/MODS/, and create a .modinfo file as well to replace the .proj file that ModBuddy uses. If your mod isn't being placed into that MODS directory, then the game can't see it.

and i set everything to VFS true.

That's bad. Certain things, especially Lua scripts, should NOT be set to true if you're adding them through the correct place. Only use VFS for files that are not added explicitly through either the Actions tab or the Content tab of the mod. (If you use VFS as well in these cases, then sometimes it can cause things to be added twice, which causes all kinds of conflicts.)
 
In ModBuddy, once you've created your mod, go to the Tools menu and select "Build Solution". Depending on how big your mod is, this might take some time.

This'll copy your files over to the actual MODS directory, which will generally be in My Documents/My Games/Sid Meier's Civilization V/MODS/, and create a .modinfo file as well to replace the .proj file that ModBuddy uses. If your mod isn't being placed into that MODS directory, then the game can't see it.



That's bad. Certain things, especially Lua scripts, should NOT be set to true if you're adding them through the correct place. Only use VFS for files that are not added explicitly through either the Actions tab or the Content tab of the mod. (If you use VFS as well in these cases, then sometimes it can cause things to be added twice, which causes all kinds of conflicts.)
Its working when i go to modded games but not showing in the civilo but the icon was messed anyway so maybe because of that. Thanks a lot for the assistance.
 
Sorry for double but having more issues. The icon for my civ is showing 4 white circles instead of the single icon. Any ideas?
 
Sorry for double but having more issues. The icon for my civ is showing 4 white circles instead of the single icon. Any ideas?

Sounds like you have the wrong size set for one of the Atlas definitions in the IconTextureAtlases table. It's very picky. It COULD also be a problem with the alpha channel in your DDS file, but I'd check the sizes first.
 
Sounds like you have the wrong size set for one of the Atlas definitions in the IconTextureAtlases table. It's very picky. It COULD also be a problem with the alpha channel in your DDS file, but I'd check the sizes first.
Well the way i did it was i opened the icon atlas 256 and then opened what i want to use as my icon as a new layer, i put the icon into the top left circle like the guide said and then i flattened the image. After saving like instructed as dds with my compression set as none i scaled the image down repeatedly instead of opening different atlases. I think this may be the problem?
 
I think this may be the problem?

No, actually that's fine. Although personally I'd start with the XCF templates, they're a lot easier to work with and are less prone to glitchy edges. I think they're in a thread in the References forum; it's been a while. Also, the game generally works better if you use the BC3/DXT5 compression, for some reason. And you need to restart your game after making a change, this is one of the few bits where going out to the main menu and back in doesn't update things.

I wasn't saying that the problem is in the DDS files, I'm saying it's probably an error in the XML file that declares your atlases, where it's using, say, the 256 atlas' DDS file for the 128-size icons or something. (Or, you haven't declared a size that the game needs for that particular icon.) But without seeing your mod I have no way to tell.
 
No, actually that's fine. Although personally I'd start with the XCF templates, they're a lot easier to work with and are less prone to glitchy edges. I think they're in a thread in the References forum; it's been a while. Also, the game generally works better if you use the BC3/DXT5 compression, for some reason. And you need to restart your game after making a change, this is one of the few bits where going out to the main menu and back in doesn't update things.

I wasn't saying that the problem is in the DDS files, I'm saying it's probably an error in the XML file that declares your atlases, where it's using, say, the 256 atlas' DDS file for the 128-size icons or something. (Or, you haven't declared a size that the game needs for that particular icon.) But without seeing your mod I have no way to tell.
I have been restarting the game after every change, here are some images.
 

Attachments

  • blabla xml fml.png
    blabla xml fml.png
    192.7 KB · Views: 69
  • bla bla xml fml 2.png
    bla bla xml fml 2.png
    184.3 KB · Views: 84
Those images don't really help. You'd have to attach the actual files to figure out what's wrong.

But before you do that, are the log files and/or FireTuner showing anything out of the ordinary? The XML log file usually catches a lot of these issues.
 
Those images don't really help. You'd have to attach the actual files to figure out what's wrong.

But before you do that, are the log files and/or FireTuner showing anything out of the ordinary? The XML log file usually catches a lot of these issues.
guide me to the log file and i will show you im really grateful for the assistance.
 
You have to turn logging on to get much in the files. First, go to My Documents/My Games/Sid Meier's Civilization V/.

In that directory will be a file, config.ini. In that file, the fourth line should be "EnableTuner = 0". Change that to a 1, so that you can run FireTuner. Now, do so; make sure FireTuner is running whenever you try to start a game, and it'll catch some types of errors.

Much further down in the config.ini, in the [Debug] section, will be a bunch of logging variables. Turn whichever ones sound interesting on, but the big one is LoggingEnabled = 0. Again, change to a 1. This causes the game to create log files as it goes. Now, back into that directory where you found config.ini: in that directory will be a /Logs/ subdirectory. Inside there is where it'll place the log files when you try to load your mod.

Note that the vanilla game gives some errors in the xml.log file; you might want to try setting up one game with no mods, just to get an idea of what the baseline errors are.
 
Back
Top Bottom