Manual:Config:Advanced:Variables

From VsWiki
Revision as of 23:02, 29 September 2010 by Greenfreedom10 (talk | contribs) (Add more sections and subsections)
Jump to: navigation, search

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


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

Variables section

The variables are set in their respective sections between the <variables> and the </variables> tags.

FIXME Syntax of the variables and where to put them.

"data" section

  • hqtextures [string] - enables the hqtextures directory

"splash" section

FIXME

"graphics/general" section

FIXME

"graphics/mesh" section

FIXME

"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)
  • StretchBolts [float] - If > 0, Bolts (only) will appear stretched to this fraction of the distance they traveled since the last calculation - i.e. if set to 1, a bolt's tail will be where its head was in the previous frame, its own Length being compensated for.
    • 0 (default)
  • draw_weapons [boolean] - Whether to draw mounts.
    • true
    • false (default)

"hud" subsection

  • 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

"audio" section

FIXME

"unitaudio" section

FIXME

"cockpitaudio" section

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

"keyboard" section

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.

"general" section

FIXME

"AI" section

FIXME

"Targetting" subsection

FIXME

"Firing" subsection

FIXME

"cargo" section

FIXME

"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

"galaxy" section

FIXME

"player" section

FIXME

"server" section

FIXME

"network" section

FIXME


See also

For a complete list of vegastrike.config variables visit CONFVAR


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