Home » MODDING HQ 1.13 » Flugente's Magika Workshop » New Feature: Collapsing roofs
Re: New Feature: Collapsing roofs[message #337258]
|
Tue, 28 October 2014 01:27
|
|
Flugente |
|
Messages:3507
Registered:April 2009 Location: Germany |
|
|
A few more clarifications:
- Non-flat rooftops can also be destroyed. They are multi-tile entities, however. Due to their nature, they will be destroyed if their 'root'-tile is destroyed. There are sometimes other roof tiles beneath them. This will have a somewhat odd effect - the flat tiles will be destroyed, but the slanted tiles will remain. Engine limitation.
- @smeag: Well, with Fortifications revisited you can. However it seems the pathing on player-built roofs doesn't work correctly, but this is outside the scope of this feature.
- @Ocular: Oddly enough, this effect only appears on some roofs, and then only on certain tiles. It also seems that saving and reloading removes this glitch. It seems to me some internal pathing structure isn't correctly updated upon destruction, but I could not find it yet.
- @Sevenfm: hmm. the sounds are good, but don't seem that much better to me.
As the same roof type is used for different houses, we can't rely upon it's material. We could use the type of the walls though, as I do for armour, but that's a detail I currently don't have time for. But you know how to code, so feel free to add this - @Slax: Frags are bullets. Bullets don't destroy structures unless you use anti-materiel ammo.
- yarco
And what about anti material rifles? can we shoot through the roofs? Hitting a roof itself is ugly to code due to the engine. But as anti-materiel rifles can destroy walls, this can also damage roofs along the way (since r7618 that is ) I added two things in r7618:
- Fixed the issue smeagol reported - at the source of the explosions the roof was always destroyed. The situation in the video from above is still the same, there is however the chance that a mortar shell doesn't do enough damage and does not destroy the roof.
- Anti-material rifles damage walls. If a wall gets destroyed, the roof on top of it can also be destroyed. However, note that the damage done by these rifles to structures is relatively small (compared to, say, C1 or a LAW). It is currently unlikely you will destroy a lot of roof tiles with these rifles alone.
A problem of roofs is that their structures have no hitpoints. That is, there are two variables for that, but one is overwritten by another required variable, and the other one is always 0. Roofs were simply not meant by Sirtech to be destroyed. For this reason, I can currently only destroy a roof or not.
I could try to alter that by filling the second variable with data, but knowing the game, this will likely screw up something somewhere. I want to research that first . I already coded this, it jsut has to be commented in
Report message to a moderator
|
|
|
|
|
|
New Feature: Collapsing roofs
By: Flugente on Sun, 26 October 2014 02:47
|
|
|
Re: New Feature: Collapsing roofs
By: Shanga on Sun, 26 October 2014 03:01
|
|
|
Re: New Feature: Collapsing roofs
By: grim on Sun, 26 October 2014 03:45
|
|
|
Re: New Feature: Collapsing roofs
By: Sargeno on Sun, 26 October 2014 03:57
|
|
|
Re: New Feature: Collapsing roofs
By: batanen on Sun, 26 October 2014 07:44
|
|
|
Re: New Feature: Collapsing roofs
By: Ocular on Sun, 26 October 2014 08:11
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: smeagol on Sun, 26 October 2014 09:51
|
|
|
Re: New Feature: Collapsing roofs
By: Randok on Sun, 26 October 2014 10:26
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Randok on Sun, 26 October 2014 11:54
|
|
|
Re: New Feature: Collapsing roofs
By: grim on Sun, 26 October 2014 12:15
|
|
|
Re: New Feature: Collapsing roofs
By: Mauser on Sun, 26 October 2014 12:40
|
|
|
Re: New Feature: Collapsing roofs
By: smeagol on Sun, 26 October 2014 12:50
|
|
|
Re: New Feature: Collapsing roofs
By: Shanga on Sun, 26 October 2014 12:54
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Ocular on Sun, 26 October 2014 19:37
|
|
|
Re: New Feature: Collapsing roofs
By: Slax on Sun, 26 October 2014 21:00
|
|
|
Re: New Feature: Collapsing roofs
By: Deleted. on Sun, 26 October 2014 21:33
|
|
|
Re: New Feature: Collapsing roofs
By: Tiger87 on Sun, 26 October 2014 22:30
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Boge on Mon, 27 October 2014 01:26
|
|
|
Re: New Feature: Collapsing roofs
By: smeagol on Mon, 27 October 2014 10:36
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Mon, 27 October 2014 13:04
|
|
|
Re: New Feature: Collapsing roofs
By: Slax on Mon, 27 October 2014 13:31
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Slax on Mon, 27 October 2014 15:42
|
|
|
Re: New Feature: Collapsing roofs
By: Tiger87 on Mon, 27 October 2014 16:40
|
|
|
Re: New Feature: Collapsing roofs
By: yarco on Mon, 27 October 2014 20:26
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Uriens on Tue, 28 October 2014 01:23
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Tue, 28 October 2014 01:27
|
|
|
Re: New Feature: Collapsing roofs
By: Deleted. on Tue, 28 October 2014 01:39
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Tue, 28 October 2014 01:45
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Tue, 28 October 2014 13:16
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: smeagol on Tue, 28 October 2014 14:37
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Wed, 29 October 2014 02:02
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Wed, 29 October 2014 02:04
|
|
|
Re: New Feature: Collapsing roofs
By: Taro_M on Thu, 30 October 2014 15:01
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Sat, 01 November 2014 00:09
|
|
|
Re: New Feature: Collapsing roofs
By: Hawkeye on Sat, 01 November 2014 03:50
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Sat, 01 November 2014 04:12
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Sat, 01 November 2014 18:49
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Tue, 04 November 2014 19:36
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Tue, 04 November 2014 22:32
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
|
|
|
Re: New Feature: Collapsing roofs
By: Flugente on Sun, 27 March 2016 01:08
|
|
|
Re: New Feature: Collapsing roofs
|
Goto Forum:
Current Time: Mon Dec 02 14:34:10 GMT+2 2024
Total time taken to generate the page: 0.01740 seconds
|