Doom-Style Finisher System: How should I code this?
2 replies, posted
[video=youtube_share;galOoNQ483Q]http://youtu.be/galOoNQ483Q?t=76[/video]
1:16
How do you guys/gals suggest I begin coding this? From what I understand, it's impossible to change the animation .mdl files, so could I somehow bonemerge the target NPC and player onto respective custom entities, each with their respective animations? What would be the most effective way to trigger a finisher?
not impossible to change animations in mdl files, you just have to decompile and recompile.
[url]https://github.com/JetBoom/animationsapi[/url]
In something like [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/EntityTakeDamage]GM/EntityTakeDamage[/url], if you determine there should be a finishing move, don't actually kill the player, trigger the animation, set them to a state where they can't take damage, once the animation is done, kill them. A clientside [img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/GM/CalcView]GM/CalcView[/url] hook + one of those addons where you can see your body would be nice so the 'finishee' can see their foot about to enter their face.
Sorry, you need to Log In to post a reply to this thread.