Skip to content

Commands Plugins

Dreamy Cecil edited this page May 28, 2024 · 3 revisions

List of commands introduced by specific plugins bundled with Serious Sam Classics Patch.

Accessibility

  • axs_bRedScreenOnDamage - Toggle screen reddening upon taking damage (enabled by default).

Advanced HUD

Main commands

  • ahud_bEnable - Toggle between vanilla HUD and the plugin HUD.
  • ahud_iTheme - Customize HUD theme (0 by default in TFE; 2 by default in TSE).
    • 0 - The First Encounter theme.
    • 1 - Seriously Warped Deathmatch theme.
    • 2 - The Second Encounter theme.
    • 3 - Revolution theme.
  • ahud_iScreenEdgeX - Set offset from horizontal edges of the screen (5 by default).
  • ahud_iScreenEdgeY - Set offset from vertical edges of the screen (5 by default).
  • ahud_bIconShake - Toggle shaking of HUD icons whenever values that they represent change (enabled by default).
  • ahud_fScopeAlpha - Set opacity of the sniper scope in the 0-1 range (1 by default) [Only for TSE].
  • ahud_bScopeColoring - Toggle colorization of the zoom wheel based on the health level of a target (disabled by default) [Only for TSE].
  • ahud_iShowPlayerPing - Display ping of each player next to their stats in the player list (0 by default).
    • 0 - Disabled.
    • 1 - Display ping in milliseconds.
    • 2 - Display ping as a signal strength.
  • ahud_bDecoratedNames - Toggle display of decorations, such as color tags, in player names (enabled by default).
  • ahud_bShowAmmoRow - Toggle display of available ammo in the bottom right corner (enabled by default).
  • ahud_bShowDepletedAmmo - Toggle display of ammunition icons even when the weapon is out of ammo (enabled by default).
  • ahud_bShowHighScore - Toggle display of high score on the top of the screen (enabled by default).
  • ahud_bShowLives - Toggle display of remaining lives (credits) above the messages in Cooperative mode (enabled by default).
  • ahud_iPlayerTags - Display tags above players in Cooperative mode that are visible from anywhere (2 by default).
    • 0 - Disabled.
    • 1 - Only marker.
    • 2 - Marker and player name.
    • 3 - Marker, name and relative distance.
  • ahud_bTagsInDemos - Display player tags regardless of gamemode that the demo was recorded on, such as Fragmatch (enabled by default).
  • ahud_bTagsForObservers - Display player tags regardless of gamemode while observing an active game, such as Fragmatch (enabled by default).
  • hud_bShowClock - Reimplementation of a TSE command in TFE because the HUD supports it (disabled by default).
  • hud_bShowMatchInfo - Reimplementation of a TSE command in TFE because the HUD supports it (enabled by default).

HUD colorization

These commands can be used to customize HUD colors. They accept colors in the RGB format and can be specified as HEX values in the range 0x000000 - 0xFFFFFF (no alpha channel).

  • ahud_bColorize - Toggle custom colorization of the HUD (disabled by default).
  • ahud_strColorPreset - Dummy command for loading a new preset script.
  • ahud_iColorBase - Base color of the HUD, e.g. borders and player stats.
  • ahud_iColorIcon - Color of normal icons, e.g. health, armor and weapon on screen.
  • ahud_iColorNames - Color of player names in the player list and player tags.
  • ahud_iColorWeapon - Color of weapon icons in the weapon selection list.
  • ahud_iColorSelect - Color of a selected element, e.g. weapon in the selection list or ammo of the current weapon in the row.
  • ahud_iColorMax - Color of the "over top" value, e.g. health above 100.
  • ahud_iColorTop - Color of the "top" value, e.g. health in the 50-100 range.
  • ahud_iColorMid - Color of the "middle" value, e.g. health in the 25-49 range.
  • ahud_iColorLow - Color of the "low" value, e.g. health and ammo close to 0.

Local Cheats

Keep in mind that these commands are not multiplayer synchronized and, as a result, have been banned from use on remote servers to prevent unnecessary desynchronizations with others.

And if you use them as the server host, it will desynchronize and kick all of the clients!

  • cht_WallWalking() - Toggle wall walking for all local players.
  • cht_Noclip() - Toggle noclip mode for all local players.
  • cht_Trigger() - Trigger entities at the crosshair position for all local players.
  • cht_SetHealth(INDEX) - Set some health for all local players.
    • Example: cht_SetHealth(1000) - Sets 1000 health for all players.
  • cht_CreateWeapon(INDEX) - Create WeaponItem of a specific type at all local players.
    • Example: cht_CreateWeapon(4) - Creates Tommygun weapon.
  • cht_CreateAmmo(INDEX) - Create AmmoItem of a specific type at all local players.
    • Example: cht_CreateAmmo(2) - Creates Bullets ammo.
  • cht_CreateHealth(INDEX) - Create HealthItem of a specific type at all local players.
    • Example: cht_CreateHealth(0) - Creates Pill health.
  • cht_CreateArmor(INDEX) - Create ArmorItem of a specific type at all local players.
    • Example: cht_CreateArmor(3) - Creates Strong armor.
  • cht_CreatePowerUp(INDEX) - Create PowerUpItem of a specific type at all local players.
    • Example: cht_CreatePowerUp(4) - Creates Serious Bomb power-up.
  • cht_iAutoKill - Kill alive enemies every game tick. 0 - disabled; 1 - only enemies that can see you; 2 - all enemies.
  • cht_fAutoKillRange - How close the enemies should be for the autokill cheat to affect them (256.0 by default).

Server Utilities

These commands are mostly usable while setting up a dedicated server via a config file, rather than the in-game console, so some of these commands won't appear in the console upon autocompletion (such as item type replacements).

If a command specifies a numerical range at the end, it means that the actual command should have a specific integer at the end of it, e.g. sutl_iGiveWeapon1 is one of the commands in sutl_iGiveWeapon<0 - 30>, while sutl_iGiveWeapon and sutl_iGiveWeapon31 are not.

Server settings

  • sutl_iActionButtons - Mask of action buttons that are allowed to be used by clients. Can be dynamically toggled during the game (0xFFFFFFFF - all buttons enabled by default).

Note

Each bit in the mask corresponds to a button in CPlayerAction::pa_ulButtons mask and uses the same flags as constants from Player.es starting with PLACT_ (e.g. PLACT_WEAPON_NEXT).

  • sutl_iThirdPersonViewButton - Specifies which button is used to toggle third person view. When set to anything but -1, it also prevents player characters from toggling "Prefer 3rd person view" option (-1 by default).

Note

In vanilla game it's defined as the 8th bit in the button mask based on the fact of PLACT_3RD_PERSON_VIEW defined as (1 << 7). So in order to disable third person view, the value of 7 should be used.

World settings

  • sutl_fStartHealth - Set new starting health on all PlayerStart markers (100.0 by default).
  • sutl_fStartArmor - Set new starting armor on all PlayerStart markers (0.0 by default).
  • sutl_fEnemyMultiplier - Multiply amount of enemies from enemy spawners (1.0 by default).
  • sutl_bMaxAmmo - Give maximum amount of ammo on start (disabled by default).
  • sutl_iGiveWeapon<0 - 30> - Give out (1) or take away (0) a specific weapon on start (-1 - ignored by default).

Item settings

  • sutl_iWeaponType<0 - 30> - Replace specific weapon item type with another type or remove it using -1 (-100 - ignored by default).
  • sutl_iAmmoType<0 - 30> - Replace specific ammo item type with another type or remove it using -1 (-100 - ignored by default).
  • sutl_iHealthType<0 - 14> - Replace specific health item type with another type or remove it using -1 (-100 - ignored by default).
  • sutl_iArmorType<0 - 14> - Replace specific armor item type with another type or remove it using -1 (-100 - ignored by default).
  • sutl_iPowerUpType<0 - 14> - Replace specific power up item type with another type or remove it using -1 (-100 - ignored by default).
  • sutl_iReplaceWeapons - Replace all weapon items (that haven't been specifically replaced) with a certain type (-1 - ignored by default).
  • sutl_iReplaceAmmo - Replace all ammo items (that haven't been specifically replaced) with a certain type (-1 - ignored by default).
  • sutl_iReplaceHealth - Replace all health items (that haven't been specifically replaced) with a certain type (-1 - ignored by default).
  • sutl_iReplaceArmor - Replace all armor items (that haven't been specifically replaced) with a certain type (-1 - ignored by default).

Sandbox commands (not multiplayer synchronized!)

These commands can be scheduled before the game starts (before loading in the world for dedicated servers) or executed during the game by the server client.

  • sutl_DeleteEntity(EntityID) - Delete an entity under a specific ID.
  • sutl_InitEntity(EntityID) - Inititalize/reinitialize an entity under a specific ID.
  • sutl_SetEntityPosition(EntityID, X, Y, Z) - Move entity under a specific ID to a new position.
  • sutl_SetEntityRotation(EntityID, H, P, B) - Rotate entity under a specific ID on its position (Heading, Pitch, Banking).
  • sutl_SetEntityProperty(EntityID, PropertyName, ValueAsString) - Change property of an entity under a specific ID by its name.
    • Integer, boolean or type. For example: "0".
    • Float number or range. For example: "1.0".
    • String or path to a file. For example: "Sounds\\Default.wav".
    • Entity ID for an entity pointer. For example: "100".
    • 3D vector or angle. For example: "180.0, 45.0, 0.0".
  • sutl_ParentEntity(EntityID, ParentID) - Parent an entity under a specific ID to another entity by ID.

Command scheduling

  • sutl_ListScheduledCommands() - Show all sandbox commands that have been scheduled for the next server start.
  • sutl_ClearScheduledCommands() - Clear all sandbox commands that have been scheduled for the next server start.