Skip to content

ScreenLookAction ​

Inherits: EventAction < Resource

Changes how the screen looks: a flash, a red vignette, a blurred grey picture, a tint for a flashback, a push of the field of view. A look has a NAME: set it, and clear it by that name with another action (or give it a time to hold and it goes by itself). An event look is laid over the looks of effects and zones. The player's Screen effects setting (off, reduced, full) decides how much shows. See docs: World > Camera effects.

Properties ​

OperationoperationOperation.SET
Stringlook_name"event"
floathold_seconds0.0
floatfade_seconds0.5
ColortintColor(1.0, 1.0, 1.0, 0.0)
floatvignette0.0
Colorvignette_colorColor.BLACK
floatblur0.0
floatdesaturate0.0
floataberration0.0
floatgrain0.0
floatfov_kick0.0

Methods ​

Stringget_display_name()
Stringget_function_description()

Enumerations ​

enum Operation ​

  • SET = 0
  • CLEAR = 1

Property descriptions ​

Operation operation = Operation.SET ​

Show a look, or take the look of that name off the screen

String look_name = "event" ​

The name of the look: the same name again replaces it, Clear takes it off

float hold_seconds = 0.0 ​

Seconds to hold the look before it goes (0 = until another action clears it)

float fade_seconds = 0.5 ​

Seconds the look takes to come, or to go when it is cleared

Look

Color tint = Color(1.0, 1.0, 1.0, 0.0) ​

A colour laid over the picture. Its alpha is how strong it is (0 = no tint)

float vignette = 0.0 ​

How dark the corners are

Color vignette_color = Color.BLACK ​

The colour of the dark corners

float blur = 0.0 ​

Blur of the whole picture

float desaturate = 0.0 ​

0 = the colours as they are, 1 = black and white

float aberration = 0.0 ​

Colour fringes towards the edges

float grain = 0.0 ​

Film grain

float fov_kick = 0.0 ​

Degrees added to the field of view (negative zooms in)

Method descriptions ​

String get_display_name() ​

Return the display name of this Action

String get_function_description() ​

Return a description of this action with parameter placeholders