Generated Gore Dismemberment Kit

Dismember characters, create broken bones and wound effects.

http://genmindo.com/wp-content/uploads/2017/03/Store_GeneratedGoreDismembermentKit_Screenshot_01-720x405.jpg

[HR][/HR]

http://genmindo.com/wp-content/uploads/2017/03/Store_GeneratedGoreDismembermentKit_Screenshot_02-720x405.jpg

http://genmindo.com/wp-content/uploads/2017/03/Store_GeneratedGoreDismembermentKit_Screenshot_03-720x405.jpg

[HR][/HR]
Tutorial

Creating broken gore bones doesn’t require model editing and steps from 1 to 4.
This is a guide for users that already know how to weight their models, import from and export to UE4. Expanded version of the tutorial (or short video) will be created to cover basic topics like ‘how to export’ or ‘how to set the weights’, if requested.

  • Prepare your skeletal meshes for dismemberment.

    • To do this, the part you want to break needs to have its own unique polygons/vertices where you’d want to break it. UE4 will not break your meshes, only the bones, your meshes must already come “pre-broken”. To be sure it’s correct, in 3dsMax go to sub-object -> element, select the one you’d want to break and move it, if you see stretching then it won’t break off. It needs to look breakable like this:

    • http://genmindo.com/wp-content/uploads/2017/02/3dsMax_BrokenArm.jpg

    • Using Gore Kit, it’s easier and faster to remove vertices that you don’t need, e.g. torso for human-like creature. That way we have 5 body parts and can export it as a whole model to UE4, Gore Kit will do the rest of the work.

  • Modify the bone weights so that the breaking bone (e.g. head bone) fully affects the breakable element of the mesh and nothing more (ie. the neck bone needs to have zero influence on the head section, and the head bone to have zero influence on the neck).

  • After export to UE4 make sure your “body parts character” uses the same Physics Asset of your original character or newly generated. What you’ll really be breaking isn’t really the bones of the character, but the phys bodies attached to those bones instead. This means that for a bone to be breakable, there needs to be a phys body specifically attached to that bone in your Phys Asset (bodies attached only to child bones won’t work).

  • In the DataTable create a new row and choose Blueprint that uses this character model. In the bottom list of body parts, create 5 elements and set bones names for them (Head, UpperArm_L, UpperArm_R, Thigh_L, Thigh_R). For each of these 5 elements set the same mesh (our exported cutted body parts model) or different, if body parts were exported separetely.

  • On event when character takes damage, call the function “TryToDismember” of the GoreComponent instance.

Original 2011 version of the tutorial for UDK

[HR][/HR]Package on the Marketplace](Generated Gore Dismemberment Kit in Blueprints - UE Marketplace)

How tf do i do Melee??? i’m been trying but to no avail…

When projectile hits the character, from the “Event Hit” we call the function “Try To Dismember” with parameters from the event: actor (it must be Character), bone name and hit location.
Since, you probably don’t have “Event Hit” with using melee weapon, when u swing through character, you should artifically call the standard node “Make Hit Result” and fill its parameters (actor, bone, hit location). That’s all that is required to change projectile to melee. Just have to adjust your melee weapon collision to get these 3 basic parameters.

that tutorial looks familiar :stuck_out_tongue:

how do you handle partial breaking in hierarchical parts? i.e. in a setup where you can break an arm at the elbow and the wrist, how does the elbow look when you break the wrist?

Huh, it would be so awkward if I didn’t left a link to the source tutorial :stuck_out_tongue: but can’t believe author have find out it so quickly :smiley:

If all body parts are together, in the data table settings for the upper and lower arms are just used different meshes, like that:

http://genmindo.com/wp-content/uploads/2017/03/Gore_UpperParts-1.jpg

http://genmindo.com/wp-content/uploads/2017/03/Gore_LowerParts-1.jpg

http://genmindo.com/wp-content/uploads/2017/03/GoreMale_Parts-1.jpg

yeah I understand that you switch meshes
I still don’t get how you handle cut parts on a mesh that has non-rigid weighted verts, and a seamless material. for example that last human character, how you’d cut the naked arm at the elbow and the wrist.
as an example: if you cut the arm at the wrist and swap the hand mesh (to chop it off) and also swap the forearm mesh (so the wrist vertices don’t stretch), the vertices on the elbow area would appear to be cut.
for example in this picture by -SP- you can see what would happen if you swap a mesh but keep it attached - so that’s how elbows would look in the scenario that I’m describing,

The UDK version was able to swap the weighting values of just the cut area (called partial swapping). and that’s why I’m asking how your system handles such cases

It’s just spawned when needed, with calculated location and rotation, on the same frame when original body part is being hidden.
For example, when spawning a hand, the whole mesh is spawned too (head, legs and other hand, no torso), but other body parts are hidden with disabled collisions. And physics is enabled only for the hand.

I’m still pretty lost… i have a mesh, and i have a box collision as a child. When the box collision hits the skeletal mesh, i want it to call “Try to Dismember” but when i try to do it like that (OnComponentHit or OnComponentBeginOverlap) nothing gets called… Can you tell me exactly what i need to do? Cause i really wanna start using this, but these events are not working. It works for Linetraces, tho.

Your OnComponentHit/Overlap probably doesn’t return bone name (or also location) for Characters. It’s not Gore Kit, you should remove for now node “Try to Dismember” for the test and use “Print String” for example, to see if you get all 3 required parameters (actor, bone and hit location). That problem with solution might be related to yours. If you will still have problem with this, I’ll play with it a bit later.

I also was successfully using Line Traces for melee, but wasn’t really happy with result. That’s why it’s not included in the video and package.

Does this just use bone break? If so it doesn’t seem very useful. You still have to make chopped up versions of the character mesh.

Yes, it’s management and all other features. Have to quote comment section, really:

Therefore mesh preparations aren’t necessary.

So how do the limbs disappear? Are you scaling the bones to 0 or swapping the entire mesh?

Yes, scale to zero.

Okay, so how do i control the settings of the dismemberment? i change the settings on the component calling “Try to dismember” but nothing happens.

  1. Did you go through “Tutorial Blueprint”? It’s very short, but covers necessary basics. It’s located in the root of “GeneratedGoreKit” folder.
  2. Did you see Data Table settings for example characters? Your character must be in the Data Table, as well.
  3. May I see your test project (or change it)? If so, send a link through email, please.

So, how are you scaling the bones to zero? Are you using the animation blueprint or did you do it another way?

Sorry, I thought you’ve used that term, meaning by it the default Hide Bone by Name, because that’s exactly what it does.

Hello, Gennady, im writing this message to ask you a question about the Generated Gore Dismemberment pack I recently pruchased. When a character is dismembered his neck bone stays floating in the capsule and is not destroyed. Do you know anyway of fixing this.

It should be attached to the bone, though I’m not sure what do you mean, but it’s probably inside the small function “ReattachPreviousBodyParts”.