Page 1 of 1

[ZScript] Destructible geometry material handler

PostPosted: Fri Mar 08, 2019 3:38 pm
by dodopod

This script makes it easier to use GZDoom's new (v3.7) destructible geometry feature. It does this by providing an event handler, which assigns materials to lines, floors, ceilings and 3D floors based on texture (though they can also be assigned manually). Materials, like actors, have Health and DamageFactor properties, allowing level geometry to have strengths and weaknesses to different damage types. The event handler also defines several new events, allowing you to customize a material's behavior when it's damaged or destroyed.

GitLab repo (Includes a tutorial. Better documentation will come soon.)

Re: [ZScript] Destructible geometry material handler

PostPosted: Mon Mar 25, 2019 7:17 pm
by ReformedJoe
Been tinkering with it for a bit now. This is so cool.
I had an idea for a project with destructible environments that I shelved because it would have been a pain in the ass, but this opens up many new possibilities.
Great stuff.