Repository navigation
Commands 50 Mod settings
Descriptions for commands that are modifiable through the OPTIONS -> CLASSICS PATCH -> Custom mod settings menu.
These commands are usable in a special mod that comes with the patch. They can be used in the main game and are not exclusive to the mod itself (if custom mod isn't disabled).
-
gam_strClassicsPatchTheme- Path to the game theme config that needs to be loaded.-
Scripts\\ClassicsPatch\\Themes\\01_TFE.iniby default in The First Encounter -
Scripts\\ClassicsPatch\\Themes\\03_TSE.iniby default in The Second Encounter
-
-
gam_bShowPointerInBorderless- Toggle display of game's mouse pointer in borderless window mode (ON by default). -
cmp_bBigFont- Toggle bigger font in NETRICSA that also scales with resolution higher than 720p (ON by default). -
cmp_fBigFontScale- Additional scaling of the bigger font in NETRICSA (1.0by default). -
con_tmConsoleFade- Animation speed for opening and closing the console (0.5by default). -
con_iBigFont- Toggle bigger font in console that also scales with resolution (0by default).-
0- Never big font. -
1- Only for last lines (for better readability of chat messages). -
2- Always on, including opened console.
-
-
con_fBigFontScale- Additional scaling of the bigger font in console (1.0by default). -
con_bTabHelpInfo- Whether to add useful information to symbols when they are displayed in the console's autocomplete using the Tab key (ON by default).
-
gam_bDisableLocalPrediction- Toggle local player prediction to eliminate player jittering while playing on servers (using non-LAN connection setting) with latency below 50ms (-1by default).-
-1- Automatic (disables local prediction when latency goes below 50ms) -
0- Enable local prediction (vanilla logic) -
1- Disable local prediction
-
-
gam_fPredictionToggleThreshold- Latency threshold in milliseconds, under which to disable local prediction, ifgam_bDisableLocalPredictionis set to auto (50.0by default). -
plr_bStaticThirdPersonAngle- Lock pitch angle of the third person view instead of dynamically tilting it towards the crosshair to keep it centered (OFF by default).
Warning
This command may not work very well with hud_bCrosshairFixed turned on and may result in the crosshair being displayed higher than the actual targeted position.
-
plr_iSpawnInvulIndicator- Toggle indication of spawn invulnerability for local players, as if Invulnerability powerup is being activated upon respawning (2by default).-
0- Disabled -
1- Only shows Invulnerability icon -
2- Shows the icon and plays the powerup pickup sound
-
-
gfx_bAdjustModelHolderMipFactor- Toggle mip factor adjustments ofModelHolder2entities to allow them to fade into the distance for optimization purposes (ON by default). -
gam_iCustomBloodColor- Custom client-side color for blood particles, stains and flesh (0xFF0000FF- red by default). -
gam_iCustomBloodTheme- Custom client-side theming for blood and gibs (0by default).-
0- Automatically changes based on seasonal events; defaults to1otherwise -
1- Simple coloring usinggam_iCustomBloodColor -
2- Forced color override usinggam_iCustomBloodColor; uses brighter texture for the gibs -
3- Hippie mode with flowers and fruit from the vanilla game -
4- Party mode -
5- Christmas mode
-
-
wpn_bTSECannon- Toggles alignment of the Cannon weapon viewmodel between The First Encounter and The Second Encounter (default state depends on the game). -
wpn_bViewMirrored- Weapon viewmodel mirroring, a.k.a. left-handed mode (OFF by default). -
wpn_bPowerUpParticles- Displays particles of active power-ups on the weapon viewmodel (OFF by default).
Viewmodel customization for all weapons at once.
-
wpn_fViewPosX- Viewmodel position addition by the X axis (0.0by default). -
wpn_fViewPosY- Viewmodel position addition by the Y axis (0.0by default). -
wpn_fViewPosZ- Viewmodel position addition by the Z axis (0.0by default). -
wpn_fViewPosH- Viewmodel rotation addition by the H angle (0.0by default). -
wpn_fViewPosP- Viewmodel rotation addition by the P angle (0.0by default). -
wpn_fViewPosB- Viewmodel rotation addition by the B angle (0.0by default). -
wpn_fViewFOV- Viewmodel FOV multiplication (1.0by default).
Viewmodel customization per specific weapon type. Each index corresponds to a value from the WeaponType enum in the PlayerWeapons class.
-
wpn_afAddPosX[20]- Viewmodel position addition per specific weapon by the X axis (0.0by default). -
wpn_afAddPosY[20]- Viewmodel position addition per specific weapon by the Y axis (0.0by default). -
wpn_afAddPosZ[20]- Viewmodel position addition per specific weapon by the Z axis (0.0by default). -
wpn_afAddPosH[20]- Viewmodel rotation addition per specific weapon by the H angle (0.0by default). -
wpn_afAddPosP[20]- Viewmodel rotation addition per specific weapon by the P angle (0.0by default). -
wpn_afAddPosB[20]- Viewmodel rotation addition per specific weapon by the B angle (0.0by default). -
wpn_afAddFOV[20]- Viewmodel FOV addition per specific weapon (0.0by default).
Default viewmodel values in vanilla game
This is a reference table of viewmodel values in the vanilla game that you can use in order to cancel out the default viewmodel offsets, if you need.
| Weapon | XYZ position offset | HPB rotation offset | FOV |
|---|---|---|---|
| Knife (1) |
0.23; -0.28; -0.44
|
-1; 10; 6
|
41.5 |
| Chainsaw (10) |
0.125; -0.29; -0.405
|
5; 6; -1
|
73.5 |
| Colt (2) / Double Colt (3) |
0.19; -0.21; -0.1
|
-1; 0 0
|
57 |
| Single Shotgun (4) |
0.12; -0.22; -0.34
|
2; 2; 0
|
41 |
| Double Shotgun (5) |
0.13; -0.21; -0.364
|
2; 1; 0
|
52.5 |
| Tommygun (6) |
0.121; -0.213; -0.285
|
4; 3; 0
|
49 |
| Minigun (7) |
0.137; -0.24; -0.328
|
2; 0; 0
|
66.9 |
| Rocket Launcher (8) |
0.17; -0.325; -0.24
|
2; 1; 0
|
66 |
| Grenade Launcher (9) |
0.14; -0.41; -0.335001
|
2; 6; 0
|
44.5 |
| Flamethrower (11) |
0.204; -0.306; -0.57
|
4.6; 2.8; 0
|
50 |
| Sniper Rifle (13) |
0.095; -0.26; -0.85
|
4; 2.5; -0.5
|
23 |
| Laser Rifle (12) |
0.141; -0.174; -0.175
|
1; 3; 0
|
70.5 |
TFE Cannon (14) |
0.225; -0.345; -0.57
|
2.5; 6; 0
|
57 |
TSE Cannon (14) |
0.17; -0.3; -0.625
|
2.5; 6; 0
|
50 |
-
gam_bObserverViewOverlay- Display observer view windows over the main view instead of to the side during the game (ON by default). -
gam_bObserverViewBackground- Cover empty space under the observer view windows with a simple background, ifgam_bObserverViewOverlayis disabled (ON by default). -
gam_fObserverViewSize- Set the percentage of how much of the main screen will be used for observer view windows (0.25by default). -
gam_bVerticalSplitScreen- Place split-screen views side by side for two players on a single screen, e.g. 2 players on a normal resolution or 3-4 players in dualhead mode (OFF by default).
Relevant functionality that isn't usable or configurable via these options.
-
ResetWeaponPosition()- Resets viewmodel commands for all weapons to default values. -
ResetPerWeaponPositions()- Resets viewmodel commands per specific weapon to default values.
Arrays for adding values to each controls axis for mimicking joysticks using keyboard keys:
-
ctl_afAddTranslation[3]- Values to add to each translation axes per local player. -
ctl_afAddRotation[3]- Values to add to each rotation axes per local player. -
ctl_afAddViewRotation[3]- Values to add to each view rotation axes per local player.
Designed and developed by Dreamy Cecil since 2022