Question re building errors

Ambreville

Deity
Joined
Sep 28, 2006
Messages
2,255
Location
Windy City USA
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

Code:
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?
 
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.
 
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:

Code:
[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:

Code:
[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).

Code:
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??
 
Back
Top Bottom