Eltoshan
Chieftain
- Joined
- Jul 21, 2012
- Messages
- 14
So here is ACTUALLY what I am trying to do:
-I have my unique civilization
-I want melee and mounted units created in my capital to have the Jannisary's "PROMOTION_HEAL_IF_DESTROY_ENEMY"
-I don't want other civilizations to have this
-I don't want my other cities to have this
I figured the easiest way was to edit the Palace since it is unique to the Capital city.
Things I tried (however arguably I may have messed up on them somehow):
1. Basically copied the Civ 5 files for Krepost and edited in the Palace-specific stuff
My Civilization XML file contained both FreeBuildingClass (listing Palace) and BuildingClassOverride (changing Palace to Throne Room).
Result: I started with no Palace in my capital
2. I tried making it into its own building class and simply trying to tell the game that the FreeBuildingClass was "BUILDINGCLASS_THRONEROOM" instead of the "BUILDINGCLASS_PALACE".
Result: Palace(not Throne Room) became an option for me to produce on turn 1.
3. I tried using "Where"-"Set" tags on the Palace without even adding a building.
Result: The same as the first time. Nothing appears.
I tried a BUNCH of other little things here and there on every "overhaul" and nothing happened. If I need to like my entire mod I'd be happy to. Thanks to anyone who is able to assist me!
-I have my unique civilization
-I want melee and mounted units created in my capital to have the Jannisary's "PROMOTION_HEAL_IF_DESTROY_ENEMY"
-I don't want other civilizations to have this
-I don't want my other cities to have this
I figured the easiest way was to edit the Palace since it is unique to the Capital city.
Things I tried (however arguably I may have messed up on them somehow):
1. Basically copied the Civ 5 files for Krepost and edited in the Palace-specific stuff
Spoiler :
Code:
<Row>
<Type>BUILDING_THRONEROOM</Type>
<BuildingClass>BUILDINGCLASS_PALACE</BuildingClass>
<Cost>0</Cost>
<Help>TXT_KEY_BUILDING_THRONEROOM_HELP</Help>
<Description>TXT_KEY_BUILDING_THRONEROOM_DESC</Description>
<Civilopedia>TXT_KEY_BUILDINGS_THRONEROOM_PEDIA</Civilopedia>
<Strategy>TXT_KEY_BUILDINGS_THRONEROOM_STRATEGY</Strategy>
<ArtDefineTag>ART_DEF_BUILDING_PALACE</ArtDefineTag>
<TrainedFreePromotion>PROMOTION_HEAL_IF_DESTROY_ENEMY</TrainedFreePromotion>
<Capital>true</Capital>
<NukeImmune>true</NukeImmune>
<Culture>1</Culture>
<Defense>250</Defense>
<MinAreaSize>-1</MinAreaSize>
<NeverCapture>true</NeverCapture>
<HurryCostModifier>25</HurryCostModifier>
<IconAtlas>BW_ATLAS_1</IconAtlas>
<PortraitIndex>61</PortraitIndex>
</Row>
My Civilization XML file contained both FreeBuildingClass (listing Palace) and BuildingClassOverride (changing Palace to Throne Room).
Result: I started with no Palace in my capital
2. I tried making it into its own building class and simply trying to tell the game that the FreeBuildingClass was "BUILDINGCLASS_THRONEROOM" instead of the "BUILDINGCLASS_PALACE".
Result: Palace(not Throne Room) became an option for me to produce on turn 1.
3. I tried using "Where"-"Set" tags on the Palace without even adding a building.
Spoiler :
Code:
<Civilization_FreeBuildingClasses>
<Update>
<Where BuildingClassType="BUILDINGCLASS_PALACE"/>
<Set TrainedFreePromotions="PROMOTION_HEAL_IF_DESTROY_ENEMY"/>
</Update>
</Civilization_FreeBuildingClasses>
I tried a BUNCH of other little things here and there on every "overhaul" and nothing happened. If I need to like my entire mod I'd be happy to. Thanks to anyone who is able to assist me!