Difference between revisions of "Documentation/Engine/Configuration variables"
< Documentation | Engine
Jump to navigation
Jump to search
Line 243: | Line 243: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Print texture usage statistics into the console? |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
| r_device | | r_device | ||
Line 267: | Line 261: | ||
| No default value | | No default value | ||
| global | | global | ||
− | | | + | | Current resolution in format: {screen_width}x{screen_height}x{color_depth}x{refresh_rate} |
|- | |- | ||
| r_fullscreen | | r_fullscreen | ||
Line 273: | Line 267: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | | + | | Is fullscreen enabled? |
|- | |- | ||
| r_msaa | | r_msaa | ||
Line 285: | Line 279: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Disable frame tracking feature. |
|- | |- | ||
| r_minimal_unfinished_frames | | r_minimal_unfinished_frames | ||
Line 291: | Line 285: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Simulate bigger queue in tracking completion frames. |
|- | |- | ||
| r_nv_stereo_mode | | r_nv_stereo_mode | ||
Line 297: | Line 291: | ||
| 2 | | 2 | ||
| global | | global | ||
− | | TODO | + | | How to handle NV 3D vision stereo mode. |
+ | |||
+ | TODO: move to cvar specific page | ||
+ | |||
+ | *0 - disabled | ||
+ | *1 - enabled | ||
+ | *2 - fully enabled | ||
|- | |- | ||
| r_manual_stereo_in_menu | | r_manual_stereo_in_menu | ||
Line 303: | Line 303: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | | + | | Is use of manual stereo enabled even in menu? |
|- | |- | ||
| r_manual_stereo_ui_dist | | r_manual_stereo_ui_dist | ||
Line 309: | Line 309: | ||
| 0.8 | | 0.8 | ||
| global | | global | ||
− | | | + | | UI draw plane distance when using stereo. |
|- | |- | ||
| r_manual_stereo_ui_dist_game | | r_manual_stereo_ui_dist_game | ||
Line 315: | Line 315: | ||
| 0.5 | | 0.5 | ||
| global | | global | ||
− | | | + | | UI draw plane distance when using stereo. |
|- | |- | ||
| r_manual_stereo_ui_fov | | r_manual_stereo_ui_fov | ||
Line 321: | Line 321: | ||
| 80 | | 80 | ||
| global | | global | ||
− | | | + | | Manual stereo UI field of view when using stereo. |
|- | |- | ||
| r_manual_stereo_ui_fov_game | | r_manual_stereo_ui_fov_game | ||
Line 327: | Line 327: | ||
| 100 | | 100 | ||
| global | | global | ||
− | | | + | | Manual stereo UI field of view when using stereo. |
|- | |- | ||
| r_manual_stereo_buffer_scale | | r_manual_stereo_buffer_scale | ||
Line 333: | Line 333: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | Scale factor used when creating stereo buffers. |
|- | |- | ||
| r_setup_done | | r_setup_done | ||
Line 339: | Line 339: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Are default graphics settings setup? |
|- | |- | ||
| r_startup_progress | | r_startup_progress | ||
Line 345: | Line 345: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Indicates progress of game startup. |
|- | |- | ||
| r_nowmi | | r_nowmi | ||
Line 351: | Line 351: | ||
| 0 | | 0 | ||
| global | | global | ||
− | | | + | | Disable usage of WMI while detecting graphics card memory informations. |
|- | |- | ||
| r_deferred | | r_deferred | ||
Line 387: | Line 387: | ||
| 2 | | 2 | ||
| global | | global | ||
− | | TODO | + | | Fake shadows state. |
+ | |||
+ | TODO: Move to cvar specific page | ||
+ | *0 - No fake shadows | ||
+ | *1 - Simple fake shadows | ||
+ | *2 - Extended fake shadows | ||
|- | |- | ||
| r_hdr | | r_hdr | ||
Line 405: | Line 410: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | Edge threshold used for MLAA anti-aliasing |
|- | |- | ||
| r_dof | | r_dof | ||
Line 417: | Line 422: | ||
| 200.0 | | 200.0 | ||
| global | | global | ||
− | | | + | | Starting range of the Depth Of Field |
|- | |- | ||
| r_dof_transition | | r_dof_transition | ||
Line 423: | Line 428: | ||
| 400.0 | | 400.0 | ||
| global | | global | ||
− | | | + | | Length of range between minimal and maximal Depth Of Field blur. |
|- | |- | ||
| r_dof_filter_size | | r_dof_filter_size | ||
Line 429: | Line 434: | ||
| 0.5 | | 0.5 | ||
| global | | global | ||
− | | | + | | Size of the Depth Of Field filter. |
|- | |- | ||
| r_cloud_shadows | | r_cloud_shadows | ||
Line 435: | Line 440: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | | + | | Are cloud shadows enabled? |
|- | |- | ||
| r_color_correction | | r_color_correction | ||
Line 441: | Line 446: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | TODO | + | | Color correction state. |
+ | |||
+ | TODO: Move to cvar specific page | ||
+ | *0 - disabled | ||
+ | *1 - enabled using game data | ||
+ | *2 - enabled using cvar values r_color_* | ||
|- | |- | ||
| r_color_cyan_red | | r_color_cyan_red | ||
Line 447: | Line 457: | ||
| 0.0 | | 0.0 | ||
| global | | global | ||
− | | | + | | Cyan-red factor of the color correction in -1 to 1 range. |
|- | |- | ||
| r_color_magenta_green | | r_color_magenta_green | ||
Line 453: | Line 463: | ||
| 0.0 | | 0.0 | ||
| global | | global | ||
− | | | + | | Magenta-green factor of the color correction in -1 to 1 range. |
|- | |- | ||
| r_color_yellow_blue | | r_color_yellow_blue | ||
Line 459: | Line 469: | ||
| 0.0 | | 0.0 | ||
| global | | global | ||
− | | | + | | Yellow-blue factor of the color correction in -1 to 1 range. |
|- | |- | ||
| r_color_saturation | | r_color_saturation | ||
Line 465: | Line 475: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | Color saturation factor 1.0 is neutral. |
|- | |- | ||
| r_sunshafts | | r_sunshafts | ||
Line 471: | Line 481: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | | + | | Are sunshafts enabled? |
|- | |- | ||
| r_normal_maps | | r_normal_maps | ||
Line 477: | Line 487: | ||
| 1 | | 1 | ||
| global | | global | ||
− | | | + | | Is normal mapping enabled? |
|- | |- | ||
| r_scale_x | | r_scale_x | ||
Line 483: | Line 493: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | X-axis rendering scaling factor. |
|- | |- | ||
| r_scale_y | | r_scale_y | ||
Line 489: | Line 499: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | Y-axis rendering scaling factor. |
|- | |- | ||
| r_mirror_scale_x | | r_mirror_scale_x | ||
Line 495: | Line 505: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | X-axis mirror rendering scaling factor. |
|- | |- | ||
| r_mirror_scale_y | | r_mirror_scale_y | ||
Line 501: | Line 511: | ||
| 1.0 | | 1.0 | ||
| global | | global | ||
− | | | + | | Y-axis mirror rendering scaling factor. |
|- | |- | ||
| [[Engine/Config_variables/r_deferred_debug|r_deferred_debug]] | | [[Engine/Config_variables/r_deferred_debug|r_deferred_debug]] |
Revision as of 14:14, 9 February 2016
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").
Moreover all this variables can also be changed during game play.
Name | Type | Default value | Config | Purpose | |
---|---|---|---|---|---|
r_texture_detail | integer | 0 | global | Texture detail. | |
r_anisotropy_factor | float | 0.25 | global | Anistropy factor. | |
r_vsync | integer | 1 | global | Is vertical synchronization enabled? | |
sys_info | string | x86 / Windows 7 x64 (version 6.1) / Service Pack 1 | global | Store informations about your operating system | |
vid_name | string | <unknown> | global | Store informations about using graphics card. | |
vid_mem | string | 0 | global | Store informations about using graphics card memory. | |
vid_ver | string | 0 | global | Store information about using graphics card driver version. | |
t_averaging_window_length | integer | 20 | global | TODO | |
g_clock_24 | integer | 1 | profile | Use 24 hour clock or 12 hour clock (value 1 = 24 hour, value 0 = 12 hour) | |
g_police | integer | 1 | profile | Is police simulation enabled? If set to 0 you will not get any penalties. | |
g_fatigue | integer | 1 | profile | State of the fatigue simulation | |
g_tutorial | integer | 1 | profile | Is tutorial enabled? | |
g_desktop_tutorial | integer | 1 | profile | Is display tutorial enabled? | |
g_adviser | integer | 1 | profile | Is adviser enabled? | |
g_adviser_keep_hidden | integer | 0 | profile | Keep adviser hiddden state. | |
g_adviser_auto_parking | integer | 1 | profile | Disable auto parking. | |
g_save_idx | integer | 1 | profile | Current profile save index. | |
g_desktop_fadeout | float | 60 | global | Delay specified in seconds used to fadeout ui in desktop. | |
g_bad_weather_factor | float | 0.07 | profile | Bad weather factor | |
g_currency | integer | 0 | profile | Currency used in game. | |
g_income_factor | float | 1.0 | profile | Income factor (minimum is 0.0 maximum is 1.0) | |
g_job_distance_limit | float | -1.0 | profile | Limit generating of the jobs that are in specified range from current player position. -1.0 value means show all generated jobs. | |
g_parking_difficulty | integer | 0 | profile | Parking difficulty | |
g_input_configured | integer | 0 | profile | Is input configured? | |
g_start_in_truck | integer | 0 | profile | If profile has assigned truck should we skip desktop and start in it? | |
g_autoload_ignore_autosave | integer | 0 | profile | Should auto-loading ignore all autosaves and use only manual saves? | |
g_force_load_selector | integer | 0 | profile | Forces the appearance of the load slot selector. | |
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_force_economy_reset | integer | 0 | profile | Force economy reset. | |
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_tooltip_delay | float | 0.4 | global | Delay specified in seconds indicating when to show tooltip since hovering the item with tooltip. | |
g_cargo_sort | integer | 0 | global | Current cargo sort method. TODO: Write down all possibilities | |
g_line_sort | integer | 0 | global | Current line sort criteria for jobs. | |
g_debug_interior_cam | integer | 0 | global | Enables drawing of the truck geometry even in the interior camera mode. | |
g_hw_info | integer | 1 | global | TODO | |
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_mm_help_shown | integer | 0 | global | Used for indication if its first time when player enters mod manager to show him welcome screen. | |
g_fps | integer | 0 | global | Display FPS in mini console. | |
g_texture_usage_stats | integer | 0 | global | Print texture usage statistics into the console? | |
r_device | string | dx9 | global | Render device. (correct values: dx9, gl) | |
r_path | string | No default value | global | Render path. | |
r_mode | string | No default value | global | Current resolution in format: {screen_width}x{screen_height}x{color_depth}x{refresh_rate} | |
r_fullscreen | integer | 1 | global | Is fullscreen enabled? | |
r_msaa | integer | 0 | global | Is MSAA enabled? | |
r_no_frame_tracking | integer | 0 | global | Disable frame tracking feature. | |
r_minimal_unfinished_frames | integer | 0 | global | Simulate bigger queue in tracking completion frames. | |
r_nv_stereo_mode | integer | 2 | global | How to handle NV 3D vision stereo mode.
TODO: move to cvar specific page
| |
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_manual_stereo_buffer_scale | float | 1.0 | global | Scale factor used when creating stereo buffers. | |
r_setup_done | integer | 0 | global | Are default graphics settings setup? | |
r_startup_progress | integer | 0 | global | Indicates progress of game startup. | |
r_nowmi | integer | 0 | global | Disable usage of WMI while detecting graphics card memory informations. | |
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_mirrors | integer | 1 | global | Use deferred rendering pipeline while rendering mirrors? | |
r_mirror_view_distance | float | 80.0 | global | View distance of the mirrors. | |
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_fake_shadows | integer | 2 | global | Fake shadows state.
TODO: Move to cvar specific page
| |
r_hdr | integer | 1 | global | Is HDR enabled? | |
r_mlaa | integer | 1 | global | Is MLAA enabled? | |
r_mlaa_threshold | float | 1.0 | global | Edge threshold used for MLAA anti-aliasing | |
r_dof | integer | 1 | global | Is Depth Of Field effect enabled? | |
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_dof_filter_size | float | 0.5 | global | Size of the Depth Of Field filter. | |
r_cloud_shadows | integer | 1 | global | Are cloud shadows enabled? | |
r_color_correction | integer | 1 | global | Color correction state.
TODO: Move to cvar specific page
| |
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_yellow_blue | float | 0.0 | global | Yellow-blue 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_sunshafts | integer | 1 | global | Are sunshafts enabled? | |
r_normal_maps | integer | 1 | global | Is normal mapping enabled? | |
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_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_deferred_debug | integer | 0 | global | If value is greater than 0 runs deferred renderer debug. | |
r_show_light_pixel_coverage | integer | 0 | global | TODO | |
r_use_depth_bounds | integer | 1 | global | TODO | |
r_gamma | float | 1.0 | global | TODO | |
r_multimon_mode | integer | 0 | global | Controls the multi-monitor mode. | |
r_multimon_fov_horizontal | float | 50 | global | TODO | |
r_multimon_fov_vertical | float | 0 | global | TODO | |
r_multimon_border_fov_left | float | 0 | global | TODO | |
r_multimon_border_fov_right | float | 0 | global | TODO | |
r_multimon_vert_offset_left | float | 0 | global | TODO | |
r_multimon_vert_offset_right | float | 0 | global | TODO | |
r_multimon_rotation_center | float | 0 | global | TODO | |
r_multimon_rotation_left | float | 0 | global | TODO | |
r_multimon_rotation_right | float | 0 | global | TODO | |
r_multimon_rotation_aux | float | 0 | global | TODO | |
r_multimon_interior_in_main | integer | 1 | global | Should we render interior inside the main views. | |
r_multimon_exterior_in_aux | integer | 0 | global | Should we render exterior in the auxiliary view. | |
r_segment_buffer_size | integer | 128 | global | Segment buffer size in MB | |
g_interior_camera_zero_pitch | integer | 0 | global | TODO | |
r_wireframe | integer | 0 | global | Enables wireframe rendering. | |
g_hmd_no_artifical_movement | integer | 0 | profile | TODO | |
g_hmd_reduced_cabin_movement | integer | 1 | profile | TODO | |
g_hmd_no_special_menu | integer | 0 | profile | TODO | |
g_hmd_no_3d_background | integer | 0 | profile | TODO | |
g_lang | string | No default value | profile | TODO | |
g_lang_set | integer | 1 | profile | TODO | |
g_news | integer | -1 | global | TODO | |
g_online_loading_screens | integer | -1 | global | TODO | |
g_colbox | integer | 0 | global | TODO | |
g_flyspeed | float | 100.0 | global | Debug camera fly speed | |
g_developer | integer | 0 | global | Is developer mode enabled? | |
g_city_name_move | integer | 0 | global | TODO | |
g_debug_map_limits | integer | 0 | global | TODO | |
g_automatic_test | integer | 0 | global | TODO | |
g_screenshot_on_bug | integer | 0 | global | TODO | |
g_kdop_preview | integer | 0 | global | TODO | |
g_traffic | float | 1.0 | global | TODO | |
g_lod_factor_traffic | float | 1.0 | global | TODO | |
g_lod_factor_parked | float | 1.0 | global | TODO | |
g_auto_traffic_headlights | integer | 1 | global | TODO | |
g_vehicle_flare_lights | integer | 1 | global | TODO | |
g_light_distance_factor | float | 1.0 | global | TODO | |
g_light_span_factor | float | 1.0 | global | TODO | |
g_pedestrian | integer | 1 | global | TODO | |
g_lod_factor_pedestrian | float | 1.0 | global | TODO | |
g_trackir | integer | 1 | global | TODO | |
g_veg_detail | integer | 2 | global | TODO | |
g_grass_density | integer | 2 | global | TODO | |
g_reflection | integer | 3 | global | TODO | |
g_rain_reflection | integer | 3 | global | TODO | |
g_rain_reflect_cache | integer | 1 | global | TODO | |
g_rain_reflect_traffic | integer | 1 | global | TODO | |
g_rain_reflect_actor | integer | 1 | global | TODO | |
g_rain_reflect_hookups | integer | 1 | global | TODO | |
g_additional_water_fov | float | 20.0f | global | TODO | |
g_menu_aa_limit | integer | 8 | global | TODO | |
g_hq_3d_screenshot | integer | 0 | global | TODO | |
g_hq_3d_scale | float | 0.0 | global | TODO | |
g_hq_screenshot_width | integer | 0 | global | TODO | |
g_hq_screenshot_height | integer | 0 | global | TODO | |
g_hq_map_screenshot | integer | 0 | global | TODO | |
g_truck_light_specular | integer | 1 | global | TODO | |
g_gfx_quality | integer | -1 | global | TODO | |
g_gfx_advanced | integer | 0 | global | TODO | |
g_gfx_all_scales | integer | 0 | global | TODO | |
g_truck_light_quality | integer | 1 | global | TODO | |
g_ignore_low_fps | integer | 0 | global | TODO | |
g_cutscenes | integer | 1 | profile | TODO | |
g_radio_mode | integer | 1 | global | TODO | |
g_trans | integer | 0 | profile | TODO | |
g_hshifter_layout | integer | 0 | profile | TODO | |
g_hshifter_layout_shifting | integer | 1 | profile | TODO | |
g_hshifter_synchronized | integer | 1 | profile | TODO | |
g_steer_autocenter | integer | 1 | profile | TODO | |
g_brake_intensity | float | 1.0 | profile | TODO | |
g_trailer_stability | float | 0.5 | profile | TODO | |
g_retarder_auto | integer | 0 | profile | TODO | |
g_motor_brake_auto | integer | 0 | profile | TODO | |
g_engine_start_auto | integer | 1 | profile | TODO | |
g_axle_drop_auto | 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 | 0 | profile | Use miles (1) or kilometers (0). | |
[[Engine/Config_variables/g_pounds | g_pounds]] | string | kg | profile | Set weight unit |
g_fahrenheit | integer | 0 | profile | TODO | |
g_gallon | integer | 0 | profile | TODO | |
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_hardcore_simulation | integer | 0 | profile | TODO | |
g_fuel_simulation | integer | 0 | profile | TODO | |
g_pedal_clutch_range | float | 1.0 | profile | TODO | |
g_throttle_auto_shift | integer | 0 | profile | TODO | |
g_cruise_control_grid | float | 5.0 | profile | TODO | |
g_cruise_control_smart | float | 0.0 | profile | TODO | |
g_cam_steering | integer | 0 | profile | TODO | |
g_cam_steering_value | float | 1.0 | profile | TODO | |
g_cam_steering_reverse | integer | 1.0 | profile | TODO | |
g_cam_physics | integer | 1 | profile | TODO | |
g_cam_physics_value | float | 1.0 | profile | TODO | |
g_cam_blinker | integer | 0 | profile | TODO | |
g_toy_physics | integer | 1 | profile | Is simulation of toy physics movement enabled? | |
g_save_format | integer | 0 | global | TODO | |
s_reverse_enabled | integer | 1 | profile | Is reverse sound enabled? | |
s_rumble_enabled | integer | 1 | profile | Is rumble sound enabled? | |
s_air_noise | float | 1.0 | profile | TODO | |
s_wheel_noise | float | 1.0 | profile | TODO | |
s_interior_volume | float | 1.0 | profile | Interior sound volume multiplier. | |
i_virtual_cursor_speed | float | 500.0 | global | TODO | |
g_artist_id | integer | 0 | global | TODO | |
g_steam_screenshots | integer | 2 | global | TODO | |
g_steam_browser | integer | 1 | global | TODO | |
g_steam_rich_presence | integer | 1 | global | TODO | |
g_show_game_elements | integer | 1 | global | TODO | |
g_disable_hud_activation | integer | 0 | global | TODO | |
n_online_pre_fail_probability | integer | 0 | global | TODO | |
n_online_post_fail_probability | integer | 0 | global | TODO | |
n_online_delay_min | integer | 0 | global | TODO | |
n_online_delay_max | integer | 0 | global | TODO | |
i_hmd_min_prediction | float | 0.0 | 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 | Profile draw calls | |
g_minicon | integer | 0 | global | Is mini console enabled? | |
g_console | integer | 0 | global | Is console enabled? |