Hearts of Iron IV

Hearts of Iron IV

Remove buildings
43 Comments
Persistent 3 Apr @ 8:24am 
would use for ethopia to remove those airbases for holding, but it doesnt have 5 civ lol
Divine 2 Mar @ 12:32am 
does not show the list of ports. please update :) @TRDZ
doj84 25 Jan @ 12:06pm 
Southern Czechia is missing in the events menu.
_noft_210 30 Dec, 2023 @ 4:37pm 
If possible, please update the railway so that it can also be destroyed.
99℃ 23 Nov, 2023 @ 7:45pm 
@TRDZ
Airport deletion has been executed, but it is only specified as level 0 and cannot be deleted Is it working normally that the first stage of the airport remains after executing the remove airbase?
I want a complete deletion.
John the Gamer 11 Sep, 2023 @ 10:54am 
The problem with railroads is that they aren't a building that sits in a specific province, it is a building that runs from province A to province C through province B.

For example, from the map files:
2 5 11531 563 3558 3530 9517

This is a level 2 railroad that runs through the Rhineland, and exists in 5 provinces.

I really don't like that Paradox doesn't allow us to remove railroads. The AI keeps turning their countries into railway spaghetti.
Glitterhoof 9 May, 2022 @ 10:17am 
I have tried to add support for removing railways, but it doesn't seem possible at the moment. There are two relevant effects, set_building_level and remove_building. The former simply causes building damage without removing the railways, causing them to become disabled but still visible. Using the latter with railways causes the game to crash. There is build_railway which is used to build new railways, but no corresponding effect to remove them that I could find.
TRDZ  [author] 7 Mar, 2022 @ 12:33pm 
I hear you all guys, sory, just now i simple dont have to much time.
Il try deal with railway as soon as deal with my staf.
Once again deeply sorry for silence
Axel Hsu 7 Mar, 2022 @ 12:34am 
Please make a railways and supply hub demolish
Antlos 5 Mar, 2022 @ 9:13am 
Why 360 days for port, you wasting a lot less time for bulding it, even on the start.
huskerfan6767 7 Feb, 2022 @ 5:34pm 
Don't get me wrong I am thankful for the mod. But is there no way to set a name fore each? Finding the right one is a pain in the butt lol
大天 15 Dec, 2021 @ 6:44pm 
Please, please, please... the railway T_T
GeneralIvanKalisnky 14 Dec, 2021 @ 5:38am 
i need to destroy the railways from countries i conquer
Polaredman 12 Dec, 2021 @ 6:42am 
I still wait this day, when railways will be destroy)
STMGG 27 Nov, 2021 @ 6:12am 
please update I want to dismantle the railway and supply hub please
TRDZ  [author] 27 Nov, 2021 @ 5:48am 
I'll take a look at this new dls and what can be fixed.
@lex 26 Nov, 2021 @ 4:16pm 
It would be nice to update the mod to DLC No Step Back and give the option to remove the damn rails
Just.One.Sec 26 Nov, 2021 @ 2:34pm 
Unfortunately the icons won't appear on the map after the update for me. Would it be possible to update the mod? (hope it's not too much work!) ^.^
whgusals458 9 Jul, 2021 @ 7:02pm 
Airport not properly removed. Figures only.
Zeroed and continues with existing roles thx :)
Fr1edi 18 Jun, 2021 @ 4:03pm 
:steamthumbsup:
remove ports doesn't work ,wish fixed someday
RyansPlace 7 Mar, 2021 @ 1:54pm 
I looked through your code. For each building, you had to create a separate decision for each of the 1,000 states. That's a lot of work. Good on you!
tinny_sch 7 Sep, 2020 @ 3:36am 
update?
FreehandHookAAA 12 Aug, 2020 @ 9:36am 
Awesome Mod Dude
6 Aug, 2020 @ 2:45pm 
I can't remove forts in Holland
Syok (You) 25 Jul, 2020 @ 4:19pm 
You'll never believe what it turned out to be, it took me all day to find out. Apparantly the "UI Scale" needs to be set to 1.0x or that red X won't show for some reason. For as long as i've played this i never seen it before how crazy is that? Thank you so much for your help, you've been great!
TRDZ  [author] 25 Jul, 2020 @ 12:16pm 
@Syok (You),
This is how it should look:
https://imgur.com/pbdjTf8
TRDZ  [author] 25 Jul, 2020 @ 12:12pm 
@Syok (You),
Are you using some kind of buildings modification or playing on an older version?

If not, this is definitely a bug.
TRDZ  [author] 25 Jul, 2020 @ 12:06pm 
Sorry, but this icon(way point and ship stock) is not tied to the building.
It appears by ingame scrip from buildings flag(is_port).
And what even worse, information about this icon stored in save file.

Of corse i will be continue looking for a way to fix this,
but for now, i dont understand how to get access to control this mechanics.

P.s. But still, deconstruction remove supply route and ship repair,
so i dont wanna remove this feature.
25 Jul, 2020 @ 9:05am 
Found a bug, after removing navel bases the icon is still there on the map and I can still use it
Syok (You) 25 Jul, 2020 @ 1:23am 
https://imgur.com/EDGzQ1u
The screenshot doesn't show my mouse, but it's hovering over the civilian factory in the bottom right. Where is the red cross? I don't understand. And yes, actually, if I eventually find it, I would love to deconstruct more than one at a time, otherwise that sounds really slow and awful haha. Thank you for your help so far, i really appreciate that gesture.
Syok (You) 25 Jul, 2020 @ 12:59am 
I can't find it, what factory icon and in what window? In the 'province' windowthere's no red x when hovering over the icons. :(
TRDZ  [author] 24 Jul, 2020 @ 7:56pm 
@Syok (You) ,
Oh, soo... As said, you can already do this, just hover your mouse over the factory icon
and button for deconstruct(red X), will appear at the lower right corner of icon.

P.S. I just thought , you want do mass deconstruction at middle of war
(when you at war, you can only do this for each state once per month).
Syok (You) 24 Jul, 2020 @ 6:03pm 
Oh hey! I don't know what that dude is on about with the red x, but as for your question i was definatly thinking along the lines of regular demolition. For example, say you've built too many military factories, but you're desperate to build some or dockyards - you're effectively screwed! You can only convert between civilian/military, causing those slots to always be occupied. A mod letting the player "delete" a building, such as a factory, would free that building slot, letting the player choose a different building type instead. Take care of yourself, have a good weekend.
TRDZ  [author] 24 Jul, 2020 @ 5:12pm 
@Syok (You) ,
Sorry i was too far away from home and couldn't answer.
You want something like scorched earth,
or just peaceful demolition?
24 Jul, 2020 @ 5:10pm 
Syok you can already do that, just hover over the factory icon after you select a state then click on the red X
Syok (You) 24 Jun, 2020 @ 11:30pm 
if you make it so you can remove factories, i will donate €10 to charity.
TRDZ  [author] 15 May, 2020 @ 10:32am 
@Guffrus, It's just a little reward for overpricing cost.
if you want i can add "no buff version" later.

For now i don't have time for mods, so i will do it later.
Guffrus 13 May, 2020 @ 2:29pm 
I think its great that you have added the option to remove bunkers as that is extremely annoying but why do i have to have a buff?

Why would i get a buff, that makes no sense.

I dont mind paying to get rid of the bunkers even, i just want them gone.
@lex 8 Apr, 2020 @ 11:27pm 
I already realized that the mod on 1.9.1 works and it is very wonderful that the mod is being developed further I will wait for the luck update
TRDZ  [author] 8 Apr, 2020 @ 12:34pm 
@1o1ooooo1o1oo,
Current version should work on 1.9.1, so you can ignore the warning.
For now I am working on a big update, what add decision to remove any selected building.
@lex 6 Apr, 2020 @ 10:08am 
I searched for a similar mod for a very long time and I accidentally stumbled upon your creation, I tried it on version 1.8.2 and it works, I ask you to update it to version 1.9.1 if it’s easy for you
@lex 6 Apr, 2020 @ 9:50am 
You need to update the mod to version 1.9.1, when turned on, it says that you need the game version 1.8.2
Fylker 30 Mar, 2020 @ 9:41pm 
Cool