Throw Weapon¶
Throwing weapons are widely used in medium-ranged combat. This Throw Weapon community component (Component) allows you to configure the launcher for your throwing weapon.
Property | Description |
---|---|
Bone point | Determines which hand the throwing weapon's handle is held in |
Position | The throwing weapon offset from the bone point's position |
Rotation | The throwing weapon offset from the bone point's rotation |
Weapon | The name of the explosive, i.e. the object that is being thrown out. Same as the value of the Spawn name field configured for the throwing boom. |
VFX | The name of the explosion effect. Same as the value of the Spawn name field configured for the Behavior_SpawnableObjectMarker component attached to the throwing boom. Note: The VFX component on the explosion effect needs to be disabled. |
Throw force | The force applied to a thrown explosive. Between 1 and 10000. Default: 300. |
Boom radius | The area within which the explosion has its effect. Ranges from 1 to 1000. Default: 10. |
Add attack | Determines the amount of attack value that a throwing weapon adds. Ranges from 1 to 1000000. Default: 100. |
Boom delay | How soon an explosion will take place after being touched, measured in milliseconds. Ranges from 0 to 10000. Default: 400. |
VFX play time | How long the explosion effect will last, measured in milliseconds. Ranges from 100 to 10000. Default: 300. |
Note: A Throw Weapon component can only be added to one tool.
Related components¶
This Component must be used with:
-
Throw Boom, which sets the properties of a throwing boom.
-
Rigidbody, which allows objects to be affected by physics and behave more realistically.
-
Effect, which assures an effect to be added to the throwing weapon.