UberCont

object ➜ UberCont

This object has very many variables and you really shouldn't be touching most of them.

The variables can change between versions so always check if there's a function/builti-in variable that does what you want before poking at UberCont.

Data structures in this object

Variables:

from UberCont
from UberCont
lisDestroyWalls: ds_list
lisNewFloorExplos: ds_list
lisWallsVis: ds_list
lisTopsVis: ds_list
lisWallsUpdate: number
lisWallsUpdateBounds: number
lisWallsVisUpdate: number
version: number
update: number
upinfo: string
public: number
letterbox: number
letterimg: number
wave: number
drawsaving: number
cena: Array<bool>
race_id: int[]

Race per player

race: string[]

Race key per player

racepick: int[]
raceidpick: string[]
crown: int[]

Crown per player

player: Player[]

Player instances

paused: number
pauseimg: sprite
hardmode: number

Whether the hardmode is currently on

getpauseimg: number
bossintro: number
bossx: number
bossnamex: number
boss: number
achievementsSet: number
achievementsList: array<?>
opt_bossintros: number

Whether boss intros are enabled

opt_freeze: number

"freeze frames" setting (normally 0..1)

opt_shake: number

"screenshake" setting (normally 0..2)

tips: TipsStruct
prepareScoreGet: number
prepareScoreGetWeekly: number
playerPersonaName: string
score_get: number
score_get_weekly: number
get: number
getweekly: number
weekly_creq: number
weekly_creq_0: number
weekly_creq_1: number
get2: number

Daily json get, without player leaderboard presence check

retryLBPost: bool
lb_postPending: bool
lb_score: number
lb_data: number
lb_index: number
daily: bool
donedaily: bool
dailytimer: number
dailyloaded: number
weekly: number
canweekly: number
weeklytimer: number
weeklyloaded: number
weekly_char: number
weekly_crwn: number
weekly_swep: number
weekly_bskn: number
coop: number
drawhud: number
mainsound: audio_emitter
mainvol: number
sonyversion
halloween
anniversary
xmas
aprilfools
last_ps_eth_counter: number
window_width: int
window_height: int
ctot_kill: Array<int>
ctot_time: Array<int>
ctot_dead: Array<int>
ctot_loop: Array<int>
ctot_runs: Array<int>
ctot_wins: Array<int>
ctot_days: Array<int>
ctot_hard: Array<int>
ctot_strk: Array<int>
ctot_uniq: Array<int>
cbst_kill: Array<int>
cbst_area: Array<int>
cbst_suba: Array<int>
cbst_loop: Array<int>
cbst_race: Array<int>
cbst_strk: Array<int>
cbst_fast: Array<int>
hbst_kill: Array<int>
hbst_area: Array<int>
hbst_suba: Array<int>
hbst_loop: Array<int>
hbst_race: Array<int>
dbst_kill: Array<int>
dbst_area: Array<int>
dbst_suba: Array<int>
dbst_loop: Array<int>
dbst_race: Array<int>
cwep: Array<int>
cgld: Array<int>
cgot: Array<bool>
cbgt: Array<bool>
startskin: Array<int>
startcrown: Array<int>
crown_got: Array<Array<int>>
switchContTimer: int

controller support app delay timer Controller support app delay timer

but_small: sprite
but_big: sprite
from scrPauseMenuMake
from scrInit
from scrInitStats
from scrRaces
from scrRaces

Once upon a time this script used to fill out all sorts of character information, but all of that is in global variables now.

racemax
from scrInitOptions
from scrInitOptions

ScrInitOptions

opt_sfxvol: number
opt_musvol: number
opt_ambvol: number
opt_sond2d: number
opt_fulscrn: number
opt_scaling: number
opt_niceshd: number
opt_nicedrk: number
opt_nohud: bool

NB! in-game HUD display is controlled by global.dp_show_hud

opt_sideart: number
opt_borderless: number
opt_crosshair: number
opt_gamepadstyle
opt_gamepadstyle_deck
opt_gamepad_with_keyboard: bool
opt_gamepad_with_mouse: bool
opt_autoaim: number
opt_rumble: number
opt_lfthand: number
opt_sep_controls: bool
opt_controls: ctrControls[]
opt_mousecp: number
opt_streamkey: number
opt_streamid: number
opt_timer: number
opt_fitscrn: number
opt_coop: number
from scrInitData
from scrCrowns
from scrInitDw
from scrInitConsole

Alarms:

  • alarm[0]: 1/s for stats and delayed achs.
  • alarm[1]: 1/s for dailies
  • alarm[2]: Remove buttons, letterbox 0, not paused
  • alarm[3]: 1/s for weeklies
  • alarm[4]: ScrGameResized
  • alarm[9]: Psn_np_status(0)
  • alarm[10]: PSN net check
  • alarm[11]: Switch Controller Check