[media]https://www.youtube.com/watch?v=VlbIyTgRLxU[/media]
After 6 years since [URL="https://facepunch.com/showthread.php?t=943751"]the original thread[/URL], hopefully it's been worth the wait.
[URL="http://steamcommunity.com/sharedfiles/filedetails/?id=701595427"]This addon[/URL] simply adds death animations to Garry's Mod, meaning that when you die, rather than just becoming a ragdoll, a death-animation (similar to the ones in TF2) plays before you die. It's a simple addon but it was a bit painful to code due to a couple of ragdoll bone positioning problems, but now it should work fairly well. The code for the addon is [URL="https://github.com/MysteryPancake/death-animation"]on GitHub here[/URL] if you want to check it out. Thanks!
Well if it does work it could be a cool thing to add on a server. I' ll take a look at it quick ! Thanks for sharing your work
[editline]11th June 2016[/editline]
By the way : If some how it could help you out in fixing bug or anything, i' ve download the "nextbot zombies" addon on the workshop and it uses this kind of system. Could be helpfull considering that your doing the exact same thing but on players... :)
Hope it help :
[url]http://steamcommunity.com/sharedfiles/filedetails/?id=380225333[/url]
-snip just looked at the code, stupid question-
A video would be nice.
Yeah, I'm making a video at the moment, but it's taking forever
Finished the video-see if you can decipher it
Hey! That’s pretty good.
UPDATE! I added an options menu to the Q menu, where you can set the animation, and even choose random ones! It's in Options/Death/Death Animations
[editline]13th June 2016[/editline]
[t]http://images.akamai.steamusercontent.com/ugc/258209380336598317/3914A0A5190B52885B6B9C8F388FB88593803787/[/t]
[media]https://youtu.be/65p6qXX9BCQ[/media]
Video me me laugh.
Addon made me cry.
Good work.
I just test it and god its cool ! Well done !!
Can we also get a video that is unedited?
[QUOTE=danker pepers;50511041]Can we also get a video that is unedited?[/QUOTE]
Yep, I'll make one soon
I really like the concept of this, good for RP too as then you don't just flop and ragdoll to the floor like it's nothing.
I tried this out on my server, I saw the animations perfectly but some players see swimming animations rather than what they should be seeing, is this an error on their behalf or?
This my good sir is amazing, Nice work
[QUOTE=dandude7;50518794]I tried this out on my server, I saw the animations perfectly but some players see swimming animations rather than what they should be seeing, is this an error on their behalf or?[/QUOTE]
I'm not really sure why that'd happen... but players can change what animations they want to play using the Options menu, so I guess they might've changed them accidentally or something?
I haven't actually used the addon, but I have a quick recommendation if it hasn't already been tackled; right now it looks like there is a single list all hitbox deaths load from when using the "random from list" feature, but it would add a bit of variety and consistency if each hit location had its own table of death animations.
With this, rather than 4 random death animations shared between all hit locations, if using the "random" option, you could have a unique list of animations for each specific hit location. Similarly, you could also pass through the weapon used to kill the player and have unique lists that can be populated specifically for all types of potential instigators of damage. Combine a unique random list for each limb and a unique list per damage infliction, and you end up with a good deal of variety, and even if we don't necessarily have a large variety of animations to access for the stock valve biped, it would at least allow the addon to have usefulness to those who are interested in custom animations without forcing anyone to make use of those features.
Aditionally, other addons or gamemodes that implement custom weapons may use this addon as a framework to handle death animations for them, thus delegating an otherwise challenging issue to a system that is already functional. This would have numerous benefits for any addons that implement sweps that require custom death animations for full effect, such as knife backstabs or sci-fi gun goo-ification.
Reminds me of HL1
Wow, this look's really cool. Good Job :D
[QUOTE=Loriborn;50531352]I haven't actually used the addon, but I have a quick recommendation if it hasn't already been tackled; right now it looks like there is a single list all hitbox deaths load from when using the "random from list" feature, but it would add a bit of variety and consistency if each hit location had its own table of death animations.
With this, rather than 4 random death animations shared between all hit locations, if using the "random" option, you could have a unique list of animations for each specific hit location. Similarly, you could also pass through the weapon used to kill the player and have unique lists that can be populated specifically for all types of potential instigators of damage. Combine a unique random list for each limb and a unique list per damage infliction, and you end up with a good deal of variety, and even if we don't necessarily have a large variety of animations to access for the stock valve biped, it would at least allow the addon to have usefulness to those who are interested in custom animations without forcing anyone to make use of those features.
Aditionally, other addons or gamemodes that implement custom weapons may use this addon as a framework to handle death animations for them, thus delegating an otherwise challenging issue to a system that is already functional. This would have numerous benefits for any addons that implement sweps that require custom death animations for full effect, such as knife backstabs or sci-fi gun goo-ification.[/QUOTE]
Good idea, I was thinking about that, but I thought it'd make the menu a bit cluttered. I'll work on the menu some more after I change some more animation stuff (I want the ragdoll to be the thing getting animated rather than it being spawned at the end since this would make it more compatible with other addons)
Will there be NPC death animations too?
He is banned bro
this thread is 2 years old...
Oh.... thnx for reminding me.
Sorry, you need to Log In to post a reply to this thread.