Add an analogue of damageterraineffect in terrain definition

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

Add an analogue of damageterraineffect in terrain definition

Postby Kzer-Za » Sun Jan 09, 2022 1:53 am

It seems that in UDMF map format you can specify damageterraineffect boolean property for a sector, which means that it should spawn a terrain splash when damage is inflicted.

If it's not too hard to implement, it would be nice if an analogue of this variable was also available in the terrain definition.

Rationale:
Currently a terrain splash is not spawned when damage is inflicted by terrain. Which means that if you want such splashes, you have to modify each sector manually. (Or deal damage not via terrain definition but via sector special, which also means assigning a sector special to each sector manually.)

It would be nice if the engine spawned a terrain splash upon terrain dealing damage, if damageterraineffect OR that new terrain variable was set to true.

If a terrain definition had such a variable, it would save a lot of manual editing of maps; and if it by default was set to false, it would not break any existing maps.
Kzer-Za
 
Joined: 20 Aug 2017
Operating System: Other Linux 64-bit
Graphics Processor: nVidia (Modern GZDoom)

Return to Feature Suggestions

Who is online

Users browsing this forum: No registered users and 0 guests