It is currently Fri Mar 29, 2024 5:48 am
Riomaki wrote:I'd like to have a npc_zombie_torso (or fast zombie torso) that surprises the player by coming to life and attacking them. The problem is, as far as I can tell, neither torso has animations for sitting still - all the idles have noise in them.
My first thought for an alternative was to have a prop version of the torso and then swap to the NPC version when the player wasn't looking - but is there a better way to do this with just the npc_zombie_torso itself? Maybe some wake state or flag I'm not thinking of? Maybe some built-in choreo scene?
Riomaki wrote:On a prop_ragdoll, you can send the input "StartRagdollBoogie." It causes the joints of the model to randomly jitter for a hardwired amount of time, about 4-5 seconds. It's most notable use in the game itself is for the corpse that gets electrocuted against the fence in Ravenholm.
It's generic enough that you can use it for things other than humans. I used it with a hanging Antlion Guard corpse in a recent map, and now I'm using it on one of the charred corpse models.
If you couple this with a moaning or screaming sound effect, it looks real enough to pass as death convulsions. I haven't seen this particular trick used very often, though.
Users browsing this forum: Bing [Bot]