quake

From Arx Libertatis Wiki
Jump to navigation Jump to search

The quake script command is used to shake the camera to simulate an earthquake. The camera position, yaw, pitch and roll will be raw will be randomly offset with and oscillating magnitude whose peaks start with the given intensity but linearly decline to 0 until the end of the quake. If a quake is already active, the intensity and duration will be added to the existing quake and the period will be the average of the old and new periods. This is a global effect and does not depend on the used camera.

Usage

quake <intensity*> <duration*> <frequency*>

Context: Ignored

Parameters:

ParameterTypeDescription
intensity number or variable Initial quake intensity
duration number or variable Quake duration in milliseconds
frequency number or variable Number of oscillations per 200 * π ms