CIVICS XML screw up???

Dearmad

Dead weight
Joined
Aug 18, 2001
Messages
1,527
Beyond the sword v3.03:

When modifying building happiness effects in the civics xml file... if you write:
building_barracks as the building that should cause happiness in the game it makes it the bunker... as if it selected a building 4 ros down on the XML file. So I changed it to Building_castle and NOW it says (in game) Barracks!

Does anyone understand why this started happening... it's really a . .. .. .. .. .. :mad:
 
We should use BUILDINGCLASS_BARRACKS there, not BUILDING_BARRACKS. Though the tag named "BuildingType" :D

Code:
			<BuildingHappinessChanges>
				<BuildingHappinessChange>
					<BuildingType>[B]BUILDINGCLASS_BARRACKS[/B]</BuildingType>
					<iHappinessChange>2</iHappinessChange>
				</BuildingHappinessChange>
			</BuildingHappinessChanges>
 
Top Bottom