The time it takes for the force to fade out after the action has deactivated in seconds. Due to the way this value is stored, the time will be rounded to the nearest 1/30s.
Default: 0
A multiplier for force.
This is multiplicative with both the base force and the "random" multiplier.
Default: 1
See also:
The maximum "random" multiplier for force. This looks very similar to the same set of fields in the WindForce action, but this one doesn't seem to actually be random. It seems more like it will always just be the average of this and forceRandomMultiplierMin.
This is multiplicative with both the base force and the other multiplier.
Default: 1
See also:
The minimum "random" multiplier for force. This looks very similar to the same set of fields in the WindForce action, but this one doesn't seem to actually be random. It seems more like it will always just be the average of this and forceRandomMultiplierMax.
This is multiplicative with both the base force and the other multiplier.
Default: 1
See also:
The shape of the volume.
Each shape has different fields controlling the size of the volume, and they also change where it scales from and what point things are being pulled towards:
Shape | Fields | Origin | Center of mass |
---|---|---|---|
Boundless | n/a | n/a | Node position |
Sphere | sphereRadius | Center of the sphere | Center of the sphere |
Box | boxSize | Center of the box | Center of the box |
Cylinder | cylinderHeight, cylinderRadius | Slightly +Z of the center of the cylinder? | Slightly +Z of the origin? |
SquarePrism | squarePrismHeight, squarePrismApothem | Center of the base of the prism | Center of the prism |
Default: ForceVolumeShape.Sphere
Readonly
typeThe numeric ID for the type of action this represents.
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown float.
Default: 1
Unknown integer.
Default: 0
Unknown integer.
Default: 0
Unknown float.
Default: 1
Unknown integer.
Default: 3
Unknown float.
Default: 1
Unknown float.
Default: 1
Unknown integer.
Default: 0
An object containing various functions related to conversion between games and different formats, or undefined if the action does not have any of these functions.
An object containing most of the information that is stored in the library about the action type.
Yields all unique color values in the action.
Creates a minified version of this action.
Some actions can be minified to make the output smaller. This is done by creating a simpler action that is functionally equivalent to this action.
Actions that can not be minified will not be changed.
Modifies all color properties using a recolor function. For some easy pre-made recolor functions, see the Recolor namespace.
A function used to remap color values.
Optional
context: BasicConfigModifies a single color property of the action using a recolor function. For some easy pre-made recolor functions, see the Recolor namespace.
The name of the property.
The function used to recolor the property.
Optional
context: BasicConfigScale the size of the action by a factor. This only does something when used with actions that have scaling properties.
The factor to scale by.
Scale the rate of time for the action.
This method's main purpose is to serve as a fallback for changing the rate of time for Dark Souls 3 effects, which doesn't support the rateOfTime property. The rate of time is automatically scaled when writing effects for DS3, you do not need to do this yourself. As such, this method is only useful if you want to scale the rate of time for individual parts of an effect, or if you need the extra options available for this method.
The factor to scale the rate of time by. Setting this to 2 will make the action play twice as fast. Setting it to 0.5 will make it play half as fast.
Optional
options: { scaleTracerDuration?: boolean } = {}Extra options for changing how the scaling is applied to different properties.
Optional
options: FXRSerializeOptions
Action 10301 - GravityForce
Slot: Appearance
Creates a radial force in a volume. This pulls things towards itself, or pushes away if the force is negative.
The name of this action is based on Elden Ring's RTTI, where it's called "ForceFieldGravityArea".