aliens

Author Topic: Building collapse mods?  (Read 1317 times)

Offline Marrik

  • Captain
  • ***
  • Posts: 73
    • View Profile
Building collapse mods?
« on: October 26, 2019, 07:05:30 am »
Are there any mods that make it so that a building will collapse if you destroy everything holding the roof up? As it is, even if you completely obliterate the first floor of a building, the 2nd floor just keeps floating there unless you destroy every single piece of it.

Offline luke83

  • Commander
  • *****
  • Posts: 1566
    • View Profile
    • openxcommods
Re: Building collapse mods?
« Reply #1 on: October 26, 2019, 10:54:23 am »
NOPE, only APOC has this mechanic....It would be nice to have in OXC but it wont be easy to implement.

Offline Marrik

  • Captain
  • ***
  • Posts: 73
    • View Profile
Re: Building collapse mods?
« Reply #2 on: October 26, 2019, 08:01:29 pm »
Damn :( That's the one really big flaw in X-com in my opinion.

Offline LytaRyta

  • Colonel
  • ****
  • Posts: 319
  • Lisbeth ;p My Engrish is easy bad, Csaba is dead!
    • View Profile
    • svetmightandmagic.cz
Re: Building collapse mods?
« Reply #3 on: October 27, 2019, 11:35:56 pm »
^^ ..but in contrary the ppls, civilians in X-Com are lucky due this - the roofs and upper etajes of buildings just dont collapse at them then!
« Last Edit: October 28, 2019, 04:36:38 pm by LytaRyta »

Offline cptelerium

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Building collapse mods?
« Reply #4 on: December 06, 2019, 12:29:54 am »
Damn :( That's the one really big flaw in X-com in my opinion.


I agree, that would be so nice to have. Ufo 3 (Apocalypse) does it right?

That should be done imo as an engine change (in C++) that might be enabled by mod (or possibly by advanced options too).

Does not seem to be too hard to implement - I would guess.

Offline cptelerium

  • Sergeant
  • **
  • Posts: 21
    • View Profile
Re: Building collapse mods?
« Reply #5 on: December 06, 2019, 01:51:52 am »
I guess this code has best example how to check map tiles:

https://github.com/OpenXcom/OpenXcom/blob/master/src/Battlescape/TileEngine.cpp