Jump to content

BSL:Variables: Difference between revisions

m
m (→‎Preset variables: almost done...)
Line 65: Line 65:
:'''# !!!''' : reset by engine at level load (not checked yet for '''chr_buffer_size''' and beyond, unless specified)
:'''# !!!''' : reset by engine at level load (not checked yet for '''chr_buffer_size''' and beyond, unless specified)
:'''!?''' : set by engine at game/level load, depends on [[persist.dat]]
:'''!?''' : set by engine at game/level load, depends on [[persist.dat]]
;Works
:"OK?" means confirmation/refinement required.
{|border=1 cellspacing=0 cellpadding=2
{|border=1 cellspacing=0 cellpadding=2
!Type!!Name!!Default value!!Comment!!Works
!Type!!Name!!Default value!!Comment!!Works
Line 660: Line 662:
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_performance||0
|bool||show_performance||0
| ||OK
|"enables performance display"||OK
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_performance_gsd||0
|bool||show_performance_gsd||0
| ||  
|??||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_performance_gsu||0
|bool||show_performance_gsu||0
| ||  
|??||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_sound_all||0
|bool||show_sound_all||0
| ||  
|"sound rings will always be drawn, not just when a sound is selected"<br>(environment sounds, see BINA/OBJC/SNDG)||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_sound_rectangles||0
|bool||show_sound_rectangles||0
| ||  
|"sound rectangles will always be drawn, not just when a sound Rectangle is selected"<br>(environment sounds, see BINA/OBJC/SNDG)||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_sound_spheres||0
|bool||show_sound_spheres||0
| ||  
|"sound spheres will always be drawn, not just when a sound Rectangle is selected"<br>(environment sounds, see BINA/OBJC/SNDG)||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_triggers||0
|bool||show_triggers||0
| ||  
|"enables the display of triggers"<br>(see BINA/OBJC/TRIG)||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||show_turrets||0
|bool||show_turrets||0
| ||  
|"enables the display of turrets"<br>(see BINA/OBJC/TURR)||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||single_step||0
|bool||single_step||0
|enables single step mode||OK  
|"puts the game in single step mode"||OK  
|-bgcolor="silver"
|-bgcolor="silver"
|float||sky_height||0.
|float||sky_height||0.
Line 690: Line 692:
|-bgcolor="silver"
|-bgcolor="silver"
|bool||sky_show_clouds||1
|bool||sky_show_clouds||1
|shows clouds?||??
|"toggles display of the clouds"||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||[[sky_show_planet]]||1
|bool||[[sky_show_planet]]||1
|shows planet(s) (sun in levels 2 and 3)||OK  
|"toggles display of the planet (sun/moon)"<br>(sun present only in levels 2 and 3)||OK  
|-bgcolor="silver"
|-bgcolor="silver"
|bool||sky_show_sky||1
|bool||sky_show_sky||1
|show sky (main switch)||OK  
|"toggles display of the sky" (master switch)||OK  
|-bgcolor="silver"
|-bgcolor="silver"
|bool||sky_show_skybox||1
|bool||sky_show_skybox||1
|show skybox||OK
|"toggles display of the skybox"||OK
|-bgcolor="silver"
|-bgcolor="silver"
|bool||sky_show_stars||1
|bool||sky_show_stars||1
|show stars? (no stars in any level)||??
|"toggles display of the stars"<br>(no stars in any level)||??
|-
|-
|bool||sound_show_debug||0
|bool||sound_show_debug||0
|debugs sound channels||OK
|"displays sound debugging info"||OK
|-bgcolor="silver"
|-bgcolor="silver"
|bool||spatial_footsteps||1
|bool||spatial_footsteps||1
| ||OK
|"spatial footsteps"||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||sync_debug||0
|bool||sync_debug||0
| ||
|"enables sync debugging"||??
|-bgcolor="silver"
|-bgcolor="silver"
|float||[[target_max_distance]]||75000.
|float||[[target_max_distance]]||75000.
|distance to objective over which the radar arc changes size, in world units||OK
|"Sets the distance at which the radar will start to change from its minimum"||OK
|-bgcolor="silver"
|-bgcolor="silver"
|bool||turret_show_debug||0
|bool||turret_show_debug||0
|no visible difference||??
|"enables the display of turret debug lines"||??
|-
|-
|bool||[[ui_suppress_prompt]]||0
|bool||[[ui_suppress_prompt]]||0
|suppresses prompt about new objectives or moves||OK
|"suppresses UI prompting about new objectives or moves"<br>(and saved games and training tips and such)||OK
|-
|-
|bool||[[unstoppable]]||'''0 !!!'''
|bool||[[unstoppable]]||'''0 !!!'''
Line 726: Line 728:
|-bgcolor="silver"
|-bgcolor="silver"
|bool||[[wait_for_key]]||0
|bool||[[wait_for_key]]||0
|makes the game wait for a key before level load||OK
|"makes the game wait for a key before level load"||OK
|-
|-
|bool||[[wp_disable_fade]]||0
|bool||[[wp_disable_fade]]||0
|disables weapon fading||OK
|"disables weapon fading"||OK
|-bgcolor="silver"
|-bgcolor="silver"
|int32||wp_fadetime||360
|int32||wp_fadetime||360
|free time for powerups||??
|"sets free time for powerups"||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||[[wp_force_half_scale]]||0
|bool||[[wp_force_half_scale]]||0
Line 744: Line 746:
|-bgcolor="silver"
|-bgcolor="silver"
|int32||wp_hypostrength||25
|int32||wp_hypostrength||25
|apparently in % of full health, seems hard-coded||??
|"sets strength of hypo spray"<br>apparently in % of full health, seems hard-coded||??
|-bgcolor="silver"
|-bgcolor="silver"
|bool||[[wp_kickable]]||0
|bool||[[wp_kickable]]||0
|lets NPCs collide with weapons||OK
|"lets the player kick weapons"<br>(actually lets everyone ''but'' the player collide with guns)||OK
|-bgcolor="silver"
|-bgcolor="silver"
|float||[[wp_pow_adjustment]]||0.3
|float||[[wp_pow_adjustment]]||0.3