View Full Version : help with cityset graphics not showing up in game


Freya
Apr 23, 2009, 06:30 AM
I would need some help with some of my cityset graphics not showing up in game.
The funny thing is that about half of my new cityset shows up but the other half doesnīt and I have no idea why? I am pretty sure that the XML references is correct since Iīve rechecked this several times.

This made me think that there is some problems with the nifs itself although all of the nifs in the cityset shows up fine in sceneviewer. Iīm pretty new at doing these things so there may some things about nif files and citysets that I donīt know about, are there, for example, any restrictions on how big the nifs can be or could it be something else that fail?

I have tried to enable the LSystem.log (by putting 1 instead of 0s in the PlotLSystem and CityLSystem files) since that would probably help, but this doesnīt seem to work either because there is no log file to be found... What am I doing wrong here,do I have to enable logging somewhere else to? "confused"

Iīm very thankful for any help that can be given...

Freya
Apr 24, 2009, 05:15 AM
Well, I discovered that the ninodes that didnīt show up in game are all those who should go into the 2x1 leaf, the only thing I can found separating these nodes from the other ones are that they have the <Rotation> tag in the XMLfile. I have based my new cityset on the med_eu.nif cityset and all the 1x1 and 2x2 nodes are showing up just fine. Switching the graphics of the missing 2x1 nodes with those of the 1x1 nodes shows that there is nothing wrong with the actual graphics since located in the 1x1 leafs they show up in game.

This made me think that there has to be something wrong with the rotation of the 2x1 nodes in my new cityset .nif file, any idea what could have happened?
Btw, I used Blender to create my new building models....

The_J
Apr 24, 2009, 07:04 PM
A solution would be really interesting.
I've tried to change the buildings in a cityset, and it also doesn't show up in the game, only the shadows.

Any advances?

Freya
Apr 27, 2009, 02:07 PM
Finally got it to work, reassembled the meshes, resaved, rearranged the .nif file, deleted everything that could have caused any kind of problems and rewrote the whole XML section by hand! I have no idea what went wrong the forst time though and I'm to tired to examine, just happy it works ok! :)

Still, I canīt get the logging to work, itīs supposed to go into the MyGames/BTS/Logs directory, right? (My mod is based on BTS)
Anyone have an idea what I'm missing here?

The J, are you still having problems with your cityset? If you like, I could have at look at your .nif file and see if I could discover whats causes your problem..

The_J
Apr 27, 2009, 03:55 PM
Haven't looked at it closer, there were too much other things to do.

I'll upload it tomorrow, or so, thanks for the offer :).


The logging: Did you enable it in the Civ4config.ini?