game_object:BoulderGenerator

From Battlepedia
Jump to navigationJump to search


Format

Offset Type Variable Description
0x10 AssetID (Placeable/Marker) object
0x14 Vector3 offset
0x20 float offsetRand
0x24 Vector3 initvel
0x30 float velAngleRand
0x34 float velMagRand
0x38 Vector3 initaxis
0x44 float angvel

Events

Generate Boulder

Launch Boulder At Widget

Launches a boulder towards a widget.

Parameters

Widget must be one of the following types:

# Name Description
1 Time This is (on average) how much time in seconds it should take for the boulder to reach the widget. Shorter times = faster/straighter shots, longer times = slower/higher shots.
2 Range This adds randomness to the boulder generator's aim. A random offset between -Range and +Range is applied to the boulder's target position. For example if Range is 5 and the widget is at (50,100,50), the boulder will be launched at a random position between (45,95,45) and (55,105,55).

Launch Boulder At Point

Launches a boulder towards a 3D point.

Parameters

# Name Description
1 X X coordinate of the point.
2 Y Y coordinate of the point.
3 Z Z coordinate of the point.
4 Time This is (on average) how much time in seconds it should take for the boulder to reach the point. Shorter times = faster/straighter shots, longer times = slower/higher shots.

Launch Boulder At Player

Launches a boulder towards the player.

Parameters

# Name Description
1 Time This is (on average) how much time in seconds it should take for the boulder to reach the player. Shorter times = faster/straighter shots, longer times = slower/higher shots.
2 Predict Factor This is how "smart" the boulder generator is, meaning how much it will try to launch the boulder in the direction the player is moving. A value of 0.0 = disabled (doesn't take the player's movement into account). A value of 1.0 = perfect aim (follows player's movement 1:1).
3 Range This adds randomness to the boulder generator's aim. A random offset between -Range and +Range is applied to the boulder's target position. For example if Range is 5 and the player is at (50,100,50), the boulder will be launched at a random position between (45,95,45) and (55,105,55).

Reset