by Guest » Mon Jan 20, 2020 5:30 pm
Currently, there is no straight-forward means of identifying if an actor has been altered by DeHackEd. This is largely due to the various subtleties that have to be accounted for:
*The actor's Properties and Flags can be altered
*The starting frames of the actor's States can be changed (e.g. the Spawn state may be altered to start on a different frame compared to the 'vanilla' actor)
*Each frame the actor calls is subject to being altered in a number of ways (duration, action pointer, and perhaps the trickiest: the next frame/state)
There are maybe even other conditions I'm forgetting. But, in short, DeHackEd can do quite a lot of things to drastically alter an actor with even a small tweak.
My use case is to be able to selectively replace or ignore an actor via EventHandler, by checking if DeHackEd is modifying said actor. I could determine if an actor is "safe" to replace, and then could safely autoload a file that replaces vanilla actors (projects such as Smooth Doom may come to mind), without worry about DeHackEd replacements getting messed up.
Currently, there is no straight-forward means of identifying if an actor has been altered by DeHackEd. This is largely due to the various subtleties that have to be accounted for:
*The actor's Properties and Flags can be altered
*The starting frames of the actor's States can be changed (e.g. the Spawn state may be altered to start on a different frame compared to the 'vanilla' actor)
*Each frame the actor calls is subject to being altered in a number of ways (duration, action pointer, and perhaps the trickiest: the next frame/state)
There are maybe even other conditions I'm forgetting. But, in short, DeHackEd can do quite a lot of things to drastically alter an actor with even a small tweak.
My use case is to be able to selectively replace or ignore an actor via EventHandler, by checking if DeHackEd is modifying said actor. I could determine if an actor is "safe" to replace, and then could safely autoload a file that replaces vanilla actors (projects such as Smooth Doom may come to mind), without worry about DeHackEd replacements getting messed up.