|
I've been trying to make a good death animation for the enemies in my place. The only problem is that once they're killed, all their body parts fall all over. When the enemies are in pieces on the ground, they can't play their death animation.
Right now, I just teleport a new enemy loaded with the dying animation to the place where the other one died, but this usually causes a lot of glitches.
So, I think there should be a property of humanoid that decides whether or not it will fall apart on death. (and when it doesn't fall apart, it should stay standing and all the welds should not be destroyed)
My place: https://www.roblox.com/games/391777883/Shadow-Warrior
Please make this change!
|
|
iSoToxicJoin Date: 2011-04-27 Post Count: 11620 |
Phantom Forces doesn't suffer that problem
Therefore you actually can change it. |
|
|
Phantom Forces is well beyond what I am able to script. Besides, that is not an animation at all, it just makes joints on the player's dead body. The motors(objects that are required for actual animations) are removed from humanoids on death, making it impossible for that humanoid to play an animation. |
|
pullman45Join Date: 2012-07-09 Post Count: 2891 |
You can actually "kill" them without actually killing the Humanoid; just make it seem like the player died.
And it's not complicated either - disable the health GUI and replace it with your own (doing that you might want to remake the whole CoreGui). |
|
pullman45Join Date: 2012-07-09 Post Count: 2891 |
What you want is exactly what I want. |
|
|
This should be in the scripters subforum since it's scriptable.
Have a Sufganiyot! r+://573735839 |
|
|
@pullman45
I've tried, but it was too laggy (regular health gui is coded into the ROBLOX game engine, so it runs faster(I think)). This gui would be handled from a script and has to update the health every single time a bullet passes through the humanoid. It has to be fast enough to update 950 times a minute and not cause lag(even with all the other things happening in the game).
Plus, it is a HUGE inconvenience for something that could probably easily be released in a new update. |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
Isn't there a rag doll option? |
|
DonolanJoin Date: 2016-04-15 Post Count: 956 |
I agree that this should be an option but this is still scriptable.
|
|
|
I do not want it to be a ragdoll. I want it to play an actual animation. For example, I want an enemy to grab his ####### ###### and then fall over when he is dealt a shotgun blast to the face. It needs to be scriptable AND fast AND reliable(reliable = not glitchy) though. I am pretty skilled with making enemies, animations, ect. But this has proven itself to be an incredible challenge to script. The problem is not that it isn't scriptable, it's that it is something that requires speed and reliability that, as far as I know, can't be achieved from a script. |
|
|
I do not want it to be a ragdoll. I want it to play an actual animation. For example, I want an enemy to grab his neck, cough, and then fall over when he is dealt a shotgun blast to the face.
It needs to be scriptable AND fast AND reliable(reliable = not glitchy) though. I am pretty skilled with making enemies, animations, ect. But this has proven itself to be an incredible challenge to script.
The problem is not that it isn't scriptable, it's that it is something that requires speed and reliability that, as far as I know, can't be achieved from a script. |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
A "don't fall apart" script? Can't you just delete certain parts of ROBLOX's code for deaths, and replace it with your own?
Sorry, I'm trying to help, yet I don't really script myself. |
|
|
@Henrypika
Thanks for trying to help, but I do not have control over ROBLOX's code for deaths. It's built into the game engine(I can't edit the game engine). |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
Welp, up to Unity you go then.
I'll be waiting for your game. ;) |
|
|
Unity is a little advanced for me... ROBLOX provides you with many customized functions and objects to make it easier to program, so it is easier than Unity. |
|
|
there is a function for this, let me find it
attempt to call girlfriend (a nil value) | (͠≖ ͜ʖ͠≖)👌 | nothin' like a good argument ¯\_(ツ)_/¯ |
|
|
I don't think there is... |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
HalfPinky, did you find it yet?
Also, does that count as data mining? |
|
|
You can change it, you just need to script it, there is one called Ragdoll death(very hilarious XD). Also, games like DeathRun have their own death options in the shop so you can choose how you die(like ghost or stone). So this idea is pretty much not of much use due to it actually already being in games and on roblox.
Gotta Go Gaming! |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
OP wants to put their own death animation script, but can't do so because their bodies fall apart. |
|
|
As I've stated before, I do not want it to be a ragdoll. I want it to play an actual animation. For example, I want an enemy to grab his neck, cough, and then fall over when he is dealt a shotgun blast to the face. |
|
|
The motors(objects that are required for actual animations) are removed from humanoids on death, making it impossible for that humanoid to play an animation. |
|
HenrypikaJoin Date: 2013-12-22 Post Count: 6727 |
Said it for you, but looks as though I didn't hafta. |
|
ExtulsJoin Date: 2009-01-02 Post Count: 5557 |
Though it is scriptable, I'm gonna support this. ROBLOX changes a lot of things that have been around for a long time as their game has changed to support a wider variety of games. I feel falling apart on death is one of those obscure things that shouldn't be forced these days, and shouldn't have been since the introduction of animations.
Again, support. |
|
ExtulsJoin Date: 2009-01-02 Post Count: 5557 |
Oh, to be specific about my previous post, it's scriptable by using your own health system, but my point was I don't think you should have to do that to achieve this. |
|