"default" block for VOXELDEF (and MODELDEF)

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

Moderator: GZDoom Developers

User avatar
Alfred Don
Posts: 45
Joined: Mon Aug 01, 2022 11:52 am
Contact:

"default" block for VOXELDEF (and MODELDEF)

Post by Alfred Don »

I would love to see some kind of "default block" for both VOXELDEF and MODELDEF, so instead of defining every single voxel in your mod with the same properties, you could just go and say

Code: Select all

default {
  UseActorPitch
  UseActorRoll
}
This would cut down on code size, and also help in a situation where your voxels are just named after sprites and do not have a voxeldef.
(especially when we're talking about flags like UseActorPitch and UseActorRoll which should really be on by default)

An alternative, would to have a GAMEINFO/MAPINFO option to just enable these anyway since there's no reason other than backwards compatibility with a couple mods to have these flags OFF anyway.

Return to “Feature Suggestions [GZDoom]”