BSDismemberSkinInstance

From GECK
Jump to: navigation, search

BSDismemberSkinInstance is a type of NiSkinInstance that contains data about dismemberment partitions and are required for BodyPartDatas.

A typical example of a BSDismemberSkinInstance.

Specifics

Its fields are:

  • Data: Should always be NiSkinData.
  • Skin Partition: Should always be NiSkinPartition.
  • Num Bones: Total number of bones in the chain, from the root bone of the skeleton to the last bone in the dismemberment partition(s).
  • Bones: Links to each bone as stated above.
  • Num Partitions: Total number of dismemberment partitions.
  • Partitions: Visibility and enable flags for dismemberment partitions, as well as which body part they belong to.
    • Part Flag: PF_EDITOR_VISIBLE determines if the partition is always visible or is unhidden when dismembered (gorecaps have this turned off), PF_START_NET_BONESET seems to be necessary on the first partition in order for dismemberment to behave correctly, although some vanilla NIFs have it on multiple partitions.
    • Body Part: Which dismembered limb the partition belongs to for both dismemberment and Body Parts in BodyPartData. The table below lists all of the ones in Fallout 3/New Vegas.

Body Parts

Part Description
BP_TORSO The torso of the body. Normally can't be destroyed unless you have Bloody Mess.
BP_HEAD The head of the body.
BP_HEAD2 The second head of the body. Brahmin and Cazadores use it, but it appears to either not work independently of BP_HEAD or has wonky physics.
BP_LEFTARM The left arm of the body.
BP_LEFTARM2 The second left arm of the body. Radscorpions, Centaurs, and Cazadores use it for one of their legs.
BP_RIGHTARM The right arm of the body.
BP_RIGHTARM2 The second right arm of the body. Radscorpions, Centaurs, and Cazadores use it for one of their legs.
BP_LEFTLEG The left leg of the body.
BP_LEFTLEG2 The second left leg of the body. Most non-bipeds use this for one of their legs.
BP_LEFTLEG3 The third left leg of the body. Centaurs and most insect creatures use this for one of their legs.
BP_RIGHTLEG The right leg of the body.
BP_RIGHTLEG2 The second right leg of the body. Most non-bipeds use this for one of their legs.
BP_RIGHTLEG3 The third right leg of the body. Centaurs and most insect creatures use this for one of their legs.
BP_BRAIN The brain of the body. Frenzyable creatures such as robots and insects use this.
BP_SECTIONCAP_HEAD The gorecap section of the head that becomes unhidden when dismembered.
BP_SECTIONCAP_HEAD2 The gorecap section of the second head that becomes unhidden when dismembered.
BP_SECTIONCAP_LEFTARM The gorecap section of the left arm that becomes unhidden when dismembered.
BP_SECTIONCAP_LEFTARM2 The gorecap section of the second left arm that becomes unhidden when dismembered.
BP_SECTIONCAP_RIGHTARM The gorecap section of the right arm that becomes unhidden when dismembered.
BP_SECTIONCAP_RIGHTARM2 The gorecap section of the second right arm that becomes unhidden when dismembered.
BP_SECTIONCAP_LEFTLEG The gorecap section of the left leg that becomes unhidden when dismembered.
BP_SECTIONCAP_LEFTLEG2 The gorecap section of the second left leg that becomes unhidden when dismembered.
BP_SECTIONCAP_LEFTLEG3 The gorecap section of the third left leg that becomes unhidden when dismembered.
BP_SECTIONCAP_RIGHTLEG The gorecap section of the right leg that becomes unhidden when dismembered.
BP_SECTIONCAP_RIGHTLEG2 The gorecap section of the second right leg that becomes unhidden when dismembered.
BP_SECTIONCAP_RIGHTLEG3 The gorecap section of the third right leg that becomes unhidden when dismembered.
BP_SECTIONCAP_BRAIN The gorecap section of the brain that becomes unhidden when dismembered.
BP_TORSOCAP_HEAD The gorecap section of the torso that becomes unhidden when the head is dismembered.
BP_TORSOCAP_HEAD2 The gorecap section of the torso that becomes unhidden when the second head is dismembered.
BP_TORSOCAP_LEFTARM The gorecap section of the torso that becomes unhidden when the left arm is dismembered.
BP_TORSOCAP_LEFTARM2 The gorecap section of the torso that becomes unhidden when the second left arm is dismembered.
BP_TORSOCAP_RIGHTARM The gorecap section of the torso that becomes unhidden when the right arm is dismembered.
BP_TORSOCAP_RIGHTARM2 The gorecap section of the torso that becomes unhidden when the second right arm is dismembered.
BP_TORSOCAP_LEFTLEG The gorecap section of the torso that becomes unhidden when the left leg is dismembered.
BP_TORSOCAP_LEFTLEG2 The gorecap section of the torso that becomes unhidden when the second left leg is dismembered.
BP_TORSOCAP_LEFTLEG3 The gorecap section of the torso that becomes unhidden when the third left leg is dismembered.
BP_TORSOCAP_RIGHTLEG The gorecap section of the torso that becomes unhidden when the right leg is dismembered.
BP_TORSOCAP_RIGHTLEG2 The gorecap section of the torso that becomes unhidden when the second right leg is dismembered.
BP_TORSOCAP_RIGHTLEG3 The gorecap section of the torso that becomes unhidden when the third right leg is dismembered.
BP_TORSOCAP_BRAIN The gorecap section of the torso that becomes unhidden when the brain is dismembered.
BP_TORSOSECTION_HEAD The section of the head that remains connected to the torso when dismembered.
BP_TORSOSECTION_HEAD2 The section of the second head that remains connected to the torso when dismembered.
BP_TORSOSECTION_LEFTARM The section of the left arm that remains connected to the torso when dismembered.
BP_TORSOSECTION_LEFTARM2 The section of the second left arm that remains connected to the torso when dismembered.
BP_TORSOSECTION_RIGHTARM The section of the right arm that remains connected to the torso when dismembered.
BP_TORSOSECTION_RIGHTARM2 The section of the second right arm that remains connected to the torso when dismembered.
BP_TORSOSECTION_LEFTLEG The section of the left leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_LEFTLEG2 The section of the second left leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_LEFTLEG3 The section of the third left leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_RIGHTLEG The section of the right leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_RIGHTLEG2 The section of the second right leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_RIGHTLEG3 The section of the third right leg that remains connected to the torso when dismembered.
BP_TORSOSECTION_BRAIN The section of the brain that remains connected to the torso when dismembered.

Notes

  • Polygons cannot be assigned to multiple dismemberment partitions, as it crashes the game if a model with them is loaded. This may only be possible with 3ds Max plugins.
  • Dismemberable partitions on other dismemberable partitions besides the torso don't dismember correctly and may cause crashes.
  • There may be a limit to the amount of dismemberment partitions on a single shape, but it's around 20 and shouldn't be reached unless you use all of them at once.
  • The dismemberment system was created by Hugh Riley.

See Also