Difference between revisions of "Documentation/Engine/Configuration variables"

From SCS Modding Wiki
Jump to navigation Jump to search
m
 
(38 intermediate revisions by 6 users not shown)
Line 1: Line 1:
This variables configure different aspects of the game. They are loaded either from "config.sii" that should be in game home directory or profile configuration file ("profiles/<profile_id>/config.sii").
+
{{Tip|Be aware that this page is obsolete, it should be updated with all comments in the future time.}}
  
Moreover all this variables can also be changed during game play.
+
The following variables configure different aspects of the game.
  
 +
Some of them (global settings) are loaded from the '''''config.cfg''''' that can be found in the [[Documentation/Engine/Game_user_path|game user folder]]; others (which are associated with a player's profile) will be saved in the profile folder (e.g. "''<game_user_path>/profiles/<profile_id>''").
 +
 +
Most of these can be changed during the game play using the [[Documentation/Engine/Console|console]]. To do so, enter the variable name, followed by the desired value, to change it, and press Enter. Additionally the command '''uset''' can be used before the cvar name, but it is not necessary.
 +
 +
To determine the current and default value of a variable, enter only its name.
 +
 +
Example:
 +
<pre>
 +
g_police 0    (disables traffic fines)
 +
g_colbox 1    (displays collision boxes)
 +
 +
r_mirror_view_distance  (might return the following)
 +
"r_mirror_view_distance" is: "400" default:"80.0"
 +
</pre>
 +
 +
 +
Variables list (''some of the columns in the table can be sorted by clicking the up/down arrows''):
 
{| class="wikitable sortable" width="100%"
 
{| class="wikitable sortable" width="100%"
!width="150px"|Name
+
!width="150px" |Name
!width="70px"|Type
+
!width="70px" class="unsortable" |Type
!width="500px"|Default value
+
!width="200px" class="unsortable" |Default value
!width="50px"|Config
+
!width="50px" |Config
!|Purpose
+
! class="unsortable"|Purpose
 
|-
 
|-
| r_texture_detail
+
| g_additional_water_fov
| integer
 
| 0
 
| global
 
| Texture detail.
 
|-
 
| r_anisotropy_factor
 
 
| float
 
| float
| 0.25
+
| 20.0f
 
| global
 
| global
| Anistropy factor.
+
| By how much increase the horizontal fov used to render the water effect.
 
|-
 
|-
| r_vsync
+
| g_adviser
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| Is vertical synchronization enabled?
+
| Adviser mode: 0 = hidden, 1 = shown, 2 = mini mode.
 
|-
 
|-
| sys_info
+
| g_adviser_auto_parking
| string
+
| integer
| No default value
+
| 1
| global
+
| profile
| Store informations about your operating system
+
| Enable/disable auto parking feature.
 
|-
 
|-
| vid_name
+
| g_adviser_keep_hidden
| string
+
| integer
| No default value
 
| global
 
| Store informations about using graphics card.
 
|-
 
| vid_mem
 
| string
 
 
| 0
 
| 0
| global
+
| profile
| Store informations about using graphics card memory.
+
| Keep adviser in hidden state (do not show any message).
 
|-
 
|-
| vid_ver
+
| g_artist_id
| string
+
| integer
 
| 0
 
| 0
 
| global
 
| global
| Store information about using graphics card driver version.
+
| Artist specific id. (0-15 range)
 
|-
 
|-
| t_averaging_window_length
+
| g_auto_traffic_headlights
 
| integer
 
| integer
| 20
+
| 1
 
| global
 
| global
| TODO
+
| Enable/Disable headlights from automatic traffic.
 
|-
 
|-
| g_clock_24
+
| g_autoload_ignore_autosave
 
| integer
 
| integer
| 1
+
| 0
 
| profile
 
| profile
| Use 24 hour clock or 12 hour clock (value 1 = 24 hour, value 0 = 12 hour)
+
| Should auto-loading ignore all autosaves and use only manual saves?
 
|-
 
|-
| g_police
+
| g_axle_drop_auto
 
| integer
 
| integer
 
| 1
 
| 1
 
| profile
 
| profile
| Is police simulation enabled? If set to 0 you will not get any penalties.
+
| Is automatic axle drop enabled?
 +
|-
 +
| g_bad_weather_factor
 +
| float
 +
| 0.07
 +
| profile
 +
| Bad weather factor. Affects probability of rainy weather.
 +
|-
 +
| g_brake_intensity
 +
| float
 +
| 1.0
 +
| profile
 +
| Brake intensity modifier.
 
|-
 
|-
| g_fatigue
+
| g_brake_light_all
 
| integer
 
| integer
 
| 1
 
| 1
 
| profile
 
| profile
| State of the fatigue simulation
+
| Show brake light for all brakes (value: 1) or only service, retarder and trailer brake (value: 0)?
 
|-
 
|-
| g_tutorial
+
| g_cam_blinker
 
| integer
 
| integer
| 1
+
| 0
 
| profile
 
| profile
| Is tutorial enabled?
+
| Is interior camera movement based on blinker activation enabled.
 
|-
 
|-
| g_desktop_tutorial
+
| g_cam_physics
 
| integer
 
| integer
 
| 1
 
| 1
 
| profile
 
| profile
| Is display tutorial enabled?
+
| Is interior camera movement based on physics movement of driver enabled?
 
|-
 
|-
| g_adviser
+
| g_cam_physics_value
| integer
+
| float
| 1
+
| 1.0
 
| profile
 
| profile
| Is adviser enabled?
+
| Value of interior camera movement based on physics movement of driver.
 
|-
 
|-
| g_adviser_keep_hidden
+
| g_cam_steering
 
| integer
 
| integer
 
| 0
 
| 0
 
| profile
 
| profile
| Keep adviser hiddden state.
+
| Is interior camera movement based on steering angle enabled?
 
|-
 
|-
| g_adviser_auto_parking
+
| [[/g_cam_steering_reverse/]]
 
| integer
 
| integer
| 1
+
| 1.0
 +
| profile
 +
| Interior camera movement based on steering angle, behavior on reverse.
 +
|-
 +
| g_cam_steering_value
 +
| float
 +
| 1.0
 
| profile
 
| profile
| Disable auto parking.
+
| Multiplier for interior camera movement based on steering angle.
 
|-
 
|-
| g_save_idx
+
| [[/g_cargo_sort/]]
 
| integer
 
| integer
| 1
+
| 0
| profile
+
| global
| Current profile save index.
+
| Current cargo sort method.
 
|-
 
|-
| g_desktop_fadeout
+
| g_city_name_move
| float
+
| integer
| 60
+
| 0
 
| global
 
| global
| Delay specified in seconds used to fadeout ui in desktop.
+
| Enable ability to move city names on map.
 
|-
 
|-
| g_bad_weather_factor
+
| g_clock_24
| float
+
| integer
| 0.07
+
| 1
 
| profile
 
| profile
| Bad weather factor
+
| Use 24 hour clock or 12 hour clock (value 1 = 24 hour, value 0 = 12 hour)
 
|-
 
|-
| [[Engine/Config_variables/g_currency|g_currency]]
+
| g_console
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| Currency used in game.
+
| Is console enabled?
 
|-
 
|-
| g_income_factor
+
| g_cruise_control_grid
 
| float
 
| float
| 1.0
+
| 5.0
 
| profile
 
| profile
| Income factor (minimum is 0.0 maximum is 1.0)
+
| Digital cruise control grid step.
 
|-
 
|-
| g_job_distance_limit
+
| g_cruise_control_smart
 
| float
 
| float
| -1.0
+
| 0.0
 
| profile
 
| profile
| Limit generating of the jobs that are in specified range from current player position. -1.0 value means show all generated jobs.
+
| Smart cruise control window, if you want to disable it set to negative value.
 
|-
 
|-
| [[Engine/Config_variables/g_parking_difficulty|g_parking_difficulty]]
+
| [[Documentation/Engine/Config_variables/g_currency|g_currency]]
 
| integer
 
| integer
 
| 0
 
| 0
 
| profile
 
| profile
| Parking difficulty
+
| Currency used in game.
 
|-
 
|-
| g_input_configured
+
| g_cutscenes
 
| integer
 
| integer
| 0
+
| 1
 
| profile
 
| profile
| Is input configured?
+
| Enable/disable cutscenes.
 
|-
 
|-
| g_start_in_truck
+
| g_debug_interior_cam
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| If profile has assigned truck should we skip desktop and start in it?
+
| Enables drawing of the truck geometry even in the interior camera mode.
 
|-
 
|-
| g_autoload_ignore_autosave
+
| g_debug_map_limits
 
| integer
 
| integer
 
| 0
 
| 0
 +
| global
 +
| Enable/Disable the debugging of the map speed limits.
 +
|-
 +
| g_desktop_fadeout
 +
| float
 +
| 60
 +
| global
 +
| Delay in seconds before the desktop ui will fade out when left idle.
 +
|-
 +
| g_desktop_tutorial
 +
| integer
 +
| 1
 
| profile
 
| profile
| Should auto-loading ignore all autosaves and use only manual saves?
+
| Is desktop tutorial enabled?
 
|-
 
|-
| [[Engine/Config_variables/g_force_load_selector|g_force_load_selector]]
+
| g_developer
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| Forces the appearance of the load slot selector.
+
| Is developer mode enabled?
 
|-
 
|-
| g_global_force_load_selector
+
| g_disable_hud_activation
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Forces the appearance of the load slot selector for all profiles. (Correct value are: 0, 1)
+
| Are specific hud activations disabled?
 +
|-
 +
| g_engine_start_auto
 +
| integer
 +
| 1
 +
| profile
 +
| Is engine automatic start enabled?
 
|-
 
|-
| g_force_economy_reset
+
| g_fahrenheit
 
| integer
 
| integer
 
| 0
 
| 0
 
| profile
 
| profile
| Force economy reset.
+
| Should game display temperature in fahrenheits (value: 1) or degrees of celsius (value: 0)?
 
|-
 
|-
| g_remove_missing_accessories
+
| g_fatigue
 
| integer
 
| integer
| 0
+
| 1
 
| profile
 
| profile
| Remove all acccessories that are no longer available in game and replace them with fallback accessories if possible.
+
| State of the fatigue simulation
 
|-
 
|-
| g_tooltip_delay
+
| g_flyspeed
 
| float
 
| float
| 0.4
+
| 100.0
 
| global
 
| global
| Delay specified in seconds indicating when to show tooltip since hovering the item with tooltip.
+
| Debug camera fly speed
 
|-
 
|-
| g_cargo_sort
+
| g_force_economy_reset
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Current cargo sort method. '''TODO: Write down all possibilities'''
+
| A value of 1 forces an economy reset (generating new job listings).<br>The player should be free-roaming when issuing the command, and afterwards entering and exiting the Profile Manager.
 
|-
 
|-
| g_line_sort
+
| [[Documentation/Engine/Config_variables/g_force_load_selector|g_force_load_selector]]
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Current line sort criteria for jobs.
+
| Forces the appearance of the load slot selector.
 
|-
 
|-
| g_debug_interior_cam
+
| g_force_online_lscrs
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Enables drawing of the truck geometry even in the interior camera mode.
+
| Force online loading screens. If no loading screen is specified in specified category (ferry, eurotunnel, normal) built-in one is showed.
 
|-
 
|-
| g_force_online_lscrs
+
| g_fps
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Force online loading screens. If no loading screen is specified in specified category (ferry, eurotunnel, normal) built-in one is showed.
+
| Display FPS in mini console.
 
|-
 
|-
| g_mm_help_shown
+
| g_fuel_simulation
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Used for indication if its first time when player enters mod manager to show him welcome screen.
+
| Is realistic fuel consumption enabled?
 
|-
 
|-
| g_fps
+
| g_gallon
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Display FPS in mini console.
+
| Should game display volume as gallon (value: 1) or liters (value: 0)?
 
|-
 
|-
| g_texture_usage_stats
+
| g_gfx_advanced
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Print texture usage statistics into the console?
+
| Graphics settings last used (0 = simple, 1 = advanced).
 
|-
 
|-
| r_device
+
| g_gfx_all_scales
| string
+
| integer
| dx9
+
| 0
 
| global
 
| global
| Render device. (correct values: dx9, gl)
+
| Enables selection of all rendering scales in ui even on machines with small virtual memory.
 
|-
 
|-
| r_path
+
| g_gfx_quality
| string
+
| integer
| No default value
+
| -1
 
| global
 
| global
| Render path.
+
| Quality presets of graphics. Linked directly to quality_level_t enum, with "-1" as "custom" state.
 
|-
 
|-
| r_mode
+
| g_global_force_load_selector
| string
+
| integer
| No default value
+
| 0
 
| global
 
| global
| Current resolution in format: {screen_width}x{screen_height}x{color_depth}x{refresh_rate}
+
| Forces the appearance of the load slot selector for all profiles. (Correct value are: 0, 1)
 
|-
 
|-
| r_fullscreen
+
| [[/g_grass_density/]]
 
| integer
 
| integer
| 1
+
| 2
 
| global
 
| global
| Is fullscreen enabled?
+
| Grass density setting.
 
|-
 
|-
| r_msaa
+
| g_hardcore_simulation
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Is MSAA enabled?
+
| Is air brake simulation enabled?
 
|-
 
|-
| r_no_frame_tracking
+
| g_hmd_no_3d_background
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Disable frame tracking feature.
+
| Disables use of 3d background for the menu.
 
|-
 
|-
| r_minimal_unfinished_frames
+
| g_hmd_no_artifical_movement
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Simulate bigger queue in tracking completion frames.
+
| Disables artifical angle based movement of the interior.
 
|-
 
|-
| r_nv_stereo_mode
+
| g_hmd_no_special_menu
 
| integer
 
| integer
| 2
+
| 0
| global
+
| profile
| How to handle NV 3D vision stereo mode.
+
| Disables use of special variants of menu ui when HMD is enabled.
 
 
TODO: move to cvar specific page
 
 
 
*0 - disabled
 
*1 - enabled
 
*2 - fully enabled
 
 
|-
 
|-
| r_manual_stereo_in_menu
+
| g_hmd_reduced_cabin_movement
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| Is use of manual stereo enabled even in menu?
+
| Reduces the cabin movement by disabling its separate movement on the visual level.
|-
 
| r_manual_stereo_ui_dist
 
| float
 
| 0.8
 
| global
 
| UI draw plane distance when using stereo.
 
 
|-
 
|-
| r_manual_stereo_ui_dist_game
+
| [[/g_hshifter_layout/]]
| float
 
| 0.5
 
| global
 
| UI draw plane distance when using stereo.
 
|-
 
| r_manual_stereo_ui_fov
 
| float
 
| 80
 
| global
 
| Manual stereo UI field of view when using stereo.
 
|-
 
| r_manual_stereo_ui_fov_game
 
| float
 
| 100
 
| global
 
| Manual stereo UI field of view when using stereo.
 
|-
 
| r_manual_stereo_buffer_scale
 
| float
 
| 1.0
 
| global
 
| Scale factor used when creating stereo buffers.
 
|-
 
| r_setup_done
 
 
| integer
 
| integer
 
| 0
 
| 0
| global
+
| profile
| Are default graphics settings setup?
+
| Type of hshifter layout.
 
|-
 
|-
| r_startup_progress
+
| g_hshifter_layout_shifting
 
| integer
 
| integer
| 0
+
| 1
| global
+
| profile
| Indicates progress of game startup.
+
| Layout analyzed and used for more realistic shifting sounds.
 
|-
 
|-
| r_nowmi
+
| g_hshifter_synchronized
 
| integer
 
| integer
| 0
+
| 1
| global
+
| profile
| Disable usage of WMI while detecting graphics card memory informations.
+
| Behaves/sounds like synchronized transmission.
 
|-
 
|-
| r_deferred
+
| [[/g_hud_speed_limit/]]
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| Is deferred rendering enabled? If set to 0 game uses forward rendering pipeline which disables shadows, lights and all post process effects.
+
| Speed limit state on the adviser.
 
|-
 
|-
| r_deferred_mirrors
+
| g_ignore_low_fps
 
| integer
 
| integer
| 1
+
| 0
 
| global
 
| global
| Use deferred rendering pipeline while rendering mirrors?
+
| Enable/Disable the low frame rate warnings.
 
|-
 
|-
| r_mirror_view_distance
+
| g_income_factor
 
| float
 
| float
| 80.0
+
| 1.0
| global
+
| profile
| View distance of the mirrors.
+
| Income factor (minimum is 0.0 maximum is 1.0). Multiplies all incomes.
 
|-
 
|-
| r_sun_shadow_quality
+
| g_input_configured
 
| integer
 
| integer
| 4
+
| 0
| global
+
| profile
| Quality of the sun shadows.
+
| Is input configured?
 
|-
 
|-
| r_sun_shadow_texture_size
+
| g_interior_camera_zero_pitch
 
| integer
 
| integer
| 4096
+
| 0
 
| global
 
| global
| Size of the sun shadow texture. Bigger number = better visuals, smaller fps
+
| Is default mouse position ignored in truck interior? This should be set to 1 when you are using some HMD such like Oculus Rift.
 +
|-
 +
| g_job_distance_limit
 +
| float
 +
| -1.0
 +
| profile
 +
| Limit generating of the jobs that are in specified range from current player position. Negative value means no limit for generation applied.
 
|-
 
|-
| r_fake_shadows
+
| g_kdop_preview
 
| integer
 
| integer
| 2
+
| 0
 
| global
 
| global
| Fake shadows state.
+
| Enable/Disable the preview of generated k-DOPs.
 
+
|-
TODO: Move to cvar specific page
+
| g_lang
*0 - No fake shadows
+
| string
*1 - Simple fake shadows
+
| en_gb
*2 - Extended fake shadows
+
| profile
 +
| Language currently used by game.
 
|-
 
|-
| r_hdr
+
| g_lang_set
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| Is HDR enabled?
+
| Is language set manually (1)?
 
|-
 
|-
| r_mlaa
+
| g_light_distance_factor
| integer
+
| float
| 1
+
| 1.0
 
| global
 
| global
| Is MLAA enabled?
+
| Light source fade start distance is multiplied by this value.
 
|-
 
|-
| r_mlaa_threshold
+
| g_light_span_factor
 
| float
 
| float
 
| 1.0
 
| 1.0
 
| global
 
| global
| Edge threshold used for MLAA anti-aliasing
+
| Light source fade span is multiplied by this value.
 
|-
 
|-
| r_dof
+
| g_line_sort
 
| integer
 
| integer
| 1
+
| 0
 
| global
 
| global
| Is Depth Of Field effect enabled?
+
| Current line sort criteria for jobs.
 
|-
 
|-
| r_dof_start
+
| g_lod_factor_parked
 
| float
 
| float
| 200.0
+
| 1.0
 
| global
 
| global
| Starting range of the  Depth Of Field
+
| LOD distances for parked vehicles are multiplied by this factor.
 
|-
 
|-
| r_dof_transition
+
| g_lod_factor_pedestrian
 
| float
 
| float
| 400.0
+
| 1.0
 
| global
 
| global
| Length of range between minimal and maximal Depth Of Field blur.
+
| LOD distances for pedestrians are multiplied by this factor.
 
|-
 
|-
| r_dof_filter_size
+
| g_lod_factor_traffic
 
| float
 
| float
| 0.5
+
| 1.0
 
| global
 
| global
| Size of the Depth Of Field filter.
+
| LOD distances for traffic vehicles are multiplied by this factor.
 
|-
 
|-
| r_cloud_shadows
+
| g_menu_aa_limit
 
| integer
 
| integer
| 1
+
| 8
 
| global
 
| global
| Are cloud shadows enabled?
+
| Number of tiles below which we enable SSAA in the menu scene.
 
|-
 
|-
| r_color_correction
+
| g_minicon
 
| integer
 
| integer
| 1
+
| 0
 
| global
 
| global
| Color correction state.
+
| Is mini console enabled?
 
 
TODO: Move to cvar specific page
 
*0 - disabled
 
*1 - enabled using game data
 
*2 - enabled using cvar values r_color_*
 
 
|-
 
|-
| r_color_cyan_red
+
| g_mm_help_shown
| float
+
| integer
| 0.0
+
| 0
 
| global
 
| global
| Cyan-red factor of the color correction in -1 to 1 range.
+
| Used for indication if its first time when player enters mod manager to show him welcome screen.
 +
|-
 +
| g_motor_brake_auto
 +
| integer
 +
| 0
 +
| profile
 +
| Is automatic usage of engine brake enabled?
 +
|-
 +
| g_mph
 +
| integer
 +
| 0
 +
| profile
 +
| Use miles (1) or kilometers (0).
 
|-
 
|-
| r_color_magenta_green
+
| [[/g_news/]]
| float
+
| integer
| 0.0
+
| -1
 
| global
 
| global
| Magenta-green factor of the color correction in -1 to 1 range.
+
| Is online news enabled?
 
|-
 
|-
| r_color_yellow_blue
+
| [[/g_online_loading_screens/]]
| float
+
| integer
| 0.0
+
| -1
 
| global
 
| global
| Yellow-blue factor of the color correction in -1 to 1 range.
+
| Are online loading screens enabled?
 +
|-
 +
| [[Documentation/Engine/Config_variables/g_parking_difficulty|g_parking_difficulty]]
 +
| integer
 +
| 0
 +
| profile
 +
| Parking difficulty
 
|-
 
|-
| r_color_saturation
+
| g_pedal_clutch_range
 
| float
 
| float
 
| 1.0
 
| 1.0
| global
+
| profile
| Color saturation factor 1.0 is neutral.
+
| Cluch range.
 
|-
 
|-
| r_sunshafts
+
| g_pedestrian
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Are sunshafts enabled?
+
| Enable/Disable pedestrian generation.
 
|-
 
|-
| r_normal_maps
+
| g_police
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| Is normal mapping enabled?
+
| Is police simulation enabled? If set to 0 you will not get any penalties.
 
|-
 
|-
| r_scale_x
+
| [[Documentation/Engine/Config_variables/g_pounds|g_pounds]]
| float
+
| string
| 1.0
+
| kg
| global
+
| profile
| X-axis rendering scaling factor.
+
| Set weight unit
 
|-
 
|-
| r_scale_y
+
| g_radio_mode
| float
+
| integer
| 1.0
+
| 1
 
| global
 
| global
| Y-axis rendering scaling factor.
+
| Radio player mode.
 
|-
 
|-
| r_mirror_scale_x
+
| g_rain_reflect_actor
| float
+
| integer
| 1.0
+
| 1
 
| global
 
| global
| X-axis mirror rendering scaling factor.
+
| Should we reflect game actor in the rain?
 
|-
 
|-
| r_mirror_scale_y
+
| g_rain_reflect_cache
| float
 
| 1.0
 
| global
 
| Y-axis mirror rendering scaling factor.
 
|-
 
| [[Engine/Config_variables/r_deferred_debug|r_deferred_debug]]
 
 
| integer
 
| integer
| 0
+
| 1
 
| global
 
| global
| If value is greater than 0 runs deferred renderer debug.
+
| Should we reflect geometry cache in the rain?
 
|-
 
|-
| r_show_light_pixel_coverage
+
| g_rain_reflect_hookups
 
| integer
 
| integer
| 0
+
| 1
 
| global
 
| global
| Show lights debugging helpers?
+
| Should we reflect hookups associated with segment items (e.g. lamp flares)?
 
|-
 
|-
| r_use_depth_bounds
+
| g_rain_reflect_traffic
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Should game use depth bounds to speedup rendering of the lights? (Works only on supported hardware)
+
| Should we reflect traffic in the rain?
 
|-
 
|-
| r_gamma
+
| [[/g_rain_reflection/]]
| float
+
| integer
| 1.0
+
| 3
 
| global
 
| global
| Gama correction factor (works only in fullscreen mode)
+
| Rain reflection quality.
 
|-
 
|-
| [[Engine/Config_variables/r_multimon_mode|r_multimon_mode]]
+
| [[/g_reflection/]]
 
| integer
 
| integer
| 0
+
| 3
 
| global
 
| global
| Controls the multi-monitor mode.
+
| Reflection detail.
 
|-
 
|-
| r_multimon_fov_horizontal
+
| g_reg_setting
| float
+
| string
| 50
+
| No default value
| global
+
| profile
| Horizontal field of view used with multi monitor configuration.
+
| Name of the regional settings unit. By default for ETS2 it's reg_setting.europe for ATS it's reg_setting.usa.
 
|-
 
|-
| r_multimon_fov_vertical
+
| g_remove_missing_accessories
| float
+
| integer
 
| 0
 
| 0
| global
+
| profile
| Vertical field of view used with multi monitor configuration.
+
| Remove all acccessories that are no longer available in game and replace them with fallback accessories if possible.
 
|-
 
|-
| r_multimon_border_fov_left
+
| g_retarder_auto
| float
+
| integer
 
| 0
 
| 0
| global
+
| profile
| TODO
+
| Is automatic usage of retarder enabled?
 
|-
 
|-
| r_multimon_border_fov_right
+
| [[/g_save_format/]]
| float
+
| integer
 
| 0
 
| 0
 
| global
 
| global
| TODO
+
| Format used to store the game saves.
 
|-
 
|-
| r_multimon_vert_offset_left
+
| g_save_idx
| float
+
| integer
| 0
+
| 1
| global
+
| profile
| TODO
+
| Current profile save index. Used for automatic naming of saves.
 
|-
 
|-
| r_multimon_vert_offset_right
+
| g_screenshot_on_bug
| float
+
| integer
 
| 0
 
| 0
 
| global
 
| global
| TODO
+
| Enable/Disable automatic generation of screenshots when bug is reported even if the normal combination is used.
 
|-
 
|-
| r_multimon_rotation_center
+
| g_show_game_elements
| float
+
| integer
| 0
+
| 1
 
| global
 
| global
| TODO
+
| Are activation points enabled?
 
|-
 
|-
| r_multimon_rotation_left
+
| g_start_in_truck
| float
+
| integer
 
| 0
 
| 0
| global
+
| profile
| TODO
+
| If profile has assigned truck should we skip desktop and start in it?
 
|-
 
|-
| r_multimon_rotation_right
+
| g_steam_browser
| float
+
| integer
| 0
+
| 1
 
| global
 
| global
| TODO
+
| Should game use steam build-in browser or user default browser to open external links?
 
|-
 
|-
| r_multimon_rotation_aux
+
| g_steam_rich_presence
| float
 
| 0
 
| global
 
| TODO
 
|-
 
| r_multimon_interior_in_main
 
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Should we render interior inside the main views.
+
| Is steam rich presence enabled?
 
|-
 
|-
| r_multimon_exterior_in_aux
+
| [[/g_steam_screenshots/]]
 
| integer
 
| integer
| 0
+
| 2
 
| global
 
| global
| Should we render exterior in the auxiliary view.
+
| Way in which we should handle the screenshots in steam version.
 
|-
 
|-
| r_segment_buffer_size
+
| g_steer_autocenter
 
| integer
 
| integer
| 128
+
| 1
| global
+
| profile
| Segment buffer size in MB
+
| Is steering wheel autocenter enabled?
 
|-
 
|-
| g_interior_camera_zero_pitch
+
| g_texture_usage_stats
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| TODO
+
| Print texture usage statistics into the console?
 
|-
 
|-
| r_wireframe
+
| g_throttle_auto_shift
 
| integer
 
| integer
 
| 0
 
| 0
 +
| profile
 +
| Automatic gearbox uses throttle as input for shifting policy.
 +
|-
 +
| g_tooltip_delay
 +
| float
 +
| 0.4
 
| global
 
| global
| Enables wireframe rendering.
+
| Delay specified in seconds indicating when to show tooltip since hovering the item with tooltip.
 
|-
 
|-
| g_hmd_no_artifical_movement
+
| g_toy_physics
 
| integer
 
| integer
| 0
+
| 1
 
| profile
 
| profile
| Disables artifical angle based movement of the interior.
+
| Is simulation of toy physics movement enabled?
 
|-
 
|-
| g_hmd_reduced_cabin_movement
+
| g_trackir
 
| integer
 
| integer
 
| 1
 
| 1
 +
| global
 +
| Enable/Disable the TrackIR support.
 +
|-
 +
| g_traffic
 +
| float
 +
| 1.0
 +
| global
 +
| Traffic intensity.
 +
*0.0 - traffic disabled
 +
*10.0 - maximum traffic intensity
 +
|-
 +
| g_trailer_stability
 +
| float
 +
| 0.5
 
| profile
 
| profile
| Reduces the cabin movement by disabling its separate movement on the visual level.
+
| Trailer stability factor.
 
|-
 
|-
| g_hmd_no_special_menu
+
| [[/g_trans/]]
 
| integer
 
| integer
 
| 0
 
| 0
 
| profile
 
| profile
| Disables use of special variants of menu ui when HMD is enabled.
+
| Type of transmission.
 +
|-
 +
| [[/g_truck_light_quality/]]
 +
| integer
 +
| 1
 +
| global
 +
| Quality of result of the head light.
 
|-
 
|-
| g_hmd_no_3d_background
+
| g_truck_light_specular
 
| integer
 
| integer
| 0
+
| 1
| profile
+
| global
| Disables use of 3d background for the menu.
+
| Enables/disables use of specular during head light calculation.
 
|-
 
|-
| g_lang
+
| g_tutorial
| string
+
| integer
| en_gb
+
| 1
 
| profile
 
| profile
| Language currently used by game.
+
| Is tutorial enabled?
 
|-
 
|-
| g_lang_set
+
| g_use_speed_limiter
 
| integer
 
| integer
 
| 1
 
| 1
 
| profile
 
| profile
| Is language set manually (1)?
+
| Is speed limiter enabled?
 
|-
 
|-
| g_news
+
| g_veg_detail
 
| integer
 
| integer
| -1
+
| 2
 
| global
 
| global
| Are online news enabled?
+
| Vegetation detail setting. 0 - low, 1 - medium, 2 - high
 
 
TODO: Move to cvar specific page.
 
 
 
*-1 - to be decided by user
 
*0 - disabled
 
*1 - enabled
 
 
|-
 
|-
| g_online_loading_screens
+
| g_vehicle_flare_lights
 
| integer
 
| integer
| -1
+
| 1
 
| global
 
| global
| Are online loading screens enabled?
+
| Enable/Disable lights associated with vehicle flares.
 
+
<!--
TODO: Move to cvar specific page.
+
|-
 
+
| i_hmd_min_prediction
*-1 - to be decided by user
+
| float
*0 - disabled
+
| 0.0
*1 - enabled
+
| profile
 +
| Time interval in seconds used to predict the HMD movement.
 +
|-
 +
| i_hmd_max_prediction
 +
| float
 +
| 0.1
 +
| profile
 +
| Time interval in seconds used to predict the HMD movement.
 +
|-
 +
| i_oculus_eye_height
 +
| float
 +
| 0.15
 +
| profile
 +
| Model of the stick based neck and head simulation.
 +
|-
 +
| i_oculus_eye_protrusion
 +
| float
 +
| 0.09
 +
| profile
 +
| Model of the stick based neck and head simulation.
 +
-->
 
|-
 
|-
| g_flyspeed
+
| i_virtual_cursor_speed
 
| float
 
| float
| 100.0
+
| 500.0
 
| global
 
| global
| Debug camera fly speed
+
| Speed of movement of the cursor when using a gamepad-like input in pixels per second.<br>Set to zero or negative value to disable use of gamepads and joysticks for cursor movement.
 
|-
 
|-
| g_developer
+
| p_profile_draws
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Is developer mode enabled?
+
| Profile draw calls
 
|-
 
|-
| g_city_name_move
+
| r_anisotropy_factor
| integer
+
| float
| 0
+
| 0.25
 
| global
 
| global
| Enable ability to move city names on map.
+
| Anistropy factor.
 
|-
 
|-
| g_debug_map_limits
+
| r_cloud_shadows
 
| integer
 
| integer
| 0
+
| 1
 
| global
 
| global
| Enable/Disable the debugging of the map speed limits.
+
| Are cloud shadows enabled?
 
|-
 
|-
| g_screenshot_on_bug
+
| [[/r_color_correction/]]
 
| integer
 
| integer
| 0
+
| 1
 
| global
 
| global
| Enable/Disable automatic generation of screenshots when bug is reported even if the normal combination is used.
+
| Color correction state.
 
|-
 
|-
| g_kdop_preview
+
| r_color_cyan_red
| integer
+
| float
| 0
+
| 0.0
 
| global
 
| global
| Enable/Disable the preview of generated k-DOPs.
+
| Cyan-red factor of the color correction in -1 to 1 range.
 
|-
 
|-
| g_traffic
+
| r_color_magenta_green
 
| float
 
| float
| 1.0
+
| 0.0
 
| global
 
| global
| Traffic intensity.
+
| Magenta-green factor of the color correction in -1 to 1 range.
 
 
*0.0 - traffic disabled, 10.0 - maximum traffic intensitz
 
 
|-
 
|-
| g_lod_factor_traffic
+
| r_color_saturation
 
| float
 
| float
 
| 1.0
 
| 1.0
 
| global
 
| global
| LOD distances for traffic vehicles are multiplied by this factor.
+
| Color saturation factor 1.0 is neutral.
 
|-
 
|-
| g_lod_factor_parked
+
| r_color_yellow_blue
 
| float
 
| float
| 1.0
+
| 0.0
 
| global
 
| global
| LOD distances for parked vehicles are multiplied by this factor.
+
| Yellow-blue factor of the color correction in -1 to 1 range.
 
|-
 
|-
| g_auto_traffic_headlights
+
| r_deferred
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Enable/Disable headlights from automatic traffic.
+
| Is deferred rendering enabled? If set to 0 game uses forward rendering pipeline which disables shadows, lights and all post process effects.
 
|-
 
|-
| g_vehicle_flare_lights
+
| [[Documentation/Engine/Config_variables/r_deferred_debug|r_deferred_debug]]
 
| integer
 
| integer
| 1
+
| 0
 
| global
 
| global
| Enable/Disable lights associated with vehicle flares.
+
| If value is greater than 0 runs deferred renderer debug.
 
|-
 
|-
| g_light_distance_factor
+
| r_deferred_mirrors
| float
+
| integer
| 1.0
+
| 1
 
| global
 
| global
| Light source fade start distance is multiplied by this value.
+
| Use deferred rendering pipeline while rendering mirrors?
 
|-
 
|-
| g_light_span_factor
+
| r_device
| float
+
| string
| 1.0
+
| dx9
 
| global
 
| global
| Light source fade span is multiplied by this value.
+
| Render device (correct values: dx9, dx11, gl).
 
|-
 
|-
| g_pedestrian
+
| r_dof
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Enable/Disable pedestrian generation.
+
| Is Depth Of Field effect enabled?
 
|-
 
|-
| g_lod_factor_pedestrian
+
| r_dof_filter_size
 
| float
 
| float
| 1.0
+
| 0.5
 
| global
 
| global
| LOD distances for pedestrians are multiplied by this factor.
+
| Size of the Depth Of Field filter.
 
|-
 
|-
| g_trackir
+
| r_dof_start
| integer
+
| float
| 1
+
| 200.0
 
| global
 
| global
| Enable/Disable the TrackIR support.
+
| Starting range of the Depth Of Field
 
|-
 
|-
| g_veg_detail
+
| r_dof_transition
| integer
+
| float
| 2
+
| 400.0
 
| global
 
| global
| Vegetation detail setting. 0 - low, 1 - medium, 2 - high
+
| Length of range between minimal and maximal Depth Of Field blur.
 
|-
 
|-
| g_grass_density
+
| [[/r_fake_shadows/]]
 
| integer
 
| integer
 
| 2
 
| 2
 
| global
 
| global
| Grass density setting.
+
| Fake shadows state.
 
 
TODO: Move to cvar specific page.
 
*0 - off
 
*1 - low
 
*2 - medium
 
*3 - high
 
 
|-
 
|-
| g_reflection
+
| r_fullscreen
 
| integer
 
| integer
| 3
+
| 1
 
| global
 
| global
| Reflection detail
+
| Is fullscreen enabled?
 
 
TODO: Move to cvar specific page.
 
*0 - no reflection,
 
*1 - water reflection only
 
*2 - vehicle reflection only
 
*3 - both water reflection and vehicle reflection
 
 
|-
 
|-
| g_rain_reflection
+
| r_gamma
| integer
+
| float
| 3
+
| 1.0
 
| global
 
| global
| Rain reflection quality
+
| Gamma correction factor (works only in fullscreen mode)
 
 
TODO: Move to cvar specific page.
 
*0 - no reflection
 
*1 - cube reflection
 
*2 - planar with fadeout
 
*3 - planar with cube crossfade
 
 
|-
 
|-
| g_rain_reflect_cache
+
| r_hdr
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Should we reflect geometry cache in the rain?
+
| Is HDR enabled?
 +
|-
 +
| r_manual_stereo_buffer_scale
 +
| float
 +
| 1.0
 +
| global
 +
| Scale factor used when creating stereo buffers.
 
|-
 
|-
| g_rain_reflect_traffic
+
| r_manual_stereo_in_menu
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Should we reflect traffic in the rain?
+
| Is use of manual stereo enabled even in menu?
 
|-
 
|-
| g_rain_reflect_actor
+
| r_manual_stereo_ui_dist
| integer
+
| float
| 1
+
| 0.8
 
| global
 
| global
| Should we reflect game actor in the rain?
+
| UI draw plane distance when using stereo.
 
|-
 
|-
| g_rain_reflect_hookups
+
| r_manual_stereo_ui_dist_game
| integer
+
| float
| 1
+
| 0.5
 
| global
 
| global
| Should we reflect hookups associated with segment items (e.g. lamp flares)?
+
| UI draw plane distance when using stereo.
 
|-
 
|-
| g_additional_water_fov
+
| r_manual_stereo_ui_fov
 
| float
 
| float
| 20.0f
+
| 80
 
| global
 
| global
| By how much increase the horizontal fov used to render the water effect.
+
| Manual stereo UI field of view when using stereo.
 
|-
 
|-
| g_menu_aa_limit
+
| r_manual_stereo_ui_fov_game
| integer
+
| float
| 8
+
| 100
 
| global
 
| global
| Number of tiles below which we enable SSAA in the menu scene.
+
| Manual stereo UI field of view when using stereo.
 
|-
 
|-
| g_hq_3d_screenshot
+
| r_minimal_unfinished_frames
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| TODO
+
| Simulate bigger queue in tracking completion frames.
 
|-
 
|-
| g_hq_3d_scale
+
| r_mirror_scale_x
 
| float
 
| float
| 0.0
+
| 1.0
 
| global
 
| global
| TODO
+
| X-axis mirror rendering scaling factor.
 
|-
 
|-
| g_hq_screenshot_width
+
| r_mirror_scale_y
| integer
+
| float
| 0
+
| 1.0
 
| global
 
| global
| TODO
+
| Y-axis mirror rendering scaling factor.
 
|-
 
|-
| g_hq_screenshot_height
+
| r_mirror_view_distance
| integer
+
| float
| 0
+
| 80.0
 
| global
 
| global
| TODO
+
| View distance of the mirrors.
 
|-
 
|-
| g_hq_map_screenshot
+
| r_mlaa
 
| integer
 
| integer
| 0
+
| 1
 
| global
 
| global
| TODO
+
| Is MLAA enabled?
 
|-
 
|-
| g_truck_light_specular
+
| r_mlaa_threshold
| integer
+
| float
| 1
+
| 1.0
 
| global
 
| global
| Enables/disables use of specular during head light calculation.
+
| Edge threshold used for MLAA anti-aliasing
 
|-
 
|-
| g_gfx_quality
+
| r_mode
| integer
+
| string
| -1
+
| No default value
 
| global
 
| global
| Quality presets of graphics. Linked directly to quality_level_t enum, with "-1" as "custom" state.
+
| Current resolution in format: {screen_width}x{screen_height}x{color_depth}x{refresh_rate}
 +
<!--
 
|-
 
|-
| g_gfx_advanced
+
| r_msaa
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Graphics settings last used (0 = simple, 1 = advanced).
+
| Is MSAA enabled? Currently unsupported, will cause graphical issues.
 +
-->
 
|-
 
|-
| g_gfx_all_scales
+
| r_multimon_border_fov_left
| integer
+
| float
 
| 0
 
| 0
 
| global
 
| global
| Enables selection of all rendering scales in ui even on machines with small virtual memory.
+
| Additional angle added to offset between cameras to represent oblast hidden by the monitor border.
 
|-
 
|-
| g_truck_light_quality
+
| r_multimon_border_fov_right
| integer
+
| float
| 1
+
| 0
 
| global
 
| global
| Quality of result of the head light.
+
| Additional angle added to offset between cameras to represent oblast hidden by the monitor border.
 
 
TODO: Move to cvar specific page.
 
*0 - single source with two masks
 
*1 - two separate light sources
 
 
|-
 
|-
| g_ignore_low_fps
+
| r_multimon_exterior_in_aux
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| Enable/Disable the low frame rate warnings.
+
| Should we render exterior in the auxiliary view?
 +
|-
 +
| r_multimon_fov_horizontal
 +
| float
 +
| 50
 +
| global
 +
| Horizontal field of view used with multi monitor configuration.
 
|-
 
|-
| g_cutscenes
+
| r_multimon_fov_vertical
| integer
+
| float
| 1
+
| 0
| profile
+
| global
| Enable/disable cutscenes.
+
| Vertical field of view used with multi monitor configuration.
 
|-
 
|-
| g_radio_mode
+
| r_multimon_interior_in_main
 
| integer
 
| integer
 
| 1
 
| 1
 
| global
 
| global
| Radio player mode.
+
| Should we render interior inside the main views.
 
|-
 
|-
| g_trans
+
| [[Documentation/Engine/Config_variables/r_multimon_mode|r_multimon_mode]]
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| Type of transmission.
+
| Controls the multi-monitor mode.
 
 
TODO: Move to cvar specific page.
 
*0 - arcade (automatic + auto reverse)
 
*1 - sequential
 
*2 - H-shifter
 
*3 - automatic
 
 
|-
 
|-
| g_hshifter_layout
+
| r_multimon_rotation_aux
| integer
+
| float
 
| 0
 
| 0
| profile
+
| global
| Type of hshifter layout:
+
| Roll of the auxillary monitor.
 
 
TODO: Move to cvar specific page.
 
*0 - range
 
*1 - splitter
 
*2 - range-splitter
 
 
|-
 
|-
| g_hshifter_layout_shifting
+
| r_multimon_rotation_center
| integer
+
| float
| 1
+
| 0
| profile
+
| global
| Layout analyzed and used for more realistic shifting sounds.
+
| Roll of the center monitor.
 
|-
 
|-
| g_hshifter_synchronized
+
| r_multimon_rotation_left
| integer
+
| float
| 1
+
| 0
| profile
+
| global
| Behaves/sounds like synchonized transmission.
+
| Roll of the left monitor.
 
|-
 
|-
| g_steer_autocenter
+
| r_multimon_rotation_right
| integer
+
| float
| 1
+
| 0
| profile
+
| global
| Is steering wheel autocenter enabled?
+
| Roll of the right monitor.
 
|-
 
|-
| g_brake_intensity
+
| r_multimon_vert_offset_left
 
| float
 
| float
| 1.0
+
| 0
| profile
+
| global
| Brake intensity modifier.
+
| Additional vertical offset of left monitor.
 
|-
 
|-
| g_trailer_stability
+
| r_multimon_vert_offset_right
 
| float
 
| float
| 0.5
 
| profile
 
| Trailer stability factor.
 
|-
 
| g_retarder_auto
 
| integer
 
 
| 0
 
| 0
| profile
+
| global
| TODO
+
| Additional vertical offset of right monitor.
 
|-
 
|-
| g_motor_brake_auto
+
| r_no_frame_tracking
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| TODO
+
| Disable frame tracking feature.
 
|-
 
|-
| g_engine_start_auto
+
| r_normal_maps
 
| integer
 
| integer
 
| 1
 
| 1
| profile
+
| global
| TODO
+
| Is normal mapping enabled?
 
|-
 
|-
| g_axle_drop_auto
+
| r_nowmi
| integer
 
| 1
 
| profile
 
| TODO
 
|-
 
| g_hud_speed_limit
 
| integer
 
| 1
 
| profile
 
| TODO
 
|-
 
| g_use_speed_limiter
 
| integer
 
| 1
 
| profile
 
| TODO
 
|-
 
| g_brake_light_all
 
| integer
 
| 1
 
| profile
 
| TODO
 
|-
 
| g_mph
 
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| Use miles (1) or kilometers (0).
+
| Disable usage of WMI while detecting graphics card memory informations.
|-
 
| [[Engine/Config_variables/g_pounds|g_pounds]]
 
| string
 
| kg
 
| profile
 
| Set weight unit
 
 
|-
 
|-
| g_fahrenheit
+
| [[/r_nv_stereo_mode/]]
 
| integer
 
| integer
| 0
+
| 2
| profile
+
| global
| TODO
+
| How to handle NV 3D vision stereo mode.
 
|-
 
|-
| g_gallon
+
| r_path
| integer
 
| 0
 
| profile
 
| TODO
 
|-
 
| g_reg_setting
 
 
| string
 
| string
 
| No default value
 
| No default value
| profile
+
| global
| Name of the regional settings unit. By default for ETS2 it's reg_setting.europe for ATS it's reg_setting.usa.
+
| Render path.
 
|-
 
|-
| g_hardcore_simulation
+
| r_scale_x
| integer
+
| float
| 0
+
| 1.0
| profile
+
| global
| TODO
+
| X-axis rendering scaling factor.
 
|-
 
|-
| g_fuel_simulation
+
| r_scale_y
| integer
 
| 0
 
| profile
 
| TODO
 
|-
 
| g_pedal_clutch_range
 
 
| float
 
| float
 
| 1.0
 
| 1.0
| profile
+
| global
| TODO
+
| Y-axis rendering scaling factor.
 +
|-
 +
| r_segment_buffer_size
 +
| integer
 +
| 128
 +
| global
 +
| Segment buffer size in MB
 
|-
 
|-
| g_throttle_auto_shift
+
| r_setup_done
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| TODO
+
| Are default graphics settings setup?
 
|-
 
|-
| g_cruise_control_grid
+
| r_show_light_pixel_coverage
| float
 
| 5.0
 
| profile
 
| TODO
 
|-
 
| g_cruise_control_smart
 
| float
 
| 0.0
 
| profile
 
| TODO
 
|-
 
| g_cam_steering
 
 
| integer
 
| integer
 
| 0
 
| 0
| profile
+
| global
| TODO
+
| Show lights debugging helpers?
 
|-
 
|-
| g_cam_steering_value
+
| r_startup_progress
| float
 
| 1.0
 
| profile
 
| TODO
 
|-
 
| g_cam_steering_reverse
 
 
| integer
 
| integer
| 1.0
+
| 0
| profile
+
| global
| TODO
+
| Indicates progress of game startup.
 
|-
 
|-
| g_cam_physics
+
| r_sun_shadow_quality
 
| integer
 
| integer
| 1
+
| 4
| profile
+
| global
| TODO
+
| Quality of the sun shadows.
 
|-
 
|-
| g_cam_physics_value
+
| r_sun_shadow_texture_size
| float
 
| 1.0
 
| profile
 
| TODO
 
|-
 
| g_cam_blinker
 
 
| integer
 
| integer
| 0
+
| 4096
| profile
+
| global
| TODO
+
| Size of the sun shadow texture. Bigger number = better visuals, smaller fps
 
|-
 
|-
| g_toy_physics
+
| r_sunshafts
 
| integer
 
| integer
 
| 1
 
| 1
| profile
+
| global
| Is simulation of toy physics movement enabled?
+
| Are sunshafts enabled?
 
|-
 
|-
| g_save_format
+
| r_texture_detail
 
| integer
 
| integer
 
| 0
 
| 0
 
| global
 
| global
| TODO
+
| Texture detail. Number of biggest mipmap levels to skip.
 
|-
 
|-
| s_reverse_enabled
+
| r_use_depth_bounds
 
| integer
 
| integer
 
| 1
 
| 1
| profile
+
| global
| Is reverse sound enabled?
+
| Should game use depth bounds to speedup rendering of the lights? (Works only on supported hardware)
 
|-
 
|-
| s_rumble_enabled
+
| r_vsync
 
| integer
 
| integer
 
| 1
 
| 1
| profile
+
| global
| Is rumble sound enabled?
+
| Is vertical synchronization enabled?
 
|-
 
|-
| s_music_enabled
+
| r_wireframe
 
| integer
 
| integer
| 1
+
| 0
| profile
+
| global
| Is music enabled?
+
| Enables wireframe rendering.
|-
 
| s_sfx_enabled
 
| integer
 
| 1
 
| profile
 
| Is sfx enabled?
 
 
|-
 
|-
 
| s_air_noise
 
| s_air_noise
Line 1,181: Line 1,141:
 
| 1.0
 
| 1.0
 
| profile
 
| profile
| TODO
+
| Sound of air at high speed.
|-
 
| s_wheel_noise
 
| float
 
| 1.0
 
| profile
 
| TODO
 
 
|-
 
|-
 
| s_interior_volume
 
| s_interior_volume
Line 1,200: Line 1,154:
 
| profile
 
| profile
 
| Master volume.
 
| Master volume.
 +
|-
 +
| s_music_enabled
 +
| integer
 +
| 1
 +
| profile
 +
| Is music enabled?
 
|-
 
|-
 
| s_music_volume
 
| s_music_volume
Line 1,213: Line 1,173:
 
| Radio volume.
 
| Radio volume.
 
|-
 
|-
| s_sfx_volume
+
| s_reverse_enabled
| float
+
| integer
| 1.0
+
| 1
 
| profile
 
| profile
| SFX volume.
+
| Is reverse sound enabled?
 
|-
 
|-
 
| s_reverse_stereo
 
| s_reverse_stereo
Line 1,225: Line 1,185:
 
| Is stereo reversed?
 
| Is stereo reversed?
 
|-
 
|-
| i_virtual_cursor_speed
+
| s_rumble_enabled
| float
 
| 500.0
 
| global
 
| TODO
 
|-
 
| g_artist_id
 
| integer
 
| 0
 
| global
 
| TODO
 
|-
 
| g_steam_screenshots
 
| integer
 
| 2
 
| global
 
| TODO
 
|-
 
| g_steam_browser
 
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| TODO
+
| Is rumble sound enabled?
 
|-
 
|-
| g_steam_rich_presence
+
| s_sfx_enabled
 
| integer
 
| integer
 
| 1
 
| 1
| global
+
| profile
| TODO
+
| Is sfx enabled?
 
|-
 
|-
| g_show_game_elements
+
| s_sfx_volume
| integer
+
| float
| 1
+
| 1.0
| global
+
| profile
| TODO
+
| SFX volume.
 
|-
 
|-
| g_disable_hud_activation
+
| s_wheel_noise
| integer
+
| float
| 0
+
| 1.0
| global
+
| profile
| TODO
+
| Sound of wheels at high speed.
 
|-
 
|-
| n_online_pre_fail_probability
+
| sys_info
| integer
+
| string
| 0
+
| No default value
 
| global
 
| global
| TODO
+
| Stores information about your operating system
 
|-
 
|-
| n_online_post_fail_probability
+
| t_averaging_window_duration
 
| integer
 
| integer
| 0
+
| 100
 
| global
 
| global
| TODO
+
| Maximal combined duration of past frames used to calculate the current frame duration. Expressed in milliseconds.
 
|-
 
|-
| n_online_delay_min
+
| t_averaging_window_length
 
| integer
 
| integer
| 0
+
| 10
 
| global
 
| global
| TODO
+
| Maximal number of the past frames used to calculate the current frame duration.
 
|-
 
|-
| n_online_delay_max
+
| vid_mem
| integer
+
| string
| 0
+
| No default value
 
| global
 
| global
| TODO
+
| Stores information about video memory of currently used graphics card.
 
|-
 
|-
| i_hmd_min_prediction
+
| vid_name
| float
+
| string
| 0.0
+
| No default value
| profile
 
| TODO
 
|-
 
| i_hmd_max_prediction
 
| float
 
| 0.1
 
| profile
 
| TODO
 
|-
 
| i_oculus_eye_height
 
| float
 
| 0.15
 
| profile
 
| TODO
 
|-
 
| i_oculus_eye_protrusion
 
| float
 
| 0.09
 
| profile
 
| TODO
 
|-
 
| p_profile_draws
 
| integer
 
| 0
 
 
| global
 
| global
| Profile draw calls
+
| Stores information about currently used graphics card.
 
|-
 
|-
| g_minicon
+
| vid_ver
| integer
+
| string
| 0
+
| No default value
 
| global
 
| global
| Is mini console enabled?
+
| Stores information about currently used graphics card driver version.
|-
 
| g_console
 
| integer
 
| 0
 
| global
 
| Is console enabled?
 
 
|}
 
|}
 
[[Category:TODO]]
 

Latest revision as of 06:17, 13 July 2024

TIP: Be aware that this page is obsolete, it should be updated with all comments in the future time.

The following variables configure different aspects of the game.

Some of them (global settings) are loaded from the config.cfg that can be found in the game user folder; others (which are associated with a player's profile) will be saved in the profile folder (e.g. "<game_user_path>/profiles/<profile_id>").

Most of these can be changed during the game play using the console. To do so, enter the variable name, followed by the desired value, to change it, and press Enter. Additionally the command uset can be used before the cvar name, but it is not necessary.

To determine the current and default value of a variable, enter only its name.

Example:

g_police 0     (disables traffic fines)
g_colbox 1     (displays collision boxes)

r_mirror_view_distance  (might return the following)
"r_mirror_view_distance" is: "400" default:"80.0"


Variables list (some of the columns in the table can be sorted by clicking the up/down arrows):

Name Type Default value Config Purpose
g_additional_water_fov float 20.0f global By how much increase the horizontal fov used to render the water effect.
g_adviser integer 1 profile Adviser mode: 0 = hidden, 1 = shown, 2 = mini mode.
g_adviser_auto_parking integer 1 profile Enable/disable auto parking feature.
g_adviser_keep_hidden integer 0 profile Keep adviser in hidden state (do not show any message).
g_artist_id integer 0 global Artist specific id. (0-15 range)
g_auto_traffic_headlights integer 1 global Enable/Disable headlights from automatic traffic.
g_autoload_ignore_autosave integer 0 profile Should auto-loading ignore all autosaves and use only manual saves?
g_axle_drop_auto integer 1 profile Is automatic axle drop enabled?
g_bad_weather_factor float 0.07 profile Bad weather factor. Affects probability of rainy weather.
g_brake_intensity float 1.0 profile Brake intensity modifier.
g_brake_light_all integer 1 profile Show brake light for all brakes (value: 1) or only service, retarder and trailer brake (value: 0)?
g_cam_blinker integer 0 profile Is interior camera movement based on blinker activation enabled.
g_cam_physics integer 1 profile Is interior camera movement based on physics movement of driver enabled?
g_cam_physics_value float 1.0 profile Value of interior camera movement based on physics movement of driver.
g_cam_steering integer 0 profile Is interior camera movement based on steering angle enabled?
g_cam_steering_reverse integer 1.0 profile Interior camera movement based on steering angle, behavior on reverse.
g_cam_steering_value float 1.0 profile Multiplier for interior camera movement based on steering angle.
g_cargo_sort integer 0 global Current cargo sort method.
g_city_name_move integer 0 global Enable ability to move city names on map.
g_clock_24 integer 1 profile Use 24 hour clock or 12 hour clock (value 1 = 24 hour, value 0 = 12 hour)
g_console integer 0 global Is console enabled?
g_cruise_control_grid float 5.0 profile Digital cruise control grid step.
g_cruise_control_smart float 0.0 profile Smart cruise control window, if you want to disable it set to negative value.
g_currency integer 0 profile Currency used in game.
g_cutscenes integer 1 profile Enable/disable cutscenes.
g_debug_interior_cam integer 0 global Enables drawing of the truck geometry even in the interior camera mode.
g_debug_map_limits integer 0 global Enable/Disable the debugging of the map speed limits.
g_desktop_fadeout float 60 global Delay in seconds before the desktop ui will fade out when left idle.
g_desktop_tutorial integer 1 profile Is desktop tutorial enabled?
g_developer integer 0 global Is developer mode enabled?
g_disable_hud_activation integer 0 global Are specific hud activations disabled?
g_engine_start_auto integer 1 profile Is engine automatic start enabled?
g_fahrenheit integer 0 profile Should game display temperature in fahrenheits (value: 1) or degrees of celsius (value: 0)?
g_fatigue integer 1 profile State of the fatigue simulation
g_flyspeed float 100.0 global Debug camera fly speed
g_force_economy_reset integer 0 profile A value of 1 forces an economy reset (generating new job listings).
The player should be free-roaming when issuing the command, and afterwards entering and exiting the Profile Manager.
g_force_load_selector integer 0 profile Forces the appearance of the load slot selector.
g_force_online_lscrs integer 0 global Force online loading screens. If no loading screen is specified in specified category (ferry, eurotunnel, normal) built-in one is showed.
g_fps integer 0 global Display FPS in mini console.
g_fuel_simulation integer 0 profile Is realistic fuel consumption enabled?
g_gallon integer 0 profile Should game display volume as gallon (value: 1) or liters (value: 0)?
g_gfx_advanced integer 0 global Graphics settings last used (0 = simple, 1 = advanced).
g_gfx_all_scales integer 0 global Enables selection of all rendering scales in ui even on machines with small virtual memory.
g_gfx_quality integer -1 global Quality presets of graphics. Linked directly to quality_level_t enum, with "-1" as "custom" state.
g_global_force_load_selector integer 0 global Forces the appearance of the load slot selector for all profiles. (Correct value are: 0, 1)
g_grass_density integer 2 global Grass density setting.
g_hardcore_simulation integer 0 profile Is air brake simulation enabled?
g_hmd_no_3d_background integer 0 profile Disables use of 3d background for the menu.
g_hmd_no_artifical_movement integer 0 profile Disables artifical angle based movement of the interior.
g_hmd_no_special_menu integer 0 profile Disables use of special variants of menu ui when HMD is enabled.
g_hmd_reduced_cabin_movement integer 1 profile Reduces the cabin movement by disabling its separate movement on the visual level.
g_hshifter_layout integer 0 profile Type of hshifter layout.
g_hshifter_layout_shifting integer 1 profile Layout analyzed and used for more realistic shifting sounds.
g_hshifter_synchronized integer 1 profile Behaves/sounds like synchronized transmission.
g_hud_speed_limit integer 1 profile Speed limit state on the adviser.
g_ignore_low_fps integer 0 global Enable/Disable the low frame rate warnings.
g_income_factor float 1.0 profile Income factor (minimum is 0.0 maximum is 1.0). Multiplies all incomes.
g_input_configured integer 0 profile Is input configured?
g_interior_camera_zero_pitch integer 0 global Is default mouse position ignored in truck interior? This should be set to 1 when you are using some HMD such like Oculus Rift.
g_job_distance_limit float -1.0 profile Limit generating of the jobs that are in specified range from current player position. Negative value means no limit for generation applied.
g_kdop_preview integer 0 global Enable/Disable the preview of generated k-DOPs.
g_lang string en_gb profile Language currently used by game.
g_lang_set integer 1 profile Is language set manually (1)?
g_light_distance_factor float 1.0 global Light source fade start distance is multiplied by this value.
g_light_span_factor float 1.0 global Light source fade span is multiplied by this value.
g_line_sort integer 0 global Current line sort criteria for jobs.
g_lod_factor_parked float 1.0 global LOD distances for parked vehicles are multiplied by this factor.
g_lod_factor_pedestrian float 1.0 global LOD distances for pedestrians are multiplied by this factor.
g_lod_factor_traffic float 1.0 global LOD distances for traffic vehicles are multiplied by this factor.
g_menu_aa_limit integer 8 global Number of tiles below which we enable SSAA in the menu scene.
g_minicon integer 0 global Is mini console enabled?
g_mm_help_shown integer 0 global Used for indication if its first time when player enters mod manager to show him welcome screen.
g_motor_brake_auto integer 0 profile Is automatic usage of engine brake enabled?
g_mph integer 0 profile Use miles (1) or kilometers (0).
g_news integer -1 global Is online news enabled?
g_online_loading_screens integer -1 global Are online loading screens enabled?
g_parking_difficulty integer 0 profile Parking difficulty
g_pedal_clutch_range float 1.0 profile Cluch range.
g_pedestrian integer 1 global Enable/Disable pedestrian generation.
g_police integer 1 profile Is police simulation enabled? If set to 0 you will not get any penalties.
g_pounds string kg profile Set weight unit
g_radio_mode integer 1 global Radio player mode.
g_rain_reflect_actor integer 1 global Should we reflect game actor in the rain?
g_rain_reflect_cache integer 1 global Should we reflect geometry cache in the rain?
g_rain_reflect_hookups integer 1 global Should we reflect hookups associated with segment items (e.g. lamp flares)?
g_rain_reflect_traffic integer 1 global Should we reflect traffic in the rain?
g_rain_reflection integer 3 global Rain reflection quality.
g_reflection integer 3 global Reflection detail.
g_reg_setting string No default value profile Name of the regional settings unit. By default for ETS2 it's reg_setting.europe for ATS it's reg_setting.usa.
g_remove_missing_accessories integer 0 profile Remove all acccessories that are no longer available in game and replace them with fallback accessories if possible.
g_retarder_auto integer 0 profile Is automatic usage of retarder enabled?
g_save_format integer 0 global Format used to store the game saves.
g_save_idx integer 1 profile Current profile save index. Used for automatic naming of saves.
g_screenshot_on_bug integer 0 global Enable/Disable automatic generation of screenshots when bug is reported even if the normal combination is used.
g_show_game_elements integer 1 global Are activation points enabled?
g_start_in_truck integer 0 profile If profile has assigned truck should we skip desktop and start in it?
g_steam_browser integer 1 global Should game use steam build-in browser or user default browser to open external links?
g_steam_rich_presence integer 1 global Is steam rich presence enabled?
g_steam_screenshots integer 2 global Way in which we should handle the screenshots in steam version.
g_steer_autocenter integer 1 profile Is steering wheel autocenter enabled?
g_texture_usage_stats integer 0 global Print texture usage statistics into the console?
g_throttle_auto_shift integer 0 profile Automatic gearbox uses throttle as input for shifting policy.
g_tooltip_delay float 0.4 global Delay specified in seconds indicating when to show tooltip since hovering the item with tooltip.
g_toy_physics integer 1 profile Is simulation of toy physics movement enabled?
g_trackir integer 1 global Enable/Disable the TrackIR support.
g_traffic float 1.0 global Traffic intensity.
  • 0.0 - traffic disabled
  • 10.0 - maximum traffic intensity
g_trailer_stability float 0.5 profile Trailer stability factor.
g_trans integer 0 profile Type of transmission.
g_truck_light_quality integer 1 global Quality of result of the head light.
g_truck_light_specular integer 1 global Enables/disables use of specular during head light calculation.
g_tutorial integer 1 profile Is tutorial enabled?
g_use_speed_limiter integer 1 profile Is speed limiter enabled?
g_veg_detail integer 2 global Vegetation detail setting. 0 - low, 1 - medium, 2 - high
g_vehicle_flare_lights integer 1 global Enable/Disable lights associated with vehicle flares.
i_virtual_cursor_speed float 500.0 global Speed of movement of the cursor when using a gamepad-like input in pixels per second.
Set to zero or negative value to disable use of gamepads and joysticks for cursor movement.
p_profile_draws integer 0 global Profile draw calls
r_anisotropy_factor float 0.25 global Anistropy factor.
r_cloud_shadows integer 1 global Are cloud shadows enabled?
r_color_correction integer 1 global Color correction state.
r_color_cyan_red float 0.0 global Cyan-red factor of the color correction in -1 to 1 range.
r_color_magenta_green float 0.0 global Magenta-green factor of the color correction in -1 to 1 range.
r_color_saturation float 1.0 global Color saturation factor 1.0 is neutral.
r_color_yellow_blue float 0.0 global Yellow-blue factor of the color correction in -1 to 1 range.
r_deferred integer 1 global Is deferred rendering enabled? If set to 0 game uses forward rendering pipeline which disables shadows, lights and all post process effects.
r_deferred_debug integer 0 global If value is greater than 0 runs deferred renderer debug.
r_deferred_mirrors integer 1 global Use deferred rendering pipeline while rendering mirrors?
r_device string dx9 global Render device (correct values: dx9, dx11, gl).
r_dof integer 1 global Is Depth Of Field effect enabled?
r_dof_filter_size float 0.5 global Size of the Depth Of Field filter.
r_dof_start float 200.0 global Starting range of the Depth Of Field
r_dof_transition float 400.0 global Length of range between minimal and maximal Depth Of Field blur.
r_fake_shadows integer 2 global Fake shadows state.
r_fullscreen integer 1 global Is fullscreen enabled?
r_gamma float 1.0 global Gamma correction factor (works only in fullscreen mode)
r_hdr integer 1 global Is HDR enabled?
r_manual_stereo_buffer_scale float 1.0 global Scale factor used when creating stereo buffers.
r_manual_stereo_in_menu integer 1 global Is use of manual stereo enabled even in menu?
r_manual_stereo_ui_dist float 0.8 global UI draw plane distance when using stereo.
r_manual_stereo_ui_dist_game float 0.5 global UI draw plane distance when using stereo.
r_manual_stereo_ui_fov float 80 global Manual stereo UI field of view when using stereo.
r_manual_stereo_ui_fov_game float 100 global Manual stereo UI field of view when using stereo.
r_minimal_unfinished_frames integer 0 global Simulate bigger queue in tracking completion frames.
r_mirror_scale_x float 1.0 global X-axis mirror rendering scaling factor.
r_mirror_scale_y float 1.0 global Y-axis mirror rendering scaling factor.
r_mirror_view_distance float 80.0 global View distance of the mirrors.
r_mlaa integer 1 global Is MLAA enabled?
r_mlaa_threshold float 1.0 global Edge threshold used for MLAA anti-aliasing
r_mode string No default value global Current resolution in format: {screen_width}x{screen_height}x{color_depth}x{refresh_rate}
r_multimon_border_fov_left float 0 global Additional angle added to offset between cameras to represent oblast hidden by the monitor border.
r_multimon_border_fov_right float 0 global Additional angle added to offset between cameras to represent oblast hidden by the monitor border.
r_multimon_exterior_in_aux integer 0 global Should we render exterior in the auxiliary view?
r_multimon_fov_horizontal float 50 global Horizontal field of view used with multi monitor configuration.
r_multimon_fov_vertical float 0 global Vertical field of view used with multi monitor configuration.
r_multimon_interior_in_main integer 1 global Should we render interior inside the main views.
r_multimon_mode integer 0 global Controls the multi-monitor mode.
r_multimon_rotation_aux float 0 global Roll of the auxillary monitor.
r_multimon_rotation_center float 0 global Roll of the center monitor.
r_multimon_rotation_left float 0 global Roll of the left monitor.
r_multimon_rotation_right float 0 global Roll of the right monitor.
r_multimon_vert_offset_left float 0 global Additional vertical offset of left monitor.
r_multimon_vert_offset_right float 0 global Additional vertical offset of right monitor.
r_no_frame_tracking integer 0 global Disable frame tracking feature.
r_normal_maps integer 1 global Is normal mapping enabled?
r_nowmi integer 0 global Disable usage of WMI while detecting graphics card memory informations.
r_nv_stereo_mode integer 2 global How to handle NV 3D vision stereo mode.
r_path string No default value global Render path.
r_scale_x float 1.0 global X-axis rendering scaling factor.
r_scale_y float 1.0 global Y-axis rendering scaling factor.
r_segment_buffer_size integer 128 global Segment buffer size in MB
r_setup_done integer 0 global Are default graphics settings setup?
r_show_light_pixel_coverage integer 0 global Show lights debugging helpers?
r_startup_progress integer 0 global Indicates progress of game startup.
r_sun_shadow_quality integer 4 global Quality of the sun shadows.
r_sun_shadow_texture_size integer 4096 global Size of the sun shadow texture. Bigger number = better visuals, smaller fps
r_sunshafts integer 1 global Are sunshafts enabled?
r_texture_detail integer 0 global Texture detail. Number of biggest mipmap levels to skip.
r_use_depth_bounds integer 1 global Should game use depth bounds to speedup rendering of the lights? (Works only on supported hardware)
r_vsync integer 1 global Is vertical synchronization enabled?
r_wireframe integer 0 global Enables wireframe rendering.
s_air_noise float 1.0 profile Sound of air at high speed.
s_interior_volume float 1.0 profile Interior sound volume multiplier.
s_master_volume float 1.0 profile Master volume.
s_music_enabled integer 1 profile Is music enabled?
s_music_volume float 0.8 profile Music volume.
s_radio_volume float 1.0 profile Radio volume.
s_reverse_enabled integer 1 profile Is reverse sound enabled?
s_reverse_stereo int 0 profile Is stereo reversed?
s_rumble_enabled integer 1 profile Is rumble sound enabled?
s_sfx_enabled integer 1 profile Is sfx enabled?
s_sfx_volume float 1.0 profile SFX volume.
s_wheel_noise float 1.0 profile Sound of wheels at high speed.
sys_info string No default value global Stores information about your operating system
t_averaging_window_duration integer 100 global Maximal combined duration of past frames used to calculate the current frame duration. Expressed in milliseconds.
t_averaging_window_length integer 10 global Maximal number of the past frames used to calculate the current frame duration.
vid_mem string No default value global Stores information about video memory of currently used graphics card.
vid_name string No default value global Stores information about currently used graphics card.
vid_ver string No default value global Stores information about currently used graphics card driver version.