|
EDIT for clarification: I mean when a dead corpse gets crushed by a ceiling and turns into the generic gib pool. I'm looking to hook into that particular event. |
|
|
Can't you do that by giving your actors a 'crush' state?
There are more serious implications here if some global event was fired. |
|
|
Crush states would mean Actor replacing and it won't work with modded monsters. I just want to spawn additional special FX when monsters' corpses get crushed. |
|
|
Nash, pretty much every total-improvement I've seen replaces every monster in the game with a derived monster. It's how Metroid Dreadnought did the freezing enemies. For the Zombie Scientists that start dead and get up in Metroid Doom, I basically modified Scilliano's code, which I had to do anyway because I toned down the gore to keep Nintendo from getting squeamish about it if they ever saw it.
Don't be afraid to use the replace command. While an actor-crushed state isn't a huge change, he's right that there's a good way to do it. |
|
|
That's not the point. The idea is to make something modular, like a plugin. My Duke3D shadow mod [ https://forum.zdoom.org/viewtopic.php?f=37&t=54992&hilit=duke3d ]wouldn't have worked so well if I had to provide actor replacements for every single actor that needs to be shadowed! |
|