Re-enabling builders removing features outside of own territory?

malichai11

Chieftain
Joined
Apr 14, 2008
Messages
16
I've had no luck attempting to re-enable the ability for builders to remove terrain outside of their own territory that just got patched out. I fully understand the reasoning behind the patch, but for my own single player games, I'd really like to re-enable it. I thought it might've been in UnitPanel.lua, but the changes I've made there haven't resulted in the results I'm looking for. The remove feature button is there in your own territory and gone when you aren't in your own territory, unlike the build features buttons, which are just greyed out when you aren't in your own territory.
 
I looked in the features.xml file and it only looks like you can make the feature removable and not removable. you can't adjust whether that is inside or outside of your territory. This seems to be an oversight by firaxis as they should've at the very least expected some people to want the ability to still do this.
Spoiler :

<Row FeatureType="FEATURE_FOREST" Name="LOC_FEATURE_FOREST_NAME" RemoveTech="TECH_MINING" Removable="true" Forest="true" AddCivic="CIVIC_CONSERVATION" SightThroughModifier="1" DefenseModifier="3" MovementChange="1" Appeal="+1" AntiquityPriority="2"/>
 
When builders are in their own territory the remove feature button is there, when they aren't in their own territory, the remove feature button is missing, unlike all of the build actions which are simply greyed out. Remgrandt's idea is that I'd need to work backwards, using Tuner, and find what the callback function is for the "remove action" and then make my own UI code to call that function. I'm afraid that's two steps beyond my abilities.
 
That most likely is a dll function and not able to edit with xml tweak
 
Back
Top Bottom