Can PolyObjects be made to crush corpses in the same way that regular doors do? I can't seem to make it happen.
Even the crushing type of PolyObject doesn't do it (which I don't want to use anyway because I don't want the player to be hurt by doors).
Polyobjects and Crushing Corpses
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Re: Polyobjects and Crushing Corpses
I made a patch for that long ago but the feature got hidden behind an obscure MAPINFO flag.Enjay wrote:Can PolyObjects be made to crush corpses in the same way that regular doors do? I can't seem to make it happen.
Re: Polyobjects and Crushing Corpses
That sounds exactly like what I want... but I can't get it to work.
I take it that I'm just meant to add Grinding_Polyobj to the map definition?
If so, it doesn't seem to do it, at least with how I have my poly's set up. Test example attached with a nice wide door that it's easy to summon bad guys into the path of and kill them.
I take it that I'm just meant to add Grinding_Polyobj to the map definition?
If so, it doesn't seem to do it, at least with how I have my poly's set up. Test example attached with a nice wide door that it's easy to summon bad guys into the path of and kill them.
- Attachments
-
- Crush.pk3
- (2.3 KiB) Downloaded 44 times
Re: Polyobjects and Crushing Corpses
Must have been broken at some point and nobody noticed because, well, it's been hidden behind an obscure MAPINFO setting that nobody ever uses.
- phantombeta
- Posts: 2089
- Joined: Thu May 02, 2013 1:27 am
- Operating System Version (Optional): Windows 10
- Graphics Processor: nVidia with Vulkan support
- Location: Brazil
Re: Polyobjects and Crushing Corpses
Polyobject crushing is handled in FPolyObj::ThrustMobj. That function, however, checks if the actor has the SHOOTABLE flag or is a player. And actors lose the SHOOTABLE flag on death, so that'll never actually trigger for corpses.
Re: Polyobjects and Crushing Corpses
OK, well if it's meant to work but doesn't. I'll raise a bug report so that it doesn't get lost.
[edit] Done viewtopic.php?f=2&t=71101 [/edit]
[edit] Done viewtopic.php?f=2&t=71101 [/edit]