[PYTHON] Building Demolition

vorius

Warlord
Joined
Sep 30, 2005
Messages
264
Location
New York
This is a python script modification to the CvEventManager file which enables building demolition from within a city view screen.

Detailed installation instructions are in the readme included with the zip

You will be extracting this to your My Games\Sid Meier's Civilization 4 folder (do not overwrite the CvEventManager file in the Assets folder under which the game was installed)

Then load any game and enter the city screen of one of your cities then press CTRL + D which will prompt you which building to demolish.

You cannot demolish world wonders or your Palace.

You should get a little sound effect when it is demolished too...
 

Attachments

Uty said:
What's the point of demolishing a building? They don't factor into maitenence cost.

Two things, mainly:

The first is Coal Plants/Nuclear Plants. If you get cleaner or safer power later you can demolish these buildings to get rid of their harmful effects

The second is National Wonders, if you want to reconfigure what cities have what national wonders since cities are limited to two

edit: on a less likely scenario, there's also the technique of removing really important buildings in cities you are sure to lose to an enemy or culture
 
Maybe removing some unhealthiness/unhappiness(if there are any, can't remember) generating buildings too.
 
Aren't all non-Wonder buildings razed on city capture anyway? Not sure about cultural shift, mind.
 
vorius said:
This is a python script modification to the CvEventManager file which enables building demolition from within a city view screen.

Detailed installation instructions are in the readme included with the zip

You will be extracting this to your My Games\Sid Meier's Civilization 4 folder (do not overwrite the CvEventManager file in the Assets folder under which the game was installed)

Then load any game and enter the city screen of one of your cities then press CTRL + D which will prompt you which building to demolish.

You cannot demolish world wonders or your Palace.

You should get a little sound effect when it is demolished too...

Will you get hammers back for it? (Like, maybe 33% of the initial contruction costs?)

All througout history, people have been demolishing buildings to build other parts of the city. Stones were often a hard commodity to come by, so after the Roman Empire collapsed and cities needed expansion or stone to build houses and buildings, they often turned to old buildings no longer in use. Colliseums were built all over Europe for instance, but only few remain in existance today due to them being torn down by the people, purely for the stones.
 
Currently demolishing does not give you a refund in hammers- I can certainly look into doing that if you'd really like to have that feature. Maybe expose a variable that can be modified so you can set whatever percent of it's cost would generate hammers for the city- form 0% to whatever you want.
 
Once you add in the Hammer refund this mod would be Fully Complete :D

I like it alot!
Don't know why they didn't add this feature in the 1st place.
I am sure the other versions of Civ has the demolish option unless I am mistaken
 
Conversely, getting a refund in gold instead of hammers might be a nice option -- that way you could re-allocate your refund to different uses besides production in that one city. That's how it worked in Civ3.
 
can not work for me. when I hit ctrl+D it pops up the debug window.
can you change to another shortcut key?
 
roidesfoux said:
Nope. Only National Wonders.

-RdF


Incorrect. Capturing a city wipes out all or almost all buildings that were constructed in that city (barring world wonders) - even if the city was undefended.
 
rosegame said:
can not work for me. when I hit ctrl+D it pops up the debug window.
can you change to another shortcut key?

A Python debug window? IS there any message written in this window?
 
:goodjob: That's really a feature that should have been in in the first place.

And IMO it's good as it is - no benifit in hammers or gold, how many bucks do you get from demolishing a real coal plant - it cost more ( so maybe you should have to pay for destroying a building ;) )
 
how to upload the picture. I have no space to store the picture online. I can show you the debug window in the city view..
 
rosegame said:
here is screenshot

Hey that's pretty interesting! Never knew that existed! Any idea how you activated that window? I tried CTRL + D before this mod and it never did anything...
 
Back
Top Bottom