Trackmania ManiaScript Reference 2024.9.17.1117
A ManiaScript Reference of the new Trackmania.
Loading...
Searching...
No Matches
CUIConfig Class Reference

This object handles the interface. More...

#include <doc.h>

Inheritance diagram for CUIConfig:
[legend]

Public Types

enum  EUISequence {
  None , Playing , Intro , Outro ,
  Podium , CustomMTClip , EndRound , PlayersPresentation ,
  UIInteraction , RollingBackgroundIntro , CustomMTClip_WithUIInteraction , Finish
}
 
enum  EUIStatus {
  None , Normal , Warning , Error ,
  Official
}
 
enum  EVisibility {
  None , Normal , Manual , ForcedHidden ,
  ForcedVisible
}
 
enum  ELabelsVisibility {
  None , Never , Always , WhenInFrustum ,
  WhenVisible , WhenInMiddleOfScreen
}
 
enum  EAvatarVariant { Default , Sad , Happy }
 
enum  EUISound {
  Default , Silence , StartMatch , EndMatch ,
  StartRound , EndRound , PhaseChange , TieBreakPoint ,
  TiePoint , VictoryPoint , Capture , TimeOut ,
  Notice , Warning , PlayerEliminated , PlayerHit ,
  Checkpoint , Finish , Record , ScoreProgress ,
  RankChange , Bonus , FirstHit , Combo ,
  PlayersRemaining , Custom1 , Custom2 , Custom3 ,
  Custom4
}
 
enum  ENoticeLevel {
  Default , PlayerInfo , PlayerWarning , MapInfo ,
  MapWarning , MatchInfo , MatchWarning
}
 
enum  EMessageDisplay { Chat , Small , Status , Big }
 
enum  EObserverMode { Default , Forced , Forbidden , Manual }
 
enum  EHudVisibility { Nothing , Everything , MarkersOnly , Default }
 
enum  ECutSceneStyle { None , TM , SM }
 

Public Member Functions

Void Spectator_SetAutoTarget_Clear ()
 
Void Spectator_SetAutoTarget_All ()
 
Void Spectator_SetAutoTarget_User (CUser User)
 
Void Spectator_SetForcedTarget_Clear ()
 
Void Spectator_SetForcedTarget_AllPlayers ()
 
Void Spectator_SetForcedTarget_AllMap ()
 
Void Spectator_SetForcedTarget_Entity (CEntity Entity)
 
Void Spectator_SetForcedTarget_Landmark (CMapLandmark Landmark)
 
Void Spectator_SetForcedTarget_Ghost (Ident GhostInstanceId)
 
Void Spectator_SetForcedTarget_Clan (Integer ClanNumber)
 
Void SendChat (Text Text)
 
Void SendNotice (Text Text, CUIConfig::ENoticeLevel Level, CUser Avatar, CUIConfig::EAvatarVariant AvatarVariant, CUIConfig::EUISound Sound, Integer SoundVariant)
 
Text GetLayerManialinkAction (CUILayer Layer)
 
Void ClearLayerManialinkAction (CUILayer Layer)
 
CUIConfigMarker AddMarker (Vec3 Position)
 
CUIConfigMarker AddMarker (CEntity Entity)
 
CUIConfigMarker AddMarker (CMapLandmark Landmark)
 
CUIConfigMarker AddMarker (Ident GhostInstanceId)
 
Void RemoveMarker (CUIConfigMarker Marker)
 
Void ClearMarkers ()
 
Void QueueMessage (Integer Duration, Integer Priority, CUIConfig::EMessageDisplay Level, Text Message, CUser Avatar, CUIConfig::EAvatarVariant AvatarVariant, CUIConfig::EUISound Sound, Integer SoundVariant)
 
Void QueueMessage (Integer Duration, Integer Priority, CUIConfig::EMessageDisplay Level, Text Message, CUIConfig::EUISound Sound, Integer SoundVariant)
 
Void QueueMessage (Integer Duration, Integer Priority, CUIConfig::EMessageDisplay Level, Text Message)
 
Void ClearMessages ()
 

Public Attributes

CUIConfig::EUISequence UISequence
 
Boolean const UISequenceIsCompleted
 
Text UISequence_CustomMTClip
 
Integer UISequence_CustomMTRefTime
 
Boolean UISequence_CanSkipIntroMT
 
Text UISequence_PodiumPlayersWin
 
Text UISequence_PodiumPlayersLose
 
CUIConfig::ECutSceneStyle UISequence_CutSceneStyle
 
Boolean DisableZoomTransitions
 
Text ManialinkPage
 
Text BigMessage
 
Text BigMessageAvatarLogin
 
CUIConfig::EAvatarVariant BigMessageAvatarVariant
 
CUIConfig::EUISound BigMessageSound
 
Integer BigMessageSoundVariant
 
Text StatusMessage
 
Text GaugeMessage
 
Real GaugeRatio
 
Integer GaugeClan
 
Text MarkersXML
 
Boolean OverrideMarkers
 
Array< CUIConfigMarker *const > Markers
 
Array< CUILayer *const > UILayers
 
Boolean OverlayHideNotices
 
Boolean OverlayHideMapInfo
 
Boolean OverlayHideChat
 
Boolean OverlayHideCountdown
 
Boolean OverlayHideCrosshair
 
Boolean OverlayHideGauges
 
Boolean OverlayHideConsumables
 
Boolean OverlayHide321Go
 
Boolean OverlayMute321Go
 
Boolean OverlayHideEndMapLadderRecap
 
Boolean OverlayHideSpectatorInfos
 
Integer OverlayChatLineCount
 
Vec2 OverlayChatOffset
 
Real OverlayChatWidthCoef
 
Vec2 CountdownCoord
 
Boolean NoticesFilter_HidePlayerInfo
 
Boolean NoticesFilter_HidePlayerWarning
 
Boolean NoticesFilter_HidePlayerInfoIfNotMe
 
Boolean NoticesFilter_HidePlayerWarningIfNotMe
 
Boolean NoticesFilter_HideMapInfo
 
Boolean NoticesFilter_HideMapWarning
 
Boolean NoticesFilter_HideMatchInfo
 
Boolean NoticesFilter_HideMatchWarning
 
CUIConfig::ENoticeLevel NoticesFilter_LevelToShowAsBigMessage
 
Text ScoreTable
 
CUIConfig::EVisibility ScoreTableVisibility
 
Text SmallScoreTable
 
CUIConfig::EVisibility SmallScoreTableVisibility
 
Boolean ScoreTableOnlyManialink
 
Boolean AltMenuNoDefaultScores
 
Boolean AltMenuNoCustomScores
 
Boolean OverlayScoreSummary
 
Ident ScoreSummary_Player1
 
Integer ScoreSummary_Points1
 
Integer ScoreSummary_RoundPoints1
 
Integer ScoreSummary_MatchPoints1
 
Real ScoreSummary_Gauge1
 
Ident ScoreSummary_Player2
 
Integer ScoreSummary_Points2
 
Integer ScoreSummary_RoundPoints2
 
Integer ScoreSummary_MatchPoints2
 
Real ScoreSummary_Gauge2
 
Boolean ScreenIn3dHideScoreSummary
 
Boolean ScreenIn3dHideVersus
 
Boolean DisplayControl_UseLiveCamera
 
Boolean DisplayControl_UseEsportsProgrammation
 
Integer CountdownEndTime
 
CUIConfig::EUIStatus UIStatus
 
CUIConfig::EHudVisibility LabelsVisibility
 
Boolean LabelsVisibility_SkipMarkersOnly
 
CUIConfig::ELabelsVisibility AlliesLabelsVisibility
 
CUIConfig::EVisibility AlliesLabelsShowGauges
 
CUIConfig::EVisibility AlliesLabelsShowNames
 
Integer AlliesLabelsMaxCount
 
CUIConfig::ELabelsVisibility TeamLabelsVisibility
 
CUIConfig::EVisibility TeamLabelsShowGauges
 
CUIConfig::EVisibility TeamLabelsShowNames
 
CUIConfig::ELabelsVisibility OpposingTeamLabelsVisibility
 
CUIConfig::EVisibility OpposingTeamLabelsShowGauges
 
CUIConfig::EVisibility OpposingTeamLabelsShowNames
 
Boolean PlayerDisableFreeCam
 
Boolean ForceSpectator
 
Integer SpectatorForceCameraType
 
Real SpectatorCamAutoLatitude
 
Real SpectatorCamAutoLongitude
 
Real SpectatorCamAutoRadius
 
CUIConfig::EObserverMode SpectatorObserverMode
 
- Public Attributes inherited from CNod
Ident const Id
 

Detailed Description

This object handles the interface.

Supported declare modes :

  • Local
  • NetworkRead
  • NetworkWrite

Member Function Documentation

◆ Spectator_SetForcedTarget_Ghost()

Void CUIConfig::Spectator_SetForcedTarget_Ghost ( Ident GhostInstanceId)

Only in local scripts, since ghosts are only known on the client.

Member Data Documentation

◆ AlliesLabelsMaxCount

Integer CUIConfig::AlliesLabelsMaxCount

Values in range (0 - 250)

◆ MarkersXML

Text CUIConfig::MarkersXML

An XML text describing the map tooltips appearing in the HUD.
It's a set of <marker/> elements which can have the following attributes :

  1. label : a text to display
  2. pos : a vector of 3 world coordinates desribing the position of the marker
  3. playerlogin : alternatively, instead of using pos, you can use a player login. The marker will smoothly follow the player
  4. playerid : similar to playerlogin. Fill it with Player.MarkerId. The marker will smoothly follow the player
  5. box : a vector of 3 dimensions describing the size of the marked object (allows a better placement of the marker on the screen)
  6. gauge : a Real. If between 0. and 1. a gauge will be shown undeneath the text
  7. imageurl : a string. URL of an image to use
  8. distmax : a real. The marker will disappear if the dist to it is greater than distmax
  9. isturning : a bool. Only for markers attached to players. If the marker appear on a minimap, it will turn around to reflect the player orientation.

◆ OverlayChatLineCount

Integer CUIConfig::OverlayChatLineCount

Values in range (0 - 40)

◆ OverlayChatWidthCoef

Real CUIConfig::OverlayChatWidthCoef

Values in range (0.100000-10.000000)

◆ OverrideMarkers

Boolean CUIConfig::OverrideMarkers

If True, the markers of this UI config overrides the markers of more generic UI configs. If False they are merged.

◆ SpectatorObserverMode

CUIConfig::EObserverMode CUIConfig::SpectatorObserverMode

When not in spectator mode, allow/forbid to change the camera to observe other players. (in Trackmania there's no 'Manual' mode.)


The documentation for this class was generated from the following file: