Skip to content

Commit

Permalink
add and improve game variables description for issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
garsipal authored Jun 8, 2023
1 parent 099736b commit 969849e
Showing 1 changed file with 63 additions and 63 deletions.
126 changes: 63 additions & 63 deletions command_reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,66 +244,66 @@
<details>
<summary>Game</summary>

| Variable | Type | Min | Default | Max | Description |
| --------------------|--------------------|-----|---------|-------------|-------------|
| aidebug | Integer | 0 | 0 | 6 |
| aiforcegun | Integer | -1 | -1 | Max weapons |
| allycrosshair | Persistent Integer | 0 | 1 | 1
| animoverride | Integer |-1 | 0 | Max animations
| autoauth | Persistent integer | 0 | 1 | 1
| autoswitch | Persistent integer | 0 | 1 | 1
| blood | Persistent integer | 0 | 1 | 1
| chatsound | Persistent integer | 0 | 1 | 1
| deadpush | Persistent integer | 1 | 2 | 20
| deathfromabove | Persistent integer | 0 | 1 | 1
| dropwaypoints | Integer | 0 | 1 | 1
| footstepssound | Persistent integer | 0 | 1 | 1
| forceplayermodels | Persistent integer | 0 | 0 | 1
| gore | Persistent integer | 0 | 1 | 1
| goreeffect | Persistent integer | N/A | N/A | N/A
| hidedead | Persistent integer | 0 | 0 | 1
| highlightscore | Persistent integer | 0 | 1 | 1
| hitcrosshair | Persistent integer | 0 | 400 | 1000
| hitsound | Persistent integer | 0 | 0 | 2
| hudgun | Persistent integer | 0 | 1 | 1
| hudgunsway | Persistent integer | 0 | 1 | 1
| itemtrans | Persistent integer | 0 | 1 | 1
| killsound | Persistent integer | 0 | 1 | 2
| maxradarscale | Persistent integer | 0 | 1024 | 10000
| minimapalpha | Persistent float | 0 | 1 | 1
| minradarscale | Persistent integer | 0 | 384 | 10000
| muzzleflash | Persistent integer | 0 | 1 | 1
| playercolor | Persistent integer | 0 | 4 | Max colors
| playercolorblue | Persistent integer | 0 | 0 | Max blue colors
| playercolorred | Persistent integer | 0 | 0 | Max red colors
| playermodel | Persistent integer | 0 | 0 | Max player models
| playersearch | Persistent integer | 0 | 3 | 10
| playheadshotsound | Persistent integer | 0 | 1 | 2
| radarteammates | Persistent integer | 0 | 1 | 1
| ragdoll | Persistent integer | 0 | 1 | 1
| ragdollfade | Persistent integer | 0 | 400 | 5000
| ragdollmillis | Persistent integer | 0 | 10000 | 300000
| regensound | Persistent integer | 0 | 1 | 1
| showclientnum | Persistent integer | 0 | 1 | 1
| showconnecting | Persistent integer | 0 | 1 | 1
| showmodeinfo | Persistent integer | 0 | 1 | 1
| showping | Persistent integer | 0 | 1 | 1
| showpj | Persistent integer | 0 | 1 | 1
| showservinfo | Persistent integer | 0 | 1 | 1
| showspectators | Persistent integer | 0 | 1 | 1
| showwaypoints | Persistent integer | 0 | 1 | 1
| showwaypointsradius | Persistent integer | 0 | 200 | 10000
| smoothdist | Persistent integer | 0 | 32 | 64
| smoothmove | Persistent integer | 0 | 75 | 100
| specmode | Integer | 0 | 0 | 2
| swayrollfactor | Floating point | 1 | 3 | 30
| swayside | Floating point | 0 | 0.06f | 1
| swaystep | Floating point | 1 | 39.2f | 1
| swayup | Floating point | -1 | 0.11f | 1
| teamcolortext | Persistent integer | 0 | 1 | 1
| teleteam | Integer | 0 | 1 | 1
| testanims | Integer | 0 | 0 | 1
| testpitch | Integer | -90 | 0 | 90
| Variable | Type | Min | Default | Max | Description |
| --------------------|--------------------|-----|---------|-------------------|-------------|
| aidebug | Integer | 0 | 0 | 6 |
| aiforcegun | Integer | -1 | -1 | Max weapons | Forces the bots to use the specified weapon (offline mode only).
| allycrosshair | Persistent Integer | 0 | 1 | 1 | Controls whether the ally crosshair appears while the player is aiming at an ally.
| animoverride | Integer |-1 | 0 | Max animations | Imposes the specified animation on all animated entities.
| autoauth | Persistent integer | 0 | 1 | 1 |
| autoswitch | Persistent integer | 0 | 1 | 1 | Whether we automatically switch to a newly acquired weapon that was not previously in our arsenal.
| blood | Persistent integer | 0 | 1 | 1 | Enables or disables blood particles.
| chatsound | Persistent integer | 0 | 1 | 1 | Enables or disables the chat beep sound.
| deadpush | Persistent integer | 1 | 2 | 20 | Determines the amount by which the push on players' corpses is multiplied when the final hit is delivered.
| deathfromabove | Persistent integer | 0 | 1 | 1 | Determines whether or not the camera should look down on the player's corpse when they are dead.
| dropwaypoints | Integer | 0 | 0 | 1 | When enabled (set to 1), waypoints will be dropped for bots to follow wherever the player walks.
| footstepssound | Persistent integer | 0 | 1 | 1 | Controls whether or not footstep sounds are played.
| forceplayermodels | Persistent integer | 0 | 0 | 1 | If enabled (set to 1), all player models will be forced to have the same appearance.
| gore | Persistent integer | 0 | 1 | 1 | Determines whether or not players explode into a bunch of giblets when they are killed by an absurd amount of damage.
| goreeffect | Persistent integer | N/A | N/A | N/A | Type of gore effect.
| hidedead | Persistent integer | 0 | 0 | 1 | Controls whether players immediately disappear after being killed.
| highlightscore | Persistent integer | 0 | 1 | 1 | Controls whether or not our client should be highlighted on the scoreboard.
| hitcrosshair | Persistent integer | 0 | 400 | 1000 | Controls the duration, in milliseconds, for which the hit crosshair is visible after hitting an enemy.
| hitsound | Persistent integer | 0 | 0 | 2 | Determines whether a sound is played every time we hit a player.
| hudgun | Persistent integer | 0 | 1 | 1 | Controls whether the first-person weapon and arms are rendered or not.
| hudgunsway | Persistent integer | 0 | 1 | 1 | Controls whether the first-person weapon sways when moving or remains steady.
| itemtrans | Persistent integer | 0 | 1 | 1 | Determines the rendering behavior of unavailable items. When set to 1, unavailable items will appear transparent. When set to 0, unavailable items will not be rendered at all.
| killsound | Persistent integer | 0 | 1 | 2 | Determines whether a ping sound is played every time we kill a player.
| maxradarscale | Persistent integer | 0 | 1024 | 10000 |
| minimapalpha | Persistent float | 0 | 1 | 1 |
| minradarscale | Persistent integer | 0 | 384 | 10000 |
| muzzleflash | Persistent integer | 0 | 1 | 1 | Determines whether the muzzle flash particle of the gun will appear or not when shooting.
| playercolor | Persistent integer | 0 | 4 | Max colors | Specifies the color of the player's skin.
| playercolorblue | Persistent integer | 0 | 0 | Max blue colors | Specifies the skin color of the player on Team Aesir.
| playercolorred | Persistent integer | 0 | 0 | Max red colors | Specifies the skin color of the player on Team Vanir.
| playermodel | Persistent integer | 0 | 0 | Max player models | Specifies the player model our player should use.
| playersearch | Persistent integer | 0 | 3 | 10 |
| playheadshotsound | Persistent integer | 0 | 1 | 2 | Determines whether headshots will produce a distinct sound.
| radarteammates | Persistent integer | 0 | 1 | 1 | Determines whether teammates are visible in the radar.
| ragdoll | Persistent integer | 0 | 1 | 1 | Allows enabling or disabling ragdoll physics for models that support them.
| ragdollfade | Persistent integer | 0 | 400 | 5000 | Represents the duration in milliseconds that ragdolls take to fade completely.
| ragdollmillis | Persistent integer | 0 | 10000 | 300000 | Determines the duration in milliseconds for which ragdolls remain visible before they start to fade.
| regensound | Persistent integer | 0 | 1 | 1 | Controls whether or not a sound is played while players regenerate health.
| showclientnum | Persistent integer | 0 | 1 | 1 | Controls whether to display the client number of players on the scoreboard or not.
| showconnecting | Persistent integer | 0 | 1 | 1 | Controls whether or not to display connecting players on the scoreboard.
| showmodeinfo | Persistent integer | 0 | 1 | 1 | Controls whether or not a console message is displayed, showing gamemode and mutators information at the start of the game.
| showping | Persistent integer | 0 | 1 | 1 | Controls whether to display the ping of players on the scoreboard or not.
| showpj | Persistent integer | 0 | 1 | 1 | Controls whether to display the PJ (packet jump) of players on the scoreboard or not.
| showservinfo | Persistent integer | 0 | 1 | 1 | Controls whether to display server information such as server name and IP on the scoreboard.
| showspectators | Persistent integer | 0 | 1 | 1 | Controls whether a list of spectators should be displayed on the scoreboard or not.
| showwaypoints | Persistent integer | 0 | 1 | 1 | Controls the visibility of bot waypoints.
| showwaypointsradius | Persistent integer | 0 | 200 | 10000 |
| smoothdist | Persistent integer | 0 | 32 | 64 |
| smoothmove | Persistent integer | 0 | 75 | 100 |
| specmode | Integer | 0 | 0 | 2 | Controls which spectator mode is enabled (free roam, following in first person or third person).
| swayrollfactor | Floating point | 1 | 3 | 30 | Multiplies the camera roll by the specified amount and applies it to the first-person weapon and arms.
| swayside | Floating point | 0 | 0.06f | 1 | Determines the amount of side sway for the first-person weapon.
| swaystep | Floating point | 1 | 39.2f | 1 |
| swayup | Floating point | -1 | 0.11f | 1 | Controls the amount of vertical sway that affects our first-person avatar.
| teamcolortext | Persistent integer | 0 | 1 | 1 | Controls whether console messages use team colors for player names or not.
| teleteam | Integer | 0 | 1 | 1 | Whether or not to disable teleports in team modes.
| testanims | Integer | 0 | 0 | 1 | If set to 1, this variables operates similarly to "/thirdperson 2", but the yaw of our player is locally unchanged to facilitate animation testing.
| testpitch | Integer | -90 | 0 | 90 | Sets player model pitch to the specified number.

</details>

Expand Down Expand Up @@ -361,9 +361,9 @@
| auth |
| authkey |
| authkick |
| botadd | 1 | Adds a bot with a random player model and name and the skill specified by the first argument.
| botadd | 1 | Adds a bot with a random player model and name, using the skill level specified as the first argument. It can be used offline or by players with a certain level of privilege on the server.
| botbalance |
| botdel | N/A | Kicks the most recent bot that was added.
| botdel | N/A | Kicks the most recent bot that was added. It can be used offline or by players with a certain level of privilege on the server.
| botlimit | |
| checkmaps | |
| clearbans | N/A | Clears every ban that has been issued. Bans are automatically cleared when a server is empty.
Expand Down Expand Up @@ -447,7 +447,7 @@
| loopscoreboard | |
| map | |
| mastermode | |
| melee | |
| melee | N/A | Performs a melee attack.
| mode | |
| movewaypoints | |
| mutator | |
Expand Down

0 comments on commit 969849e

Please sign in to comment.