[ZScript] Destructible geometry material handler

Post your example zscripts/ACS scripts/etc here.

[ZScript] Destructible geometry material handler

Postby dodopod » Fri Mar 08, 2019 3:38 pm



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.)
Downloads:
dodopod
 
Joined: 04 Oct 2017

Re: [ZScript] Destructible geometry material handler

Postby ReformedJoe » Mon Mar 25, 2019 7:17 pm

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.
User avatar
ReformedJoe
 
Joined: 21 May 2018


Return to Script Library

Who is online

Users browsing this forum: Trendiction.de [Bot] and 0 guests