Perfect Dark Source: CVars: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (clean up, added underlinked tag)
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
==Teamplay CVars==
{{Underlinked|date=January 2024}}


<noinclude>{{lang|Perfect Dark Source: CVars}}
== Teamplay CVars ==
Deathmatch and teamplay are controlled with two console variables (cvar): ''mp_maxteams'' and ''mp_teamsize''. And a helper cvar ''mp_freeforall''.
Deathmatch and teamplay are controlled with two console variables (cvar): ''mp_maxteams'' and ''mp_teamsize''. And a helper cvar ''mp_freeforall''.


* '''mp_maxteams'''
* '''mp_maxteams'''
: Defines the number of teams that will be available to players. It can take values from 0 to 4. When 0, the freeforall mode will be activated.
: Defines the number of teams that will be available to players. It can take values from 0 to 4. When 0, the FFA mode will be activated.


* '''mp_teamsize'''
* '''mp_teamsize'''
Line 22: Line 24:
: If 1, teammates may hurt each other.
: If 1, teammates may hurt each other.


 
== Gametype CVars ==
 
==Gametype CVars==
 
* '''mp_gamemode'''
* '''mp_gamemode'''
: When set, changes the gamemode. Possible values:
: When set, changes the gamemode. Possible values:
Line 31: Line 30:
:: popacap
:: popacap
:: kingofthehill
:: kingofthehill
: {{note|Depending on the gamemode, the change may be inmediate or after a level change.}}
: {{note|Depending on the gamemode, the change may be immediate or after a level change.}}


* '''mp_koth_capture_time'''
* '''mp_koth_capture_time'''
Line 57: Line 56:
: Wait this time before selecting a new cap.
: Wait this time before selecting a new cap.


 
== Scoring CVars ==
 
==Score CVars==
* '''mp_freefrags'''
* '''mp_freefrags'''
: If 1, killing players won't award frag points.
: If 1, killing players won't award frag points.
Line 66: Line 63:
: If 0, suicides (kill command, falling, death by own explosion, etc) won't count as negative score.
: If 0, suicides (kill command, falling, death by own explosion, etc) won't count as negative score.


 
== Others ==
 
==Others==
 
* '''crosshair_fademode'''
* '''crosshair_fademode'''
: 0 no fade, 1 flicker running, 2 flicker walking.
: 0 no fade, 1 flicker running, 2 flicker walking.


* '''current_ambient_time'''
* '''current_ambient_time'''
: What's the current time ingame.
: What's the current time in-game.
 
* '''ambient_time_scale'''
: A real life second equals to how many in-game?


* '''mp_fraglimit'''
* '''mp_fraglimit'''
Line 93: Line 90:


* '''mp_weaponstay'''
* '''mp_weaponstay'''
: Weapons don't dissapear after being picked up.
: Weapons don't disappear after being picked up.


* '''pdark_hud_radar'''
* '''mp_halo'''
: 0 Disables radar.
: 1 enables a Halo style health system.
 
* '''sv_glasscannon'''
: If 1, players kill in a single shot. Doesn't affect drown, fall, or time based damage.
 
* '''hudradar_display'''
: 1 displays radar.


* '''pdark_hud_radar_max_radius'''
* '''pdark_hud_radar_max_radius'''
Line 103: Line 106:
* '''sv_infiniteammo'''
* '''sv_infiniteammo'''
: If 1, player's will carry 999 ammo of any type.
: If 1, player's will carry 999 ammo of any type.
* '''sv_noreloads'''
: If 1, weapons won't use magazines hence no reloads.


* '''sv_item_respawn_time'''
* '''sv_item_respawn_time'''
: Time in seconds, how long will it take [[Perfect_Dark_Source:_item_weaponset|item weaponset]] to respawn an item.
: Time in seconds, how long will it take [[Perfect Dark Source: item weaponset|item weaponset]] to respawn an item.


* '''sv_kill_at_respawn'''
* '''sv_kill_at_respawn'''
Line 120: Line 126:


* '''sv_weapon_respawn_time'''
* '''sv_weapon_respawn_time'''
: Time in seconds, how long will it take [[Perfect_Dark_Source:_item_weaponset|item weaponset]] to respawn a weapon.
: Time in seconds, how long will it take [[Perfect Dark Source: item weaponset|item weaponset]] to respawn a weapon.


==Client CVars==
* '''move_strafespeedstyle'''
: Defaults to 1. A value of 0 will allow 1.41% speed diagonal movement (too fast), a value of 1 a lower increased speed, and 2 will set 'realistic' speed.


== Client CVars ==
* '''cl_ejectbrass'''
* '''cl_ejectbrass'''
: If 1, weapons will eject bullet shells when firing.
: If 1, weapons will eject bullet shells when firing.


* '''cl_autoswitchweapon'''
: Defaults to 1, if 1 the game automatically switches to new, stronger weapons picked up.
* '''cl_autoswitchonempty'''
: Defaults to 1, if 1 the game automatically switches to another weapon when the current one is empty.
* '''pp_draw_timeofday'''
: Defaults to 0, if 1 the game enables rendering changes and other effects to represent dynamic time of the day in maps.


==Beta Debugging CVars==
== Beta debugging CVars ==
* '''wdmg_***'''
* '''wdmg_***'''
: Change weapon damage, if you dislike the damage of certain weapon or firemode, try finding a good value for it using these cvars.
: Change weapon damage, if you dislike the damage of certain weapon or fire mode, try finding a good value for it using these cvars.


* '''mp_wdmgratio***'''
* '''mp_wdmgratio***'''
: Divide all weapon damage value (default:1), if set to 2 all damage of all weapon are divided by 2.
: Divide all weapon damage value (default:1), if set to 2 all damage of all weapon are divided by 2.


* '''wheadshot_blur_factor'''
* '''wheadshot_blur_factor'''
: A factor (multiplier) for headshot blur. Lower to decrease blur.
: A factor (multiplier) for headshot blur. Lower to decrease blur.
* '''wheadshot_kick_factor'''
: A factor (multiplier) for headshot view kick. Lower to decrease kick.


* '''blur_explosion_factor'''
* '''blur_explosion_factor'''
: A factor (multiplier) for explosion blur. Lower to decrease blur.
: A factor (multiplier) for explosion blur. Lower to decrease blur.


* '''wmelee_add_blur'''
: A constant blur value that gets added with melee attacks.
* '''blur_restore_rate'''
: Blur recovered per second. Max blur a player may have is 255.


* '''wdmg_blur_factor'''
: A factor (multiplier) for any damage related blur. Lower to decrease blur.


*'''blurmin_movement'''
: Constant blur while dashing.


{{otherlang:en}} {{otherlang:en:fr|Perfect_Dark_Source:_CVars:fr}}
[[Category:Perfect Dark Source]]
[[Category:Perfect Dark Source]]

Latest revision as of 10:25, 5 January 2024

Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)Deutsch (de)Español (es)Français (fr)Translate (Translate)

Teamplay CVars

Deathmatch and teamplay are controlled with two console variables (cvar): mp_maxteams and mp_teamsize. And a helper cvar mp_freeforall.

  • mp_maxteams
Defines the number of teams that will be available to players. It can take values from 0 to 4. When 0, the FFA mode will be activated.
  • mp_teamsize
Defines the maximum number of players on a single team, requires a positive integer. When 0, there's no limit to the number of players able to join a team.
  • mp_freeforall
When set to 1, mp_maxteams and mp_teamsize will be set both to 0. And viceversa, if mp_maxteams and mp_teamsize are set both to 0, mp_freeforall will be set to 1. When 1, the player coloring, team selection menu and scoreboard will change to reflect the free-for-all (deathmatch) mode.
When set to 0, mp_maxteams will be set to 4 and mp_teamsize to 2, creating four teams of two players each.
  • mp_team_together
When set to 0, player and zone spawns belonging to green team (allows any team) will be active.
When set to 1, the green team will be disabled. Spawning players from the same team together is left to the level designer.
Note.pngNote:In Hammer, -2 is the number of the green team.
  • mp_friendlyfire
If 1, teammates may hurt each other.

Gametype CVars

  • mp_gamemode
When set, changes the gamemode. Possible values:
combat
popacap
kingofthehill
Note.pngNote:Depending on the gamemode, the change may be immediate or after a level change.
  • mp_koth_capture_time
How long it takes for a team to become king of a hill.
  • mp_koth_score
How many score points a team earns after taking the hill.
  • mp_koth_uptime
How long to keep a zone active before deactivating it.
  • mp_koth_wait
How long to wait before activating a new zone.
  • mp_cappopbonus
How many score points to award a player that kills the cap.
  • mp_caplivetime
How long in seconds should the cap survive in order to earn points.
  • mp_caplivebonus
How many score points to award a surviving cap.
  • mp_cap_wait
Wait this time before selecting a new cap.

Scoring CVars

  • mp_freefrags
If 1, killing players won't award frag points.
  • mp_suicidecounts
If 0, suicides (kill command, falling, death by own explosion, etc) won't count as negative score.

Others

  • crosshair_fademode
0 no fade, 1 flicker running, 2 flicker walking.
  • current_ambient_time
What's the current time in-game.
  • ambient_time_scale
A real life second equals to how many in-game?
  • mp_fraglimit
Frags value required to win a game. The game may end before if mp_timelimit is reached or mp_scorelimit.
Will not work if mp_freefrags is active.
  • mp_scorelimit
Score required to win a game. The game may end before if mp_timelimit is reached or mp_fraglimit.
  • mp_timelimit
Time in minutes before automatic changelevel. 0 equals infinite.
  • mp_chattime
Time to wait before changing the level after mp_timelimit, mp_scorelimit or mp_fraglimit are met.
  • mp_nojump
1 disables jumping.
  • mp_weaponstay
Weapons don't disappear after being picked up.
  • mp_halo
1 enables a Halo style health system.
  • sv_glasscannon
If 1, players kill in a single shot. Doesn't affect drown, fall, or time based damage.
  • hudradar_display
1 displays radar.
  • pdark_hud_radar_max_radius
Radar radius.
  • sv_infiniteammo
If 1, player's will carry 999 ammo of any type.
  • sv_noreloads
If 1, weapons won't use magazines hence no reloads.
  • sv_item_respawn_time
Time in seconds, how long will it take item weaponset to respawn an item.
  • sv_kill_at_respawn
If we can't find a spawn point, kill anyone close to force a respawn.
  • sv_realisticreloads
Player loses ammo on magazine when they do a speed reload. It is off by default not to annoy players.
  • sv_startarmor
Players start with this much armor.
  • sv_starthealth
Players start with this much health.
  • sv_weapon_respawn_time
Time in seconds, how long will it take item weaponset to respawn a weapon.
  • move_strafespeedstyle
Defaults to 1. A value of 0 will allow 1.41% speed diagonal movement (too fast), a value of 1 a lower increased speed, and 2 will set 'realistic' speed.

Client CVars

  • cl_ejectbrass
If 1, weapons will eject bullet shells when firing.
  • cl_autoswitchweapon
Defaults to 1, if 1 the game automatically switches to new, stronger weapons picked up.
  • cl_autoswitchonempty
Defaults to 1, if 1 the game automatically switches to another weapon when the current one is empty.
  • pp_draw_timeofday
Defaults to 0, if 1 the game enables rendering changes and other effects to represent dynamic time of the day in maps.

Beta debugging CVars

  • wdmg_***
Change weapon damage, if you dislike the damage of certain weapon or fire mode, try finding a good value for it using these cvars.
  • mp_wdmgratio***
Divide all weapon damage value (default:1), if set to 2 all damage of all weapon are divided by 2.
  • wheadshot_blur_factor
A factor (multiplier) for headshot blur. Lower to decrease blur.
  • wheadshot_kick_factor
A factor (multiplier) for headshot view kick. Lower to decrease kick.
  • blur_explosion_factor
A factor (multiplier) for explosion blur. Lower to decrease blur.
  • wmelee_add_blur
A constant blur value that gets added with melee attacks.
  • blur_restore_rate
Blur recovered per second. Max blur a player may have is 255.
  • wdmg_blur_factor
A factor (multiplier) for any damage related blur. Lower to decrease blur.
  • blurmin_movement
Constant blur while dashing.