Skip to content
This repository was archived by the owner on Mar 20, 2025. It is now read-only.

Console commands

Dreamy Cecil edited this page Jul 3, 2022 · 3 revisions

This Serious Sam patch includes a number of its own commands for manipulating new features or just disabling them.

Values of commands from the patch are stored in Scripts/CustomSymbols.ini config file but only if they've been changed at least once.

Functions

  • PatchInfo() - Display information about the patched executable. Includes release version number.
  • cht_WallWalking() - Toggle wall walking for all local players (not multiplayer synchronized!).
  • cht_Noclip() - Toggle noclip mode for all local players (not multiplayer synchronized!).
  • cht_SetHealth(INDEX) - Set some health for all local players (not multiplayer synchronized!).
    • Example: cht_SetHealth(1000) - Sets 1000 health for all players.
  • cht_CreateWeapon(INDEX) - Create WeaponItem of a specific type at all local players (not multiplayer synchronized!).
    • Example: cht_CreateWeapon(4) - Creates Tommygun item.

Commands

  • sam_bBackgroundGameRender - Keep rendering the game while in menu instead of the menu background (enabled by default).
  • sam_bAdjustForAspectRatio - Set screen's wide adjustment according to the aspect ratio of the game window; fixes HUD display on wide resolutions (enabled by default; replaces sam_bWideScreen).
  • sam_bOptionTabs - Toggle config option separation by tabs on the left (enabled by default).
  • sam_bUseVerticalFOV - Adjust player view FOV according to the aspect ratio of the game window (enabled by default).
  • sam_fCustomFOV - Set custom FOV for the player view regarding of gamemode in the 60-110 range (set to -1 by default).
  • sam_fThirdPersonFOV - Set custom FOV specifically for the player's third person view in the 60-110 range (set to -1 by default).
  • sam_bFixMipDistance - Adjust mip distances according to the aspect ratio of the game window (enabled by default).
  • sam_bFixViewmodelFOV - Adjust FOV of weapon viewmodels according to the aspect ratio of the game window (enabled by default).
  • sam_bCheckFOV - Display currently set horizontal and vertical FOV.
  • sam_bRedScreenOnDamage - Toggle screen reddening upon taking damage (enabled by default).
  • ms_strGameAgentMS - Master server IP to use for GameAgent (master.333network.com by default).
  • ms_strMSLegacy - Master server IP to use for Legacy master server (master.333network.com by default).
  • ms_strDarkPlacesMS - Master server IP to use for DarkPlaces (192.168.1.4 by default).
  • ms_bDebugOutput - Display debug information while interacting with the master server (disabled by default).
  • ms_iProtocol - Which master server protocol to use (set to MS_LEGACY by default).
    • 0 / MS_LEGACY - Legacy master server protocol (GameSpy replacement).
    • 1 / MS_DARKPLACES - DarkPlaces protocol.
    • 2 / MS_GAMEAGENT - GameAgent protocol (from SE1.10).

Debug functions

  • ListPatches() - Display all available function patches under their respective index.
  • EnablePatch(INDEX) - Set function patch under some index.
    • Example: EnablePatch(0) - Sets patch under the first index.
  • DisablePatch(INDEX) - Remove function patch under some index.
    • Example: DisablePatch(0) - Removes patch under the first index.

Clone this wiki locally