public class Cinematic
extends Object
Modifier and Type | Method and Description |
---|---|
void |
trCameraCut(vector pos,
vector dir,
vector up,
vector right)
Puts the camera in the specified location
|
void |
trCameraShake(float duration,
float strength)
Makes the camera shake.
|
void |
trCamTrackLoad(string filename)
Loads a camera track.
|
void |
trCamTrackPlay(float duration,
int eventID)
Plays the current camera track.
|
bool |
trCinematicAbort()
Returns the abort cinematic status.
|
void |
trCinematicDoAbort()
Aborts the cinematic.
|
void |
trForceNonCinematicModels()
Forces models to be in non-cinematic mode.
|
void |
trLetterBox(bool on)
Turns letter box mode on or off.
|
void |
trOverlayText(string message,
float duration,
int x,
int y,
int width)
Puts up a big movie-credits style text overlay, optionally in a strange location.
|
void |
trOverlayTextColour(float r,
float g,
float b)
Sets the overlay text colour.
|
void |
trWaypointAddPoint(vector a)
Adds the waypoint into the trigger selection system.
|
void |
trWaypointAddUnit(string unitScenarioName)
Adds the unit's position as a waypoint in the trigger selection system.
|
void |
trWaypointClear()
Clears the waypoints in the trigger selection system
|
public void trCameraCut(vector pos, vector dir, vector up, vector right)
public void trCameraShake(float duration, float strength)
public void trCamTrackLoad(string filename)
public void trCamTrackPlay(float duration, int eventID)
public bool trCinematicAbort()
public void trCinematicDoAbort()
public void trForceNonCinematicModels()
public void trLetterBox(bool on)
public void trOverlayText(string message, float duration, int x, int y, int width)
public void trOverlayTextColour(float r, float g, float b)
public void trWaypointAddPoint(vector a)
public void trWaypointAddUnit(string unitScenarioName)
public void trWaypointClear()