T17.Slate
The Escapists 2 - T17.Slate system documentation
Game-specific ActionClip subclasses extending the Slate cutscene system for The Escapists 2's prison gameplay.
T17.Slate (15 clips)
T17 Camera
-
CameraFloorAndClipping (
ActorActionTrack) — Sets the camera's floor index and near-clipping plane offset. Calculates the Z-position offset needed to clip the camera's near plane to a specified floor, usingFloorManagerdata. Adds aCutsceneCameraTrackableObjectat runtime. -
SetCameraView (
ActorActionTrack) — Sets the camera view mode on the trackable camera object viaCameraViewenum (e.g. orthographic/perspective).
T17 Characters
-
CharacterSetAppearance (
ActorActionTrack) — Hijacks an in-game character viaCS_HijackIngameCharacterand applies a fullCustomisationpreset (body type, skin, hair, hat, face accessories, outfit). Restores original appearance on clip exit. -
CharacterSetNaked (
ActorActionTrack) — Toggles a character's naked state viaCS_HijackIngameCharacter.SetCharacterNaked(). -
SetCharacterLayering (
ActorActionTrack) — Enables/disables the character's layer animator system viaCS_HijackIngameCharacter.EnableLayerAnimator(). -
SetHoldingItem (
ActorActionTrack) — Sets the item visually held by a character viaCharacterAnimator.SetMaterialHandHeld(). ReferencesItemDatafor the held material and type.
T17 Environment Settings (DirectorActionClips)
-
SetLightTime — Overrides the global lighting time via
LightingManager.SetTimeOverride(hour, min). UsesUIAnimatedEffectController.Effectsfor transitional modes. -
SetWeatherEnabled — Toggles the global weather system via
WeatherEffectManager.Enable()/Disable().
T17 FloorPosition
- SetVisibleFloor (
ActorActionTrack) — Sets the floor index on aCutsceneFlooredMonobehaviour, which automatically snaps the actor's Z-position to the correct floor level inLateUpdate.
T17 Camera Effects
- TriggerFade — Plays a fullscreen fade effect via
HUDMenuFlow.Instance.PlayGlobalEffect(). Configurable fade mode (e.g. fade-to-transparent) and duration.
Wwise Audio (DirectorActionClip on DirectorAudioTrack)
-
SetWwiseState — Sets a Wwise State Group to a specific state via
AudioController.SetState(). Can opt to run even during skip. -
SetWwiseSwitch — Sets a Wwise Switch Group on the in-game music/ambience object. Can opt to run even during skip.
-
StopRoutineMusic — Stops the current routine music via
AudioController.StopRoutineMusic(). -
TriggerMusicAmbienceAudio — Sends a Wwise audio event to the music/ambience bus. Configurable sound area. Can opt to run during skip.
Wwise Audio (ActionClip on ActorAudioTrack)
- TriggerAudioEvent — Sends a Wwise audio event targeted at the actor's game object.
T17.Slate.ActionClips (2 clips)
-
CharacterSpeak (
ActorActionTrack) — Shows a speech bubble on an actor for the clip's duration. UsesCutsceneSpeechBubbleHandlerwith presets (Guard, Inmate, Medic, Dog, etc.) andSpeechTone. Text is localized viaLocalization.Get(). -
HoldDoorOpen (
ActorActionTrack) — Forces aDoorcomponent on the actor to stay open for the clip's duration. On enter callsCutscene_SetDoorOpen(true), on exit callsCutscene_SetDoorOpen(false). Info string is "Hodor".
T17.UI.Carousel (2 files)
-
IndexSelectedHandler — Delegate:
void IndexSelectedHandler(int index, SelectionDirections directionTravelledIn) -
SelectionDirections — Enum:
Unassigned = -1,Previous,Next