View Full Version : Question re building errors


Ambreville
Jun 25, 2008, 10:35 AM
I noticed a problem with constructing some buildings in my mod. I'm not familiar with this area. Sometimes, buildings need to be constructed twice before they are actually built.

Here are some of the errors I found listed in the LSystem.log

building:Art/Structures/Buildings/Grocer/Grocer.nif does not contain a node called SHADOW. Its shadow, if present, will be corrupt!

Layout failed to complete while adding generic buildings!

building:Art/Structures/Buildings/Grocer/Grocer.nif does not contain a node called SHADOW. Its shadow, if present, will be corrupt!

building:Art/Structures/Buildings/Levee/Levee.nif does not contain a node called SHADOW. Its shadow, if present, will be corrupt!

building:Art/Structures/Buildings/Grocer/Grocer.nif does not contain a node called SHADOW. Its shadow, if present, will be corrupt!

Failed to place goal building ART_DEF_BUILDING_CUSTOM_HOUSE.


I've added some new buildings -- general question: besides building infos, building class infos, and their art defines, is there another file I need to contend with?

primordial stew
Jun 27, 2008, 02:26 AM
If a building isn't in CIV4CityLSystem.xml then it won't be visible.

Ambreville
Jun 27, 2008, 07:29 AM
So,what do I do about any of this?

primordial stew
Jun 27, 2008, 06:28 PM
I also get a bunch of these, but it doesn't manifest into any problem I am aware of. My understanding is probably limited, but so long as the building shows up I think it's ok.

Ambreville
Jun 27, 2008, 07:48 PM
Perhaps, but I my case there definitely is some kind of problem with the buildings. Whether they appear or not (I think they do) isn't the problem. What bothers me is that I have to construct some of them twice in a row before they are actually built.

primordial stew
Jun 27, 2008, 11:30 PM
Do you happen to have comments in either buildingsinfos or buildingclassinfos? There are definitely bugs in all the civ4s where they don't handle these correctly... weird stuff too! When utilizing the FreeBuilding tag, I've gotten different buildings than specified... now that all the comments are out it gives what it's supposed to. Now I just create a new file wo/ the .xml extension to keep stuff around, but out of the game.

davidallen recently wrote a utility to do some cross-checking in the xml files. Maybe try running that.

Ambreville
Jun 28, 2008, 07:52 AM
Do you happen to have comments in either buildingsinfos or buildingclassinfos? There are definitely bugs in all the civ4s where they don't handle these correctly... weird stuff too! When utilizing the FreeBuilding tag, I've gotten different buildings than specified... now that all the comments are out it gives what it's supposed to. Now I just create a new file wo/ the .xml extension to keep stuff around, but out of the game.

davidallen recently wrote a utility to do some cross-checking in the xml files. Maybe try running that.

The only XML msg I get in the XML log is:

[2615.171] Loading XML file xml\Buildings/CIV4BuildingInfos.xml
[2616.046] Load XML file xml\Buildings/CIV4BuildingInfos.xml SUCCEEDED
[2616.046] SetGlobalClassInfo (Civ4BuildingInfos/BuildingInfos/BuildingInfo)

. . . followed by a very long list of these:

[2616.046] info type NONE not found, Current XML file is: xml\Buildings/CIV4BuildingInfos.xml


I get no error messages during play, if this is what you meant.

Messages like the one below are for buildings that aren't even included in my mod, but are listed in the root BtS art files (source: LSystem.log).

building:Art/Structures/Buildings/NSA_Headquarters/NSA_Headquarters.nif does not contain a node called SHADOW. Its shadow, if present, will be corrupt!

Where do I find davidallen's utility??