DukeCivStarcon
Chieftain
Update: Apparently the behavior controlling this is hard-coded in the following library: CvGameCore_Expansion2.dll ... although the task appears to be set correctly following the variable it seems that only 'Occupied' cities can be razed. Ironically these cannot contain (be founded by) one's own civilization. awkward
This is now a request for assistance to locate the relevant hexes [in CvGameCore_Expansion2.dll] to edit to adjust this behavior. For now this only places the button itself at the player's disposal and does not carry out the requested task.
Original post follows:
Yeah. Muuhhahahahhh Muuuhahahaha
Just raze it. Mine? Capital? Don't care. Just RAZE IT
For those who just want to watch the world burn (or have the option to should we so choose,)
The most basic mod from the most base kind of modder (muhuhahaha?) yep here it is, buckle in:
NAVIGATE TO %SteamLibraryFolder%\\steamapps\common\Sid Meier's Civilization V\Assets\DLC\Expansion2\UI\InGame\CityView
OPEN THIS SON OF A BEESTING: CityView.lua
Find this
Change both to FALSE
Like that.
Boom.
Note: I take no responsibility for the outcome of following these sweet, sweet short set of instructions. Also do not raze cities IRL. Depending on one's affiliations, it may get you into trouble (or be seen as an act of heroic protest-again, do not do per this post )
PS Does anyone know if and if so how the AI is design to react to razing City-States (for example,) or own-city-razing per se (as opposed to, y'know, in general?) Kinda curious if 'Capital Razing' gives more disapproval since the mechanic is disallowed generally.
Alright. You're off to douse and light the cities, the wonderful cities of non (as in, they not there anymore woo)
This is now a request for assistance to locate the relevant hexes [in CvGameCore_Expansion2.dll] to edit to adjust this behavior. For now this only places the button itself at the player's disposal and does not carry out the requested task.
Original post follows:
Yeah. Muuhhahahahhh Muuuhahahaha
Just raze it. Mine? Capital? Don't care. Just RAZE IT
For those who just want to watch the world burn (or have the option to should we so choose,)
The most basic mod from the most base kind of modder (muhuhahaha?) yep here it is, buckle in:
NAVIGATE TO %SteamLibraryFolder%\\steamapps\common\Sid Meier's Civilization V\Assets\DLC\Expansion2\UI\InGame\CityView
OPEN THIS SON OF A BEESTING: CityView.lua
Find this
Code:
-------------------------------------------
-- Raze City Button (Occupied Cities only)
-------------------------------------------
if (not pCity:IsOccupied() or pCity:IsRazing()) then
g_bRazeButtonDisabled = true;
Controls.RazeCityButton:SetHide(true);
Change both to FALSE
Code:
-------------------------------------------
-- Raze City Button (Occupied Cities only)
-------------------------------------------
if (not pCity:IsOccupied() or pCity:IsRazing()) then
g_bRazeButtonDisabled = false;
Controls.RazeCityButton:SetHide(false);
Like that.
Boom.
Note: I take no responsibility for the outcome of following these sweet, sweet short set of instructions. Also do not raze cities IRL. Depending on one's affiliations, it may get you into trouble (or be seen as an act of heroic protest-again, do not do per this post )
PS Does anyone know if and if so how the AI is design to react to razing City-States (for example,) or own-city-razing per se (as opposed to, y'know, in general?) Kinda curious if 'Capital Razing' gives more disapproval since the mechanic is disallowed generally.
Alright. You're off to douse and light the cities, the wonderful cities of non (as in, they not there anymore woo)
Last edited: