need help to change this!!

regalman

Reckless Dolphin
Joined
Jul 31, 2013
Messages
940
Location
Toronto, Ontario, United States
whenever we capture a capital city, the palace goes away and that means the great work in it does too. is there a way to fix this??!!

What should I change in the XML file?
help would be appreciated


<Type>BUILDING_PALACE</Type>
<BuildingClass>BUILDINGCLASS_PALACE</BuildingClass>
<Cost>0</Cost>
<Help>TXT_KEY_BUILDING_PALACE_HELP</Help>
<Description>TXT_KEY_BUILDING_PALACE</Description>
<Civilopedia>TXT_KEY_CIV5_BUILDINGS_PALACE_TEXT</Civilopedia>
<Strategy>TXT_KEY_BUILDING_PALACE_STRATEGY</Strategy>
<ArtDefineTag>PALACE</ArtDefineTag>
<Capital>true</Capital>
<NukeImmune>true</NukeImmune>
<MinAreaSize>-1</MinAreaSize>
<Defense>250</Defense>
<ArtInfoCulturalVariation>true</ArtInfoCulturalVariation>
<DisplayPosition>32</DisplayPosition>
<GreatWorkSlotType>GREAT_WORK_SLOT_ART_ARTIFACT</GreatWorkSlotType>
<GreatWorkCount>1</GreatWorkCount>
<NeverCapture>true</NeverCapture>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>19</PortraitIndex>
 
I never thought of this. These are just educated guesses (I have only a little experience with XML modding) but:

<NeverCapture>true</NeverCapture>
If it were false instead, the palace could be captured intact - however, it wouldn't be guaranteed still, and could cause other wonkiness.

A better solution, I think, would be
<GreatWorkSlotType>GREAT_WORK_SLOT_ART_ARTIFACT</GreatWorkSlotType>
<GreatWorkCount>1</GreatWorkCount>
to remove these two lines. As a result, the palace couldn't be used to store art, eliminating the problem.
 
You could give an art slot to some other building instead to compensate.
 
tried your suggestions, also changed the player instances to more than 1 but they still go away
I conquered Venice and the screen says Venice has 5 great works but when view,puppet or annex it they are not there
this needs to be fixed in the fall patch
 
Top Bottom