Difference between revisions of "Manual:Config:Advanced:Variables"

From VsWiki
Jump to: navigation, search
Line 30: Line 30:
 
* <code>'''gun_speed'''</code> [float] - The adjustment factor for weapons' <code>speed</code> and <code>range</code> [[HowTo:Make_Weapons|attributes]]. Both values are multiplied by this if <code>'''gun_speed_adjusted_game_speed'''</code>=<code>false</code>, otherwise adjustments are more complex.
 
* <code>'''gun_speed'''</code> [float] - The adjustment factor for weapons' <code>speed</code> and <code>range</code> [[HowTo:Make_Weapons|attributes]]. Both values are multiplied by this if <code>'''gun_speed_adjusted_game_speed'''</code>=<code>false</code>, otherwise adjustments are more complex.
 
** <code>1</code> <small>(default)</small>
 
** <code>1</code> <small>(default)</small>
 +
* <code>'''special_and_normal_gun_combo'''</code> [boolean] - If set, the weapon group of all guns including "Special" ones can be toggled when cycling through guns.
 +
** <code>true</code> <small>(default)</small>
 +
** <code>false</code>
  
 
=="<code>graphics</code>" section==
 
=="<code>graphics</code>" section==

Revision as of 08:46, 15 August 2010

View this site in other languages:   DeutschEnglishFrançaisEspañolPolskiItalianoNederlandsРуccкий简体中文


arrow_left.png Config:Advanced:Bindings arrow_up.png Config:Advanced Config:Advanced arrow_right.png

Configuration variables

FIXME <Variables> + <colors> FIXME Syntax of the variables and where to put them.

"data" section

  • hqtextures [string] - enables the hqtextures directory


"Physics" section

  • collision_inertial_time [float] - FIXME
    • 1.25 (default)
  • game_speed [float]- Changed by setup program, depends on difficulty setting.
    • 1 (default)
  • game_speed_lying [boolean] - FIXME
    • true
    • false (default)
  • reduce_beam_ammo [boolean] - If set, beam weapons with ammo will expend it (currently only Jackhammer).
    • true
    • false (default)
  • gun_speed_adjusted_game_speed [boolean] - Turns on a correction of speed and range attributes for all weapons toward the medium values (for gun_speed=1 speed <1000 is raised, otherwise lowered; range dropped to 1/8 of the value in weapon_list.xml).
    • true (in default vegastrike.config)
    • false (default)
  • gun_speed [float] - The adjustment factor for weapons' speed and range attributes. Both values are multiplied by this if gun_speed_adjusted_game_speed=false, otherwise adjustments are more complex.
    • 1 (default)
  • special_and_normal_gun_combo [boolean] - If set, the weapon group of all guns including "Special" ones can be toggled when cycling through guns.
    • true (default)
    • false

"graphics" section

  • head_lag [integer] - Head lag (in frames). When you turn, the cockpit is displayed as if you were overcoming the inertia of the turn. This value determines how much this 'overcoming' is in frames. Practically it affects how much the cockpit is shifted on-screen.
    • 10 (default)
  • pan_on_auto [boolean] - Sets if there should be an camera switch + flyby on autopilot activation. FIXME No longer used?
    • true (default)
    • false
  • shake_speed [float] - FIXME
    • 50 (default)
  • shake_reduction [float] - Cockpit shake reduction amount.
    • 8 (default)
  • shove_camera_down [float] - FIXME
    • .3 (default)
  • shield_texture [string/file] - Shield effect texture, expected to be in the textures directory. It is alpha blended, so blackness = transparency in-game.
    • shield.bmp (default)
  • reflectivity [float] - FIXME What does the next line mean?
    • .2 (default): (0.0-1.0) default reflection level (1.0 = very shiny).
  • star_shine [string/file] - List of .ani files for a sun's flare effect separated by single spaces.
    • shine.ani (default)
  • num_messages [float] - Sets the maximum number of communication messages shown at the same time.
    • 2 (default)
  • last_message_time [float] - Sets the minimum time (in seconds) that a message is shown before scrolled up.
    • 5 (default)
  • camera_pan_speed [float, default:0.0001] - sets the speed of camera panning and yawing
  • draw_arrow_to_target [boolean, default:true] - generally toggles the display of target arrow for all cameras
  • draw_arrow_on_chasecam [boolean, default:true] - disables/enables target arrow display on chase camera (default key '5')
  • draw_arrow_on_pancam [boolean, default:false] - disables/enables target arrow display on pan camera (default key '6')
  • draw_arrow_on_pantgt [boolean, default:false] - disables/enables target arrow display on target camera (default key '8')
  • draw_unit_on_chasecam [boolean, default:true] - disables/enables own vessel display on chase camera (default key '5')
  • weapon_gamma [float] - affects all weapon effects' appearance, if >0.
    • 1.35 (default)

"hud" section

  • radarType
    • WC (default) - Display two radars in the bottom screen. The left one is the front radar, the right one is the rear radar.
    • Elite - Display only one radar. Units are displayed with a dot and a vertical line. Units are projected on a horizontal plane (from your ship view). The dot is the position of the unit on that plane, and the height of the line is the height of the unit above/below that plane. Does not seem to work (on 3rd March 2004).
  • min_target_box_size
    • .01 (default) - Minimum target box size.
  • DrawTargettingBoxes
    • true (default) - Enable box display. Allow drawAllTargetBoxes, drawLineToTarget, drawLineToTargetsTarget, drawAlwaysITTS .
    • false - Does not display any target box or docking box.
  • drawAllTargetBoxes
    • true - Display every units in boxes (not planets, jumps).
    • false (default) - Does not display units in boxes except the selected one.
  • drawLineToTarget
    • true - Draw a line between your ship and the selected target. Allow drawLineToTargetsTarget. Does not seem to work (on 4rd March 2004).
    • false - Disable the line.
  • drawLineToTargetsTarget
    • true - Disable the line.
    • false - Draw a line between your target and the target of your target. Does not seem to work (on 4th March 2004).
  • drawLineToITTS
    • true - Draw ITTS line.
    • false (default) - FIXME
  • drawAlwaysITTS
    • true - Force ITTS drawing.
    • false (default) - FIXME
  • DrawTheirRelationColor - Determines the box color of the selected target.
    • true (default) - The box color corresponds to the target relation towards you.
    • false - The box color corresponds to your relation towards the target.
  • drawNavSymbol - Does not seem to work (on 7th March 2004). FIXME
    • true - FIXME
    • false (default) - FIXME

"joystick" section

  • mouse_cursor - This parameter is set to true when [Mouse glide] control is selected in setup.
    • true - In-flight control using [Mouse glide]. When enabled, warp_mouse must be set to false.
    • false (default) - Set when no mouse support is required or when warp_mouse is set to true.
  • mouse_cursor_chasecam [default:true] (false, true) - disables/enables cursor display on chase camera (default key '5')
  • mouse_cursor_pancam [default:false] (false, true) - disables/enables cursor display on pan camera (default key '6')
  • mouse_cursor_pantgt [default:false] (false, true) - disables/enables cursor display on target camera (default key '8')
  • mouse_crosshair - Mouse cursor appearance when [Mouse glide] is selected (when mouse_cursor is true).
  • crosshairs.spr (default) - If mouse_cursor is true, this file contains the image to be used as cursor. This file must be located in the ./sprites directory. See the .spr file format HowTo:Edit HUDs.
  • warp_mouse This parameter is set to true when [Mouse warp] control is selected in setup.
    • true - In-flight control using [Mouse warp]. When enabled, mouse_cursor must be set to false.
    • false - Set when no mouse support is required or when mouse_cursor is set to true.
    • Note: if no in-flight mouse control is needed, both mouse_cursor and warp_mouse must be set to false.
  • reverse_mouse_spr Used when [Mouse glide] control is selected in setup (see mouse_cursor).
    • true (default) - Invert vertical mouse axis.
    • false - Does not invert vertical mouse axis.
  • draw_rendered_crosshairs
    • true (default) - Draw basic crosshairs using lines whatever the cockpit type is.
    • false - Use a sprite to draw the hud crosshairs. See cockpit file format HowTo:Edit HUDs. Each cockpit type might have its own crosshairs.
  • draw_vdus_from_chase_cam
    • true - Display the hud when chase view is active.
    • false (default) - does not display the hud when chase view is active.
  • draw_vdus_from_panning_cam
    • true - Display the hud when panning view is active.
    • false (default) - Does not display the hud when panning view is active.
  • draw_vdus_from_target_cam
    • true - Display the hud when target view is active.
    • false (default) - does not display the hud when target view is active.

"cockpitaudio" section

This section contains names of wave files that happen on these events.

Example

FIXME Insert a very short example code showing a variable definition (and subsections).

See also

For a complete list of vegastrike.config variables visit CONFVAR


arrow_left.png Config:Advanced:Bindings arrow_up.png Config:Advanced Config:Advanced arrow_right.png