-
Notifications
You must be signed in to change notification settings - Fork 2
Original EXE script functions
DCxDemo edited this page May 9, 2023
·
27 revisions
| Name | Params | Returns | Example | Description |
|---|---|---|---|---|
| Wait | int / float followed by units: seconds / second / Frames / frame / gameframes / gameframe / movie | true | Wait 5 Seconds |
Waits to continue executing the script until a given time is passed. Actually for gameframe it assumes 60 fps, so maybe we should change it to actual gameframe value? |
| PrintStruct | ? | true | ? | Prints script information, striped out of the exe |
| Printf | string | true | printf "Hello World!" |
Prints a string to console, the output will start with "Script -" followed by the string. Only works in debug mode |
| SetHackFlag | ? | ? | ? | ? |
| HackFlagIsSet | ? | ? | ? | ? |
| SetCurrentSkaterProfile | ? | ? | ? | ? |
| CurrentSkaterProfileIs | ? | ? | ? | ? |
| AddSkaterProfile | ? | ? | ? | ? |
| SyncPlayer2Profile | ? | ? | ? | ? |
| EnableSkaterRotation | ? | ? | ? | ? |
| DisableSkaterRotation | ? | ? | ? | ? |
| ResetSkaterRotation | ? | ? | ? | ? |
| SetSkaterRotationPad | ? | ? | ? | ? |
| LoadLevelGeometry |
level - level mesh, sky - skybox mesh, pre_set - level pre file, KeepTexturesInMemory - optional flag |
? | LoadLevelGeometry { level = <lev_bsp> Sky = <lev_sky> } |
A wrapper for RequestLoad function, loads BSP meshes of the level/skybox. On consoles if pre_set param is given, it loads pre file and takes bsp from there. |
| LoadNodeArray | string |
? | LoadNodeArray <lev_qb> |
Loads node array from given QB file. Wraps LoadQB and ParseNodeArray functions. |
| ReLoadNodeArray | ? | ? | ? | ? |
| ParseNodeArray | ? | ? | ? | ? |
| SetRenderModeCPU | ? | ? | ? | ? |
| SetRenderModeVU | ? | ? | ? | ? |
| SetBackgroundColor | ? | ? | ? | ? |
| SetBSPAmbientColor | ? | ? | ? | ? |
| SetDFFAmbientColor | ? | ? | ? | ? |
| SetDFFDirectColor | ? | ? | ? | ? |
| SetDFFDirectRotation | ? | ? | ? | ? |
| SetDFFDirectActive | ? | ? | ? | ? |
| SetDynamicLightModulationFactor | ? | ? | ? | ? |
| SetClippingDistances | ? | ? | ? | ? |
| SetTrivialFarZClip | ? | ? | ? | ? |
| SetWorldSize | ? | ? | ? | ? |
| SetMovementVelocity | ? | ? | ? | ? |
| SetRotateVelocity | ? | ? | ? | ? |
| SkaterLastScoreLandedGreaterThan | int/float | true/false | IF SkaterLastScoreLandedGreaterThan 1000 |
Score comparison: last landed score > value |
| SkaterLastScoreLandedLessThan | int/float | true/false | IF SkaterLastScoreLandedLessThan 2000 |
Score comparison: last landed score < value |
| SkaterTotalScoreGreaterThan | int/float | true/false | IF SkaterTotalScoreGreaterThan 5000 |
Score comparison: total score > value |
| SkaterTotalScoreLessThan | int/float | true/false | IF SkaterTotalScoreLessThan 7000 |
Score comparison: total score < value |
| SkaterCurrentScorePotGreaterThan | int/float | true/false | IF SkaterCurrentScorePotGreaterThan 10000 |
Score comparison: current combo > value |
| SkaterCurrentScorePotLessThan | int/float | true/false | IF SkaterCurrentScorePotLessThan 20000 |
Score comparison: current combo < value |
| SkaterSpeedGreaterThan | int/float | true/false | IF SkaterSpeedGreaterThan 1.0 |
Skater speed > value |
| SkaterSpeedLessThan | int/float | true/false | IF SkaterSpeedLessThan 1.0 |
Skater speed < value |
| ToggleAlwaysSpecial | ? | ? | ? | ? |
| OnReload | - | - | - | Dummy func. |
| ResetEngine | ? | ? | ? | ? |
| ResetSkaters | ? | ? | ? | ? |
| SetVideoMode | ? | ? | ? | ? |
| ToggleMetrics | ? | ? | ? | ? |
| ToggleVRAMViewer | ? | ? | ? | ? |
| ToggleLightViewer | ? | ? | ? | ? |
| DumpVRAMUsage | ? | ? | ? | ? |
| SetVRAMPackContext | ? | ? | ? | ? |
| ToggleImageViewer | ? | ? | ? | ? |
| ToggleSkater | ? | ? | ? | ? |
| ReloadCurrentSkater | ? | ? | ? | ? |
| ViewSkaterModel | ? | ? | ? | ? |
| RemoveAllSkaters | ? | ? | ? | ? |
| Cleanup | ? | ? | ? | ? |
| debugrendermode | - | - | - | Dummied debug func. |
| debugtoggletextureupload | - | - | - | Dummied debug func. |
| debugtoggletexturedraw | - | - | - | Dummied debug func. |
| debugtogglepointdraw | - | - | - | Dummied debug func. |
| debugrendertest1 | - | - | - | Dummied debug func. |
| debugrendertest2 | - | - | - | Dummied debug func. |
| IsZero | ? | ? | ? | ? |
| IntegerEquals |
a - 1st int, b - 2nd int |
true/false | IF IntegerEquals a = 1 b = 2 |
Compares 2 integers. |
| ChecksumEquals |
a - 1st checksum, b - 2nd checksum |
true/false | IF ChecksumEquals a = first b = second |
Compares 2 checksums. |
| StringEquals |
a - 1st string, b - 2nd string |
true/false | IF StringEquals a = "first" b = "second" |
Calculate string chacksums and compares them. |
| ArrayContains | ? | ? | ? | ? |
| KenTest1 | - | - | - | Dummied debug func. |
| KenTest2 | - | - | - | Dummied debug func. |
| CustomSkaterFilenameDefined | ? | ? | ? | ? |
| GetCustomSkaterFilename | ? | ? | ? | ? |
| CurrentSkaterIsPro | ? | ? | ? | ? |
| EnableEvent | ? | ? | ? | ? |
| DisableEvent | ? | ? | ? | ? |
| EditingPark | ? | ? | ? | ? |
| GetParkName | ? | ? | ? | ? |
| ParkEditorThemeWasSwitched | ? | ? | ? | ? |
| GetGoalsCompleted | ? | ? | ? | ? |
| GetNextLevelRequirements | ? | ? | ? | ? |
| MenuIsShown | ? | ? | ? | ? |
| MenuIsSelected | ? | ? | ? | ? |
| DecksAreSpinning | ? | ? | ? | ? |
| InitializeMemCardFilesMenu | ? | ? | ? | ? |
| SetUpFilesMenu | ? | ? | ? | ? |
| NoFiles | ? | ? | ? | ? |
| FilesMenuIsSave | ? | ? | ? | ? |
| EnoughRoomOnCard | ? | ? | ? | ? |
| MemCardFileExists | ? | ? | ? | ? |
| DeleteMemCardFile | ? | ? | ? | ? |
| FormatCard | ? | ? | ? | ? |
| CardIsInSlot | ? | ? | ? | ? |
| CardIsFormatted | ? | ? | ? | ? |
| SaveFailedDueToInsufficientSpace | ? | ? | ? | ? |
| CreateDialogBox | ? | ? | ? | ? |
| SaveToMemoryCard | ? | ? | ? | ? |
| LoadFromMemoryCard | ? | ? | ? | ? |
| ForEachIn | array, do = function, params = struct | ? | ForEachIn master_sfx_list do = LoadSfx params = { <...> } |
A foreach loop implementation. It loops through all items in the given array and executes do param function passing the given params. |
| UpdateWheelColor | ? | ? | ? | ? |
| ApplyChangeGamma | - | - | - | |
| MoveMenu | ? | ? | ? | ? |
| AttemptMenuSelect | ? | ? | ? | ? |
| MakeMenuZoomOn | ? | ? | ? | ? |
| MakeMenuPopOffScreen | ? | ? | ? | ? |
| DisplayCorrectDeckSet | ? | ? | ? | ? |
| UpdateCareerInfoMenu | ? | ? | ? | ? |
| UpdateSliderInfoMenu | ? | ? | ? | ? |
| GotParam | param name as symbol | true/false | IF GotParam special |
Checks if current function was passed a certain param. |
| LaunchCommand | ? | ? | ? | ? |
| JumpToScript | ? | ? | ? | ? |
| GotoPreserveParams | ? | ? | ? | ? |
| GotoRandomScript | array of scripts | ? | GotoRandomScript [ StandIdle OtherIdle BoardIdle ] |
Jumps to random script from the given array of scripts. |
| PreloadModel | ? | ? | ? | ? |
| LaunchPanelMessage | ? | ? | ? | ? |
| LaunchLocalPanelMessage | ? | ? | ? | ? |
| KillMessages | ? | ? | ? | ? |
| ChangeLocalMessage | ? | ? | ? | ? |
| LaunchConsoleMessage | ? | ? | ? | ? |
| FireMenuEvent | ? | ? | ? | ? |
| ToggleViewMode | ? | ? | ? | ? |
| ToggleRenderMode | ? | ? | ? | ? |
| ScreenShot | ? | ? | ? | ? |
| SetStat | ? | ? | ? | ? |
| LoadFont | ? | ? | ? | ? |
| UnloadFont | ? | ? | ? | ? |
| LoadSprite | ? | ? | ? | ? |
| UnloadSprite | ? | ? | ? | ? |
| ToggleStats | ? | ? | ? | ? |
| ToggleMetricItem | ? | ? | ? | ? |
| ToggleMemMetrics | ? | ? | ? | ? |
| ReplayInit | ? | ? | ? | ? |
| SetReplayMode | ? | ? | ? | ? |
| ReplayModeEquals | ? | ? | ? | ? |
| LoadCorrectSkaterForReplay | ? | ? | ? | ? |
| LoadSound | ? | ? | ? | ? |
| PlaySound | sound name as symbol, [vol = int], [pitch = int] | ? | PlaySound TimeoutA Vol = 75 pitch = 110 |
Plays sound. |
| SetSfxReverb | ? | ? | ? | ? |
| SetSfxVolume | ? | ? | ? | ? |
| SetSfxDropoff | ? | ? | ? | ? |
| SetTerrainSfxProperties | ? | ? | ? | ? |
| SetTerrainParticleProperties | ? | ? | ? | ? |
| SetMusicVolume | ? | ? | ? | ? |
| PlayTrack | ? | ? | ? | ? |
| SkipMusicTrack | ? | ? | ? | ? |
| PauseMusic | ? | ? | ? | ? |
| StopMusic | ? | ? | ? | ? |
| SetMusicMode | ? | ? | ? | ? |
| SetRandomMode | ? | ? | ? | ? |
| LoadMusicHeader | ? | ? | ? | ? |
| LoadStreamHeader | ? | ? | ? | ? |
| StreamIsAvailable | ? | ? | ? | ? |
| AddMusicTrack | string | ? | AddMusicTrack "ambiance\ware" |
Adds MP3 file to playlist, limited by 25 entries. |
| ClearMusicTrackList | ? | ? | ? | ? |
| LoadStream | ? | ? | ? | ? |
| PlayStream | ? | ? | ? | ? |
| StopStream | ? | ? | ? | ? |
| PauseStream | ? | ? | ? | ? |
| PlayMovie | ? | ? | ? | ? |
| ReadNewExceptions | ? | ? | ? | ? |
| SetGameType | ? | ? | ? | ? |
| TestGameType | ? | ? | ? | ? |
| TestRequestedGameType | ? | ? | ? | ? |
| ChangeLevel | ? | ? | ? | ? |
| LaunchLevel | ? | ? | ? | ? |
| RequestLevel | ? | ? | ? | ? |
| SetGameState | ? | ? | ? | ? |
| Retry | ? | ? | ? | ? |
| ResetLevel | ? | ? | ? | ? |
| Create | ? | ? | ? | ? |
| Kill | ? | ? | ? | ? |
| Visible | ? | ? | ? | ? |
| Invisible | ? | ? | ? | ? |
| Shatter | ? | ? | ? | ? |
| ToggleSkaterCamMode | ? | ? | ? | ? |
| PlaySkaterCamAnim | ? | ? | ? | ? |
| SetSkaterCamAnimSkippable | ? | ? | ? | ? |
| SkaterCamAnimFinished | ? | ? | ? | ? |
| SkaterCamAnimHeld | ? | ? | ? | ? |
| SetSkaterCamLerpReductionTimer | ? | ? | ? | ? |
| SkaterDebugOn | ? | ? | ? | ? |
| SkaterDebugOff | ? | ? | ? | ? |
| IfDebugOn | ? | ? | ? | ? |
| IfDebugOff | ? | ? | ? | ? |
| CD | - | - | - | Dummied debug func. |
| NotCD | ? | ? | ? | ? |
| CasArtist | ? | ? | ? | ? |
| NotCasArtist | ? | ? | ? | ? |
| SendFlag | ? | ? | ? | ? |
| ClearFlag | ? | ? | ? | ? |
| QueryFlag | ? | ? | ? | ? |
| SendException | ? | ? | ? | ? |
| IsAlive | ? | ? | ? | ? |
| MakeSkaterGoto | ? | ? | ? | ? |
| MakeSkaterGosub | ? | ? | ? | ? |
| MenuOnScreen | ? | ? | ? | ? |
| LaunchMenuScreen | ? | ? | ? | ? |
| SetFrontEndPad | - | - | - | Dummy func. |
| UseBothPadsInFrontEnd | - | - | - | Dummy func. |
| UseOnePadInFrontEnd | - | - | - | Dummy func. |
| ControllerPressed | ? | ? | ? | ? |
| ControllerDebounce | ? | ? | ? | ? |
| FrontEndSetActive | ? | ? | ? | ? |
| FrontEndSetInactive | ? | ? | ? | ? |
| SetScreenMode | ? | ? | ? | ? |
| SetScreenModeFromGameMode | ? | ? | ? | ? |
| SpawnScript | ? | ? | ? | ? |
| SpawnSkaterScript | ? | ? | ? | ? |
| KillSpawnedScript | ? | ? | ? | ? |
| PauseSkaters | ? | ? | ? | ? |
| UnPauseSkaters | ? | ? | ? | ? |
| PauseSkater | ? | ? | ? | ? |
| UnPauseSkater | ? | ? | ? | ? |
| PauseGame | ? | ? | ? | ? |
| UnPauseGame | ? | ? | ? | ? |
| PauseClock | ? | ? | ? | ? |
| UnPauseClock | ? | ? | ? | ? |
| ShowClock | ? | ? | ? | ? |
| HideClock | ? | ? | ? | ? |
| ResetClock | ? | ? | ? | ? |
| DoFlash | ? | ? | ? | ? |
| SetCASViewer | ? | ? | ? | ? |
| InPreFile | ? | ? | ? | ? |
| LoadPreFile | - | - | - | Unused on PC, not implemented. |
| UnloadPreFile | - | - | - | Unused on PC, not implemented. |
| StartServer | ? | ? | ? | ? |
| SpawnCrown | ? | ? | ? | ? |
| SpawnCTF | ? | ? | ? | ? |
| SpawnBeachball | ? | ? | ? | ? |
| SpawnZones | ? | ? | ? | ? |
| SpawnCompass | ? | ? | ? | ? |
| FindServers | - | - | - | Dummy func. |
| JoinServer | ? | ? | ? | ? |
| LeaveServer | ? | ? | ? | ? |
| SetNetworkMode | ? | ? | ? | ? |
| SetServerMode | ? | ? | ? | ? |
| StartNetworkGame | ? | ? | ? | ? |
| OverrideGameModeOptions | ? | ? | ? | ? |
| ResetCamera | ? | ? | ? | ? |
| InitializeTrickMenus | ? | ? | ? | ? |
| UninitializeTrickMenus | ? | ? | ? | ? |
| PopulateTrickMenus | ? | ? | ? | ? |
| InitializeSFXMenus | ? | ? | ? | ? |
| GetValueFromVolume | ? | ? | ? | ? |
| SetSliderValue | ? | ? | ? | ? |
| SetVolumeFromValue | ? | ? | ? | ? |
| InitializeCASMenus | ? | ? | ? | ? |
| AttachNewCASEventHandler | ? | ? | ? | ? |
| UpdateStatsElements | ? | ? | ? | ? |
| DisableAllCasMenusExcept | ? | ? | ? | ? |
| UpdateStatsUI | ? | ? | ? | ? |
| ResetSkaterProfile | ? | ? | ? | ? |
| ResetDefaultAppearance | ? | ? | ? | ? |
| ResetDefaultTricks | ? | ? | ? | ? |
| ResetDefaultStats | ? | ? | ? | ? |
| RandomizeAppearance | ? | ? | ? | ? |
| PrintCurrentAppearance | ? | ? | ? | ? |
| SetNeversoftSkater | ? | ? | ? | ? |
| CurrentProfileIsLocked | ? | ? | ? | ? |
| SetIconTexture | ? | ? | ? | ? |
| MemViewToggle | ? | ? | ? | ? |
| EnableFog | ? | ? | ? | ? |
| DisableFog | ? | ? | ? | ? |
| SetFogDistance | ? | ? | ? | ? |
| SetFogColor | ? | ? | ? | ? |
| Change | ? | ? | ? | ? |
| PreferenceEquals | ? | ? | ? | ? |
| SetUIFromPreferences | ? | ? | ? | ? |
| SetUIFromSkaterProfile | ? | ? | ? | ? |
| SetPreference | ? | ? | ? | ? |
| SetPreferencesFromUI | ? | ? | ? | ? |
| MemPushContext | - | - | - | Dummy func. Memory management, unused on PC port. |
| MemPopContext | - | - | - | Dummy func. Memory management, unused on PC port. |
| LoadAndSetTexDict | ? | ? | ? | ? |
| LoadTexDictModel | ? | ? | ? | ? |
| SaveTexDict | ? | ? | ? | ? |
| ProfileTasks | ? | ? | ? | ? |
| ToggleConsole | ? | ? | ? | ? |
| UseNetworkPreferences | ? | ? | ? | ? |
| StopAllScripts | ? | ? | ? | ? |
| SetMenuElementText | ? | ? | ? | ? |
| MakeTextMenuElementStatic | ? | ? | ? | ? |
| FirstTimeThisIsCalled | ? | ? | ? | ? |
| VibrationIsOn | ? | ? | ? | ? |
| VibrationOff | ? | ? | ? | ? |
| VibrationOn | ? | ? | ? | ? |
| EnableActuators | ? | ? | ? | ? |
| AutoKickIsOn | ? | ? | ? | ? |
| AutoKickOn | ? | ? | ? | ? |
| AutoKickOff | ? | ? | ? | ? |
| SpinTapsAreOn | ? | ? | ? | ? |
| SpinTapsOn | ? | ? | ? | ? |
| SpinTapsOff | ? | ? | ? | ? |
| ConnectToInternet | ? | ? | ? | ? |
| DisconnectFromInternet | ? | ? | ? | ? |
| InNetGame | ? | ? | ? | ? |
| DumpScripts | - | - | - | Dummied debug func. |
| SetSlomo | ? | ? | ? | ? |
| SetArenaSize | ? | ? | ? | ? |
| ToggleNetMetrics | ? | ? | ? | ? |
| LoadNextUnlockedPro | ? | ? | ? | ? |
| GetCurrentProDisplayInfo | ? | ? | ? | ? |
| SetPlayerAppearance | ? | ? | ? | ? |
| SetParticleSysVisibility | ? | ? | ? | ? |
| TogglePlayerNames | ? | ? | ? | ? |
| SetCurrentGameType | ? | ? | ? | ? |
| DumpNetMessageStats | ? | ? | ? | ? |
| NotifyBailDone | ? | ? | ? | ? |
| DisplayLoadingScreen | ? | ? | ? | ? |
| HideLoadingScreen | ? | ? | ? | ? |
| ParkEditorCommand | ? | ? | ? | ? |
| ParkEditorGetGapName | ? | ? | ? | ? |
| ParkEditorSetGapName | ? | ? | ? | ? |
| IsCustomPark | ? | ? | ? | ? |
| IsUnsavedPark | ? | ? | ? | ? |
| ObserveNextSkater | ? | ? | ? | ? |
| PrintMemInfo | - | - | - | Dummied debug func. |
| AnalyzeHeap | - | - | - | Dummied debug func. |
| CareerStartLevel | ? | ? | ? | ? |
| CareerLevelIs | ? | ? | ? | ? |
| CareerReset | ? | ? | ? | ? |
| SetGoal | ? | ? | ? | ? |
| UnSetGoal | ? | ? | ? | ? |
| GetGoal | ? | ? | ? | ? |
| JustGotGoal | ? | ? | ? | ? |
| SetFlag | ? | ? | ? | ? |
| UnSetFlag | ? | ? | ? | ? |
| GetFlag | ? | ? | ? | ? |
| UnlockNextSecret | ? | ? | ? | ? |
| JustGotFlag | ? | ? | ? | ? |
| SetScoreGoal | ? | ? | ? | ? |
| ClearScoreGoals | ? | ? | ? | ? |
| SetGlobalFlag | ? | ? | ? | ? |
| UnSetGlobalFlag | ? | ? | ? | ? |
| GetGlobalFlag | ? | ? | ? | ? |
| ProfileEquals | ? | ? | ? | ? |
| IsCareerMode | ? | ? | ? | ? |
| IsCompetition | ? | ? | ? | ? |
| EndRun | ? | ? | ? | ? |
| AllowPause | ? | ? | ? | ? |
| EnterObserverMode | ? | ? | ? | ? |
| RefreshServerList | ? | ? | ? | ? |
| SetJoinMode | ? | ? | ? | ? |
| LaunchEvent | ? | ? | ? | ? |
| SwitchToMenu | ? | ? | ? | ? |
| PauseGameFlow | ? | ? | ? | ? |
| UnpauseGameFlow | ? | ? | ? | ? |
| InFrontEnd | ? | ? | ? | ? |
| InSplitScreenGame | ? | ? | ? | ? |
| GameModeEquals | ? | ? | ? | ? |
| OnServer | ? | ? | ? | ? |
| ShouldEndRun | ? | ? | ? | ? |
| LoadRequestedLevel | ? | ? | ? | ? |
| TogglePanel | ? | ? | ? | ? |
| InitializeSkaters | ? | ? | ? | ? |
| SkatersAreReady | ? | ? | ? | ? |
| RestartLevel | ? | ? | ? | ? |
| EndRunSelected | ? | ? | ? | ? |
| AllSkatersAreIdle | ? | ? | ? | ? |
| FirstTrickStarted | ? | ? | ? | ? |
| FirstTrickCompleted | ? | ? | ? | ? |
| SpawnLevelScript | ? | ? | ? | ? |
| CalculateFinalScores | ? | ? | ? | ? |
| ReinsertSkaters | ? | ? | ? | ? |
| UnhookSkaters | ? | ? | ? | ? |
| HookUpSkaters | ? | ? | ? | ? |
| ShouldRunIntroScript | ? | ? | ? | ? |
| IntroScriptFinished | ? | ? | ? | ? |
| LoadSkaters | ? | ? | ? | ? |
| ToggleScores | ? | ? | ? | ? |
| ApplySplitScreenOptions | ? | ? | ? | ? |
| ApplyToSkaterProfile | ? | ? | ? | ? |
| ApplyColorToSkaterProfile | ? | ? | ? | ? |
| RefreshSkaterColors | ? | ? | ? | ? |
| IsTrue | ? | ? | ? | ? |
| GetCurrentLevel | ? | ? | ? | ? |
| StartCompetition | ? | ? | ? | ? |
| EndCompetition | ? | ? | ? | ? |
| CompetitionEnded | ? | ? | ? | ? |
| StartCompetitionRun | ? | ? | ? | ? |
| EndCompetitionRun | ? | ? | ? | ? |
| StartHorse | ? | ? | ? | ? |
| EndHorse | - | - | - | |
| HorseEnded | ? | ? | ? | ? |
| HorseStatusEquals | ? | ? | ? | ? |
| StartHorseRun | ? | ? | ? | ? |
| EndHorseRun | ? | ? | ? | ? |
| SwitchHorsePlayers | ? | ? | ? | ? |
| UpdateHorseDisplay | ? | ? | ? | ? |
| ApplyToHorsePanelString | ? | ? | ? | ? |
| IsCurrentHorseSkater | ? | ? | ? | ? |
| PanelMessagesOnscreen | ? | ? | ? | ? |
| XTriggered | ? | ? | ? | ? |
| UsePad | - | - | - | Does nothing, calls empty func. |
| ReplayTest | - | - | - | Dummied debug func? |
| CreatePanels | ? | ? | ? | ? |
| DeletePanel | ? | ? | ? | ? |
| InMultiplayerGame | ? | ? | ? | ? |
| ToggleShadowType | ? | ? | ? | ? |
| IsTopJudge | ? | ? | ? | ? |
| PlaceIs | ? | ? | ? | ? |
| RoundIs | ? | ? | ? | ? |
| CreateMenu | ? | ? | ? | ? |
| AttachChild | ? | ? | ? | ? |
| CreateAndAttachMenu | ? | ? | ? | ? |
| AttachEventHandler | ? | ? | ? | ? |
| AttachScript | ? | ? | ? | ? |
| SetProperty | ? | ? | ? | ? |
| SetDefaultProperty | ? | ? | ? | ? |
| DestroyElement | ? | ? | ? | ? |
| DepopulateMenu | ? | ? | ? | ? |
| GameFlow | ? | ? | ? | ? |
| SetCompetition | ? | ? | ? | ? |
| AwardStatPoint | ? | ? | ? | ? |
| ApplyStatChange | ? | ? | ? | ? |
| AwardSpecialTrickSlot | ? | ? | ? | ? |
| UpdateSkaterStats | ? | ? | ? | ? |
| GoalsGreaterThan | ? | ? | ? | ? |
| GoalsEqualTo | ? | ? | ? | ? |
| MedalsGreaterThan | ? | ? | ? | ? |
| MedalsEqualTo | ? | ? | ? | ? |
| StartServerList | ? | ? | ? | ? |
| JoinWithPassword | ? | ? | ? | ? |
| TestNetworkSetup | ? | ? | ? | ? |
| GetRecordText | ? | ? | ? | ? |
| UpdateRecords | ? | ? | ? | ? |
| SendChatMessage | ? | ? | ? | ? |
| InSlapGame | ? | ? | ? | ? |
| LoadPendingPlayers | ? | ? | ? | ? |
| StopServerList | ? | ? | ? | ? |
| FreeServerList | ? | ? | ? | ? |
| LaunchQueuedScripts | ? | ? | ? | ? |
| IsObserving | ? | ? | ? | ? |
| HideMenu | ? | ? | ? | ? |
| GetInitialsString | ? | ? | ? | ? |
| SetInitialsString | ? | ? | ? | ? |
| UpdateInitials | ? | ? | ? | ? |
| NewRecord | ? | ? | ? | ? |
| DumpMenuTree | ? | ? | ? | ? |
| AttachToSkater | ? | ? | ? | ? |
| TryCheatString | ? | ? | ? | ? |
| LevelIs | ? | ? | ? | ? |
| StartNetworkLobby | ? | ? | ? | ? |
| ObserversAllowed | ? | ? | ? | ? |
| NumPlayersAllowed | ? | ? | ? | ? |
| AutoDNS | ? | ? | ? | ? |
| UsingDefaultMasterServers | ? | ? | ? | ? |
| UsingDHCP | ? | ? | ? | ? |
| InInternetMode | ? | ? | ? | ? |
| LoadExecPS2 | - | - | - | Dummied PS2 func. Intended to load executable from disk to memory. Loads KSPS demo. |
| GameIsOver | ? | ? | ? | ? |
| EnteringNetGame | ? | ? | ? | ? |
| DeviceChosen | ? | ? | ? | ? |
| TrickOffAllObjects | - | - | - | Dummied debug func? |
| DumpHeaps | - | - | - | Dummied debug func. |
| ResetPS2 | - | - | - | Dummied debug func. |
| ResetHD | - | - | - | Dummied debug func. |
| PAL | - | - | - | Hardcoded to return false. On consoles changes stuff based on region. |
| English | - | - | - | Hardcoded to return true. |
| QuitGame | ? | ? | ? | ? |
| SetPrimaryControllerName | ? | ? | ? | ? |
| InitializeControllerMenu | ? | ? | ? | ? |
| GameModeChecksumEquals | ? | ? | ? | ? |
| SetTeamMode | ? | ? | ? | ? |
| InTeamGame | ? | ? | ? | ? |
| ChooseTeam | ? | ? | ? | ? |
| InvokeScreen | ? | ? | ? | ? |
| CloseScreen | ? | ? | ? | ? |
| RestripWorld | ? | ? | ? | ? |
| MouseShowCursor | ? | ? | ? | ? |
| ClipPlaneEnabled | ? | ? | ? | ? |
| DoDeferredStart | ? | ? | ? | ? |
| DoDeferredInternetConnect | ? | ? | ? | ? |
| DeferredLaunchServer | ? | ? | ? | ? |
| GameTypePrefEquals | ? | ? | ? | ? |
| GetVersionNumber | ? | ? | ? | ? |
| Name | Params | Returns | Example | Description |
|---|---|---|---|---|
| TestMemberFunction | ? | ? | ? | ? |
| LoadAnim | ? | ? | ? | ? |
| MergeSkin | ? | ? | ? | ? |
| ApplyMesh | ? | ? | ? | ? |
| ReplaceSkinTexture |
replace - original SKN texture, with - target PNG texture, image_dir - texture folder |
? | ReplaceSkinTexture replace = "CS_NH_F_wht_torso.png" with = "CS_NH_F_bwn_torso.png" image_dir = "textures/skater_m" |
Replaces model texture from dictionary with a custom PNG image. |
| SetSkaterHSV |
h - hue, s - saturation, v - value |
? | SetSkaterHSV h = 0 s = 0 v = 78 |
Changes skater body model skin tone. |
| ResetScale | ? | ? | ? | ? |
| ApplyScale | ? | ? | ? | ? |
| SetObjectScale | ? | ? | ? | ? |
| PausePhysics | ? | ? | ? | ? |
| UnPausePhysics | ? | ? | ? | ? |
| DumpEventBuffer | ? | ? | ? | ? |
| SwitchOnShadow | ? | ? | ? | ? |
| SwitchOffShadow | ? | ? | ? | ? |
| AnimEquals | animation name as symbol | true/false | IF AnimEquals MaulForceGrab_Init |
Checks if current animation equals given name. |
| SetException | ? | ? | ? | ? |
| ClearException | ? | ? | ? | ? |
| ClearExceptions | ? | ? | ? | ? |
| ExceptionTriggered | ? | ? | ? | ? |
| GotException | ? | ? | ? | ? |
| SetBalanceTrickParams | ? | ? | ? | ? |
| PlayAnim | Anim = symbol, From = int, to = int (from and to params can hold Current and End values), Speed = float, BlendPeriod = float, cycle (forces anim to loop), wobble (forces anim to play to end, then play backwards to start in a loop), backwards (forces anim to play backwards) | ? | PlayAnim Anim = MelonGrab From = 20 to = End BlendPeriod = 0.3 Speed = 1.4 |
Plays given skater animation with given params. |
| PlaySecondaryAnim | ? | ? | ? | ? |
| StopSecondaryAnim | ? | ? | ? | ? |
| BlendPeriodOut | ? | ? | ? | ? |
| LoopingAnim | ? | ? | ? | ? |
| AnimFinished | none | true/false | IF AnimFinished |
Checks if current animation is finished. Often used for while not finished loops. |
| LeftPressed | ? | ? | ? | ? |
| RightPressed | ? | ? | ? | ? |
| Jump | ? | ? | ? | ? |
| Flipped | ? | ? | ? | ? |
| Crouched | ? | ? | ? | ? |
| OnGround | ? | ? | ? | ? |
| InAir | ? | ? | ? | ? |
| OnWall | ? | ? | ? | ? |
| OnLip | ? | ? | ? | ? |
| OnRail | ? | ? | ? | ? |
| InBail | ? | ? | ? | ? |
| NotInBail | ? | ? | ? | ? |
| IsInBail | ? | ? | ? | ? |
| PlayBonkSound | ? | ? | ? | ? |
| PlayCessSound | ? | ? | ? | ? |
| PlayLandSound | ? | ? | ? | ? |
| PlayJumpSound | ? | ? | ? | ? |
| SpeedLessThan | ? | ? | ? | ? |
| SpeedGreaterThan | ? | ? | ? | ? |
| SpeedEquals | ? | ? | ? | ? |
| Braking | ? | ? | ? | ? |
| BrakingOn | ? | ? | ? | ? |
| BrakingOff | ? | ? | ? | ? |
| CanKick | ? | ? | ? | ? |
| CanKickOn | ? | ? | ? | ? |
| CanKickOff | ? | ? | ? | ? |
| ForceAutokickOn | ? | ? | ? | ? |
| ForceAutokickOff | ? | ? | ? | ? |
| RestoreAutokick | ? | ? | ? | ? |
| AutoKickIsOff | ? | ? | ? | ? |
| DoCarPlantBoost | ? | ? | ? | ? |
| WaitAnim | ? | ? | ? | ? |
| FrameIs | int | true/false | IF FrameIs 10 |
Checks whether current animation frame equals the given number. |
| BashOn | ? | ? | ? | ? |
| BashOff | ? | ? | ? | ? |
| SetTrickName | ? | ? | ? | ? |
| SetTrickScore | ? | ? | ? | ? |
| Display | ? | ? | ? | ? |
| EnableDisplayFlip | ? | ? | ? | ? |
| DisableDisplayFlip | ? | ? | ? | ? |
| Flip | ? | ? | ? | ? |
| Rotate | ? | ? | ? | ? |
| BoardRotate | ? | ? | ? | ? |
| NoSpin | ? | ? | ? | ? |
| CanSpin | ? | ? | ? | ? |
| Move | ? | ? | ? | ? |
| SetSpeed | ? | ? | ? | ? |
| OrientToNormal | ? | ? | ? | ? |
| Held | ? | ? | ? | ? |
| Released | ? | ? | ? | ? |
| HeldLongerThan | ? | ? | ? | ? |
| Debounce | ? | ? | ? | ? |
| DoNextTrick | ? | ? | ? | ? |
| ClearTricksFrom | ? | ? | ? | ? |
| SetQueueTricks | ? | ? | ? | ? |
| ClearTrickQueue | ? | ? | ? | ? |
| UseGrindEvents | ? | ? | ? | ? |
| DoNextManualTrick | ? | ? | ? | ? |
| SetManualTricks | ? | ? | ? | ? |
| ClearManualTrick | ? | ? | ? | ? |
| SetExtraGrindTricks | ? | ? | ? | ? |
| ClearExtraGrindTrick | ? | ? | ? | ? |
| AirTimeLessThan | int, optional units: second, seconds, possibly frames | true/false | IF AirTimeLessThan 2 seconds |
Checks if skater air time is less than given value. |
| AirTimeGreaterThan | int, accepts units after: second, seconds, possibly frames | true/false | IF AirTimeGreaterThan 2 seconds |
Checks if skater air time is greater than given value. |
| backwards | ? | ? | ? | ? |
| ClearPanel_Landed | ? | ? | ? | ? |
| ClearPanel_Bailed | ? | ? | ? | ? |
| FlipAfter | ? | ? | ? | ? |
| RotateAfter | ? | ? | ? | ? |
| BoardRotateAfter | ? | ? | ? | ? |
| TriggerType | ? | ? | ? | ? |
| KillSkater | ? | ? | ? | ? |
| FlipAndRotate | ? | ? | ? | ? |
| DoBalanceTrick | ? | ? | ? | ? |
| StopBalanceTrick | ? | ? | ? | ? |
| SwitchOffBalanceMeter | ? | ? | ? | ? |
| SwitchOnBalanceMeter | ? | ? | ? | ? |
| StartBalanceTrick | ? | ? | ? | ? |
| StateInfoOn | ? | ? | ? | ? |
| StateInfoOff | ? | ? | ? | ? |
| SetState | ? | ? | ? | ? |
| SetExceptionThatPreservesBalanceTrick | ? | ? | ? | ? |
| ClearEventBuffer | ? | ? | ? | ? |
| DisablePlayerInput | ? | ? | ? | ? |
| EnablePlayerInput | ? | ? | ? | ? |
| StartGap | ? | ? | ? | ? |
| EndGap | ? | ? | ? | ? |
| StartGapTrick | ? | ? | ? | ? |
| CheckGapTricks | ? | ? | ? | ? |
| ClearGapTricks | ? | ? | ? | ? |
| GotSpecial | ? | ? | ? | ? |
| SetRailSound | ? | ? | ? | ? |
| SetRollingFriction | ? | ? | ? | ? |
| SetSpecialFriction | ? | ? | ? | ? |
| InNollie | ? | ? | ? | ? |
| NollieOn | ? | ? | ? | ? |
| NollieOff | ? | ? | ? | ? |
| EndOfRunDone | ? | ? | ? | ? |
| DuplicateTrigger | ? | ? | ? | ? |
| SparksOn | ? | ? | ? | ? |
| SparksOff | ? | ? | ? | ? |
| IsGrind | ? | ? | ? | ? |
| Vibrate | ? | ? | ? | ? |
| DoingTrick | ? | ? | ? | ? |
| BailOn | ? | ? | ? | ? |
| BailOff | ? | ? | ? | ? |
| BailIsOn | ? | ? | ? | ? |
| RemoveXEvents | ? | ? | ? | ? |
| YawBetween | ? | ? | ? | ? |
| PitchGreaterThan | ? | ? | ? | ? |
| AbsolutePitchGreaterThan | int | true/false | IF AbsolutePitchGreaterThan 60 |
Checks if skater absolute pitch is greater than given value. |
| RollGreaterThan | ? | ? | ? | ? |
| YawingLeft | ? | ? | ? | ? |
| YawingRight | ? | ? | ? | ? |
| PitchingForward | ? | ? | ? | ? |
| PitchingBackward | ? | ? | ? | ? |
| RollingLeft | ? | ? | ? | ? |
| RollingRight | ? | ? | ? | ? |
| SwitchOffAtomic | ? | ? | ? | ? |
| SwitchOnAtomic | ? | ? | ? | ? |
| BloodOn | ? | ? | ? | ? |
| BloodOff | ? | ? | ? | ? |
| BloodParticlesOn | ? | ? | ? | ? |
| BloodParticlesOff | ? | ? | ? | ? |
| TweakTrick | ? | ? | ? | ? |
| SetGrindTweak | ? | ? | ? | ? |
| Ledge | ? | ? | ? | ? |
| BadLedge | ? | ? | ? | ? |
| SkateInAble | ? | ? | ? | ? |
| ResetSpin | ? | ? | ? | ? |
| LastSpinWas | ? | ? | ? | ? |
| LandedFromVert | ? | ? | ? | ? |
| SetLandedFromVert | ? | ? | ? | ? |
| ResetLandedFromVert | ? | ? | ? | ? |
| AllowLipNoGrind | ? | ? | ? | ? |
| ClearAllowLipNoGrind | ? | ? | ? | ? |
| NoRailTricks | ? | ? | ? | ? |
| AllowRailTricks | ? | ? | ? | ? |
| SetExtraTricks | ? | ? | ? | ? |
| KillExtraTricks | ? | ? | ? | ? |
| TurnToFaceVelocity | ? | ? | ? | ? |
| OnExceptionRun | ? | ? | ? | ? |
| SetSkaterCamOverride | ? | ? | ? | ? |
| ClearSkaterCamOverride | ? | ? | ? | ? |
| SetExtraPush | ? | ? | ? | ? |
| ShouldMongo | ? | ? | ? | ? |
| Inside | ? | ? | ? | ? |
| SetSlotTrick | ? | ? | ? | ? |
| ChangeProTricks | ? | ? | ? | ? |
| TrickOffObject | ? | ? | ? | ? |
| AdjustBalance | ? | ? | ? | ? |
| SkaterIsNamed | ? | ? | ? | ? |
| AddSkaterToWorld | ? | ? | ? | ? |
| RemoveSkaterFromWorld | ? | ? | ? | ? |
| Obj_PrintDetails | ? | ? | ? | ? |
| Obj_ModelEquals | ? | ? | ? | ? |
| Obj_Flip | ? | ? | ? | ? |
| Obj_PlayStream | ? | ? | ? | ? |
| Obj_StopStream | ? | ? | ? | ? |
| Obj_AttachFrame | ? | ? | ? | ? |
| FollowWaypointPath | ? | ? | ? | ? |
| LookAtNode | ? | ? | ? | ? |
| Obj_WaitForStreamAvailable | ? | ? | ? | ? |
| Obj_WaitForStreamToStart | ? | ? | ? | ? |
| Obj_WaitStreamFinished | ? | ? | ? | ? |
| Obj_ShadowOn | ? | ? | ? | ? |
| Obj_ShadowOff | ? | ? | ? | ? |
| RunAnim | ? | ? | ? | ? |
| CycleAnim | ? | ? | ? | ? |
| Obj_WaitRotate | ? | ? | ? | ? |
| Obj_WaitAnimFinished | ? | ? | ? | ? |
| Obj_WaitMove | ? | ? | ? | ? |
| Obj_StopMoving | ? | ? | ? | ? |
| Obj_StopRotating | ? | ? | ? | ? |
| Obj_StopMovingAndRotating | ? | ? | ? | ? |
| Obj_PlaySound | ? | ? | ? | ? |
| Obj_AdjustSound | ? | ? | ? | ? |
| Obj_StopSound | ? | ? | ? | ? |
| Obj_SetSound | ? | ? | ? | ? |
| Obj_Rotate | ? | ? | ? | ? |
| Obj_RotX | ? | ? | ? | ? |
| Obj_RotY | ? | ? | ? | ? |
| Obj_RotZ | ? | ? | ? | ? |
| Obj_StorePos | ? | ? | ? | ? |
| Obj_StoreNode | ? | ? | ? | ? |
| Obj_LookAtNodeStored | ? | ? | ? | ? |
| Obj_LookAtNodeLinked | ? | ? | ? | ? |
| Obj_LookAtPosStored | ? | ? | ? | ? |
| Obj_MoveToPosStored | ? | ? | ? | ? |
| Obj_RandomPathMode | ? | ? | ? | ? |
| Obj_FollowPathStored | ? | ? | ? | ? |
| Obj_LookAtNode | ? | ? | ? | ? |
| Obj_LookAtPos | ? | ? | ? | ? |
| Obj_LookAtRelPos | ? | ? | ? | ? |
| Obj_LookAtObject | ? | ? | ? | ? |
| Obj_MoveToLink | ? | ? | ? | ? |
| Obj_MoveToNode | ? | ? | ? | ? |
| Obj_MoveToPos | ? | ? | ? | ? |
| Obj_MoveToRelPos | ? | ? | ? | ? |
| Obj_IsMoving | ? | ? | ? | ? |
| Obj_IsRotating | ? | ? | ? | ? |
| Obj_SetConstantHeight | ? | ? | ? | ? |
| Obj_FollowPath | ? | ? | ? | ? |
| Obj_FollowPathLinked | ? | ? | ? | ? |
| Obj_SetPathVelocity | ? | ? | ? | ? |
| Obj_SetPathAcceleration | ? | ? | ? | ? |
| Obj_SetPathDeceleration | ? | ? | ? | ? |
| Obj_SetPathMinStopVel | ? | ? | ? | ? |
| Obj_StopAlongPath | ? | ? | ? | ? |
| Obj_StartAlongPath | ? | ? | ? | ? |
| Obj_SetPathTurnDist | ? | ? | ? | ? |
| Obj_SetGroundOffset | ? | ? | ? | ? |
| Obj_PlayAnim | ? | ? | ? | ? |
| Obj_SetAnimCycleMode | ? | ? | ? | ? |
| Obj_AnimEquals | ? | ? | ? | ? |
| Obj_StickToGround | ? | ? | ? | ? |
| Obj_PathHeading | ? | ? | ? | ? |
| Obj_AnimComplete | ? | ? | ? | ? |
| Obj_SetException | ? | ? | ? | ? |
| Obj_ClearException | ? | ? | ? | ? |
| Obj_ClearExceptions | ? | ? | ? | ? |
| Obj_ExceptionTriggered | ? | ? | ? | ? |
| Obj_GotException | ? | ? | ? | ? |
| Obj_EnableExceptions | ? | ? | ? | ? |
| Obj_DisableExceptions | ? | ? | ? | ? |
| Die | ? | ? | ? | ? |
| Obj_SetInnerRadius | ? | ? | ? | ? |
| Obj_SetOuterRadius | ? | ? | ? | ? |
| Obj_FlagSet | ? | ? | ? | ? |
| Obj_FlagNotSet | ? | ? | ? | ? |
| Obj_SetFlag | ? | ? | ? | ? |
| Obj_ClearFlag | ? | ? | ? | ? |
| Obj_SpawnScript | ? | ? | ? | ? |
| Obj_KillSpawnedScript | ? | ? | ? | ? |
| Obj_SwitchScript | ? | ? | ? | ? |
| Obj_Visible | ? | ? | ? | ? |
| Obj_Invisible | ? | ? | ? | ? |
| Obj_ObjectInRadius | ? | ? | ? | ? |
| Obj_ObjectNotInRadius | ? | ? | ? | ? |
| Obj_ObjectInRect | ? | ? | ? | ? |
| Obj_ObjectNotInRect | ? | ? | ? | ? |
| Obj_VarSet | ? | ? | ? | ? |
| Obj_VarPrintf | ? | ? | ? | ? |
| Obj_VarPrint | ? | ? | ? | ? |
| Obj_VarInc | ? | ? | ? | ? |
| Obj_VarDec | ? | ? | ? | ? |
| Obj_VarAdd | ? | ? | ? | ? |
| Obj_VarSub | ? | ? | ? | ? |
| Obj_VarNeg | ? | ? | ? | ? |
| Obj_VarLE | ? | ? | ? | ? |
| Obj_VarLT | ? | ? | ? | ? |
| Obj_VarGE | ? | ? | ? | ? |
| Obj_VarGT | ? | ? | ? | ? |
| Obj_VarEQ | ? | ? | ? | ? |
| Obj_VarNE | ? | ? | ? | ? |
| Obj_VarAND | ? | ? | ? | ? |
| Obj_ApplyScaling | ? | ? | ? | ? |
| Obj_EnableScaling | ? | ? | ? | ? |
| Obj_DisableScaling | ? | ? | ? | ? |
| Obj_SetColor | ? | ? | ? | ? |
| Ped_AvoidSkater | ? | ? | ? | ? |
| BouncyObj_PlayerCollisionOn | ? | ? | ? | ? |
| BouncyObj_PlayerCollisionOff | ? | ? | ? | ? |
| BouncyObj_Go | ? | ? | ? | ? |
| MoveToRandomRestart | ? | ? | ? | ? |