MOD-Incompatibility: Active City Defense (v 2)

Bananijoe

Chieftain
Joined
May 5, 2008
Messages
29
Location
Germany
Well it seems i mutate into a "MOD-Incompatibility"-Hunter :lol:
.. and this one pains me - i really like "Active City Defense"
Here we go:


Found a MOD-Incompatibility:
- Thal´s-Balance v5
- Active City Defense (v 2)

Error: Well this one is a bit more tricky :p - i used Patch 1.0.1.217
When you choose Meritocracy in the "Liberty"-Policytree you get a "Great Person" to choose from.
But when you click on the Icon which normally let you choose one - nothing happens!
Actions: Cleared cache, narrowed responsible Mods down to one "Active City Defense (v 2)",
confirmed by only installing these two mods - which resulted in this error
I used a new game-setup and Firetuner to test...
Tested with "Thal´s-Balance v5" and "Thal´s-Balance v5.2" - both result in errors
Info: Since i never had the Option to choose "Great Person" since i use MODs, i cant say if it would have worked with "Thal´s-Balance v4"
 
MOD-Incompatibility fixed

i had a short look at the files used by afforess.
He uses the ingame.xml with only one line of added code

But the ingame.xml obviously was quite old - and the vanilla ingame.xml was modified since then!

I used the vanilla ingame.xml and added Afforess Code.
This fixed the "bug" but i havent tested if "Active City Defense" still works as intended :crazyeye:

Anyway here all Infos:
Complete code of the new ingame.xml
Spoiler :

<?xml version="1.0" encoding="utf-8"?>
<Context Name="InGame" >

<LuaContext FileName="Assets/UI/Civilopedia/CivilopediaScreen" ID="CivilopediaScreen" Hidden="True" />

<Container Size="F,F" ID="BulkUI" >

<LuaContext FileName="Assets/UI/InGame/YieldIconManager" ID="YieldIconManager" Hidden="0" />
<LuaContext FileName="Assets/UI/InGame/PlotHelpManager" ID="PlotHelpManager" />
<LuaContext FileName="Assets/UI/InGame/ResourceIconManager" ID="ResourceIconManager" Hidden="0" />

<LuaContext FileName="Assets/UI/InGame/GenericWorldAnchor" />
<LuaContext FileName="Assets/UI/InGame/UnitFlagManager" ID="UnitFlagManager" />
<LuaContext FileName="Assets/UI/InGame/CityBannerManager" ID="CityBannerManager"/>
<Container ID="SelectedUnitContainer" />
<Container ID="PopupTextContainer" />


<LuaContext FileName="Assets/UI/InGame/WorldView/WorldView" ID="WorldView" />
<LuaContext FileName="Assets/UI/InGame/CityView/CityView" ID="CityView" Hidden="True" />

<LuaContext FileName="Assets/UI/InGame/TechTree/TechTree" ID="TechTree" Hidden="True" />

<!--<LuaContext FileName="Assets/UI/InGame/Popups/CityPurchasePopup" ID="CityPurchasePopup" Hidden="True" />-->
<LuaContext FileName="Assets/UI/InGame/Popups/GenericPopup" ID="GenericPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/TextPopup" ID="TextPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/SocialPolicyPopup" ID="SocialPolicyPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/NotificationLogPopup" ID="NotificationLogPopup" Hidden="True" />
<!--<LuaContext FileName="Assets/UI/InGame/Popups/MinorCivsListPopup" ID="MinorCivsListPopup" Hidden="True" />-->
<LuaContext FileName="Assets/UI/InGame/Popups/WhosWinningPopup" ID="WhosWinningPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/NewEraPopup" ID="NewEraPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/NaturalWonderPopup" ID="NaturalWonderPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/GoodyHutPopup" ID="GoodyHutPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/BarbarianCampPopup" ID="BarbarianCampPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/GoldenAgePopup" ID="GoldenAgePopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/GreatPersonRewardPopup" ID="GreatPersonRewardPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/CityStateGreetingPopup" ID="CityStateGreetingPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/CityStateDiploPopup" ID="CityStateDiploPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/DiploVotePopup" ID="DiploVotePopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/VoteResultsPopup" ID="VoteResultsPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/TechAwardPopup" ID="TechAwardPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/WonderPopup" ID="WonderPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/AdvisorInfoPopup" ID="AdvisorInfoPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/AdvisorCounselPopup" ID="AdvisorCounselPopup" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/AdvisorModal" ID="AdvisorModal" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/EconomicOverview" ID="EconomicOverview" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/DiploOverview" ID="DiploOverview" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/MilitaryOverview" ID="MilitaryOverview" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/EndGameMenu" ID="EndGameMenu" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/Demographics" ID="Demographics" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/VictoryProgress" ID="VictoryProgress" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/ChooseFreeItem" ID="ChooseFreeItem" Hidden="True" />

<LuaContext FileName="Assets/UI/InGame/Popups/SetUnitName" ID="SetUnitName" Hidden="True" />
<LuaContext FileName="Assets/UI/InGame/Popups/SetCityName" ID="SetCityName" Hidden="True" />
<!-- Added by Afforess -->
<LuaContext FileName="BuildingEffects" ID="BuildingEffects" Hidden="True" />
<!-- End add -->
<LuaContext FileName="Assets/UI/InGame/Popups/ProductionPopup" ID="ProductionPopup" Hidden="True" />

<LuaContext FileName="Assets/UI/InGame/TopPanel" ID="TopPanel" />

<Stack Anchor="C,T" Size="Full,Full" StackGrowth="B" Padding="16" ID="AlertStack" Offset="0,129"/>

<LuaContext FileName="Assets/UI/InGame/Menus/GameMenu" ID="GameMenu" Hidden="True" />

<Container ID="ScreenEdgeScrolling" Size="F,F" >

<Button Anchor="C,T" Size="F,2" ID="ScrollTop" />
<Button Anchor="C,B" Size="F,2" ID="ScrollBottom" />
<Button Anchor="L,C" Size="2,F" ID="ScrollLeft" />
<Button Anchor="R,C" Size="2,F" ID="ScrollRight" />

<!--
<Box Anchor="C,T" Size="F,2" Color="White" />
<Box Anchor="C,B" Size="F,2" Color="White" />
<Box Anchor="L,C" Size="2,F" Color="White" />
<Box Anchor="R,C" Size="2,F" Color="White" />
-->

</Container>

<LuaContext FileName="Assets/UI/FrontEnd/ExitConfirm" Hidden="1" />

</Container>

<LuaContext FileName="Assets/UI/InGame/DebugMenu" ID="DebugMenu" Hidden="True" />

<Label ID="FPSText" String="FPS" Anchor="C,B" Offset="0,60" Hidden="True" />
<Label ID="VisInfo" String="TextureInfo" Anchor="C,B" Offset="0,40" Hidden="True" />
<Label ID="DrawCalls" String="Draw Calls" Anchor="C,B" Offset="0,20" Hidden="True" />

<Label ID="SerialEventStream" String="SerialEventStream" Anchor="C,B" Offset="0,80" Hidden="True" />
<Label ID="NonSerialEventStream" String="NonSerialEventStream" Anchor="C,B" Offset="0,100" Hidden="True" />
<Label ID="LocalMachineEventStream" String="LocalMachineEventStream" Anchor="C,B" Offset="0,120" Hidden="True" />

<Label ID="TimerRate" String="Timer" Anchor="C,B" Offset="0,140" Hidden="True" />

<Instance Name="AlertMessageInstance" >
<Label ID="AlertMessageLabel" String="" Color0="255,255,200,255" Color1="0,0,0,200" Font="TwCenMT20" FontStyle="Stroke" Anchor="C,T"/>
</Instance>


<Instance Name="PopupText" >
<WorldAnchor ID="Anchor" Anchor="c,c" >
<SlideAnim Anchor="c,c" End="0,-100" Cycle="once" Speed=".5" ID="SlideAnim" >
<AlphaAnim Anchor="c,c" AlphaStart="0" Cycle="once" AlphaEnd="1" ID="AlphaAnimIn" Pause="0" Speed="100" >
<AlphaAnim Anchor="c,c" AlphaStart="1" Cycle="once" AlphaEnd="0" ID="AlphaAnimOut" Pause="0.75" Function="Square" >
<Label ID="Text" Anchor="c,c" ColorSet="White_Black" Font="TwCenMT22" FontStyle="Stroke" ForceNonIME="1" />
</AlphaAnim>
</AlphaAnim>
</SlideAnim>
</WorldAnchor>
</Instance>

</Context>


and below the whole file as attchment :)
.. which should replace the existing file in: "..\My Games\Sid Meier's Civilization 5\MODS\Active City Defense (v 2)\Lua\.."


EDIT:
hmm upload fails... no attachment
 
ActiveCityDefense is obsolete. It was designed in a phase of the game before they buffed city heal rates, removed defensive building maintenance costs, added the new Oligarchy effect, and so on. City defenses are quite useful now so it's not really needed.
 
Top Bottom