Customization
Last updated
Last updated
To change the Damage Component variables, select the component from the owner's components panel:
The Damage Component includes 3 Categories With multiple customizable variables each:
Health
HP Base | Default Value: 100
This is the real HP of the component that changes when taking damage (As default set SAME as the HP Base Max)
HP Base Max | Default Value: 100
Maximum Base HP of the component
Use Shield? | Default Value: TRUE
Enables/Disables the Shield
HP Shield | Default Value: 100
This is the real Shield HP of the component that changes when taking damage (As default set SAME as the HP Shield Max)
HP Shield Max | Default Value: 100
Maximum Shield HP of the component
Modifiers
Use Modifier? | Default Value: TRUE
Enables/Disables the modifiers function
Modifier Tick Speed | Default Value: 1
Sets How many seconds it takes to deal 1 modifier damage
Modifier Resistance | Type: Array
Sets the modifiers that the owner is resistant to (Takes less Damage)
Takes values from 0 to 1
Modifier Resistance Multiplier | Default Value: 0.5
Sets how much the resistance affects damage (Final Damage = Damage * Resistance)
Modifier Vulnerability | Type: Array
Sets the modifiers that the owner is vulnerable to (Takes more Damage)
Takes values from 1 to infinity
Modifier Vulnerability Multiplier | Default Value: 2
Sets how much the vulnerability affects damage (Final Damage = Damage * vulnerability)
Customization
Name | Type: String
Sets the Damage component name above the HP Bar
Background Color | Type: Linear Color
Sets the color of the HP Bar when it is empty
Hp Color | Type: Linear Color
Sets the color of the base HP Bar
Shield Color | Type: Linear Color
Sets the color of the shield HP Bar
Widget Offset | Type: Transform
Sets the widget offset as a transform (Location, Rotation, Scale)
Seen Cooldown | Default Value: 0,5
Sets how many seconds it takes for the widget to disappear
To customize the X-Ray Widget, open the widget, located at: Content -> Ultimate Damage System -> Widgets -> Widget_X-Ray
The X-Ray widget is composed out of 6 layers, each with different properties and roles:
Layer 01 - Background
This layer is the first layer in the hierarchy
You can attach any background design (Images, text, other widgets, etc.)
Layer 02 - Body
This layer is used for displaying the Body X-Ray that usually is not configured for taking damage.
Layer 03 - Components
This layer is used for displaying the Components X-Ray of the main body that can take damage
Layer 04 - Top
This layer is used for displaying the Top X-Ray that is not configured for taking damage
Additionally, this layer is able to rotate based on the relative rotation of the top and the body
Layer 05 - Top Components
This layer is used for displaying the Top Components X-Ray that can take damage
Additionally, this layer is able to rotate the same as the Top Layer
Layer 06 - Text
This layer is separate from the other layers
Used for displaying additional text information sch as the Name or other info
To have access to the customization panel open the X-Ray Creation Level, go to: Content -> Ultimate Damage System -> Maps -> X-Ray_LVL
Select the BP_X-Ray_Rig from the World outliner, located in the content folder at: Content -> Ultimate Damage System -> Blueprints -> BP_X-Ray_Rig
The X-Ray includes 2 Categories With multiple customizable variables each:
Camera Settings
Camera Distance | Default Value: 1024
Sets the distance of the camera to the object in UE Units
Camera Rotation | Default Value: 0,0,0
Sets the rotation of the camera
Screenshot name | Type: String
Sets the name of the Screenshot in this format: T_X-Ray_[Preset name]_[Screenshot Name]
Resolution | Default Value: 1024
Sets the resolution in pixels in 1:1 format (Ex. 1024x1024)
Mesh Settings
Static Meshes | Type: Static Mesh + Transform Map
Sets the static meshes you want to scan, with relative offset
Skeletal Meshes | Type: Skeletal Mesh + Transform Map
Sets the skeletal meshes you want to scan, with relative offset
Hidden Bone Names | Type: String Array
Sets the bones you want to hide from the skeletal meshes
Preset | Type: Enum Presets
Sets the scan preset (Body material parameters and Post-Processing material parameters)
X-Ray Presets | Type: Data Structure
An array composed of all the presets parameters
Sets individual parameters of every preset