Jump to content

BSL:Variables: Difference between revisions

→‎Built-in variables: oops, restoring OK-I, but as OK-M (both platforms are on "I"ntel); lightening Mac blue; adding "NO" flag that hopefully we can use in place of some of these "??"s some day
(→‎Built-in variables: oops, forgot to fill in actual types of new Mac variables; oops again, meant to preview that blue before I hit Save, that was no better than the red)
(→‎Built-in variables: oops, restoring OK-I, but as OK-M (both platforms are on "I"ntel); lightening Mac blue; adding "NO" flag that hopefully we can use in place of some of these "??"s some day)
Line 49: Line 49:
;Color
;Color
:White: available on all versions
:White: available on all versions
:Blue: Mac exclusive
:Blue: command only exists in Mac Intel build
:Green: Windows exclusive
:Green: command only exists in Windows build
;Default value
;Default value
:'''# !!!''' : 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
;Works
:"OK?" means confirmation/refinement required.
:"OK": both platforms can use this command
:"OK-M": the command only works on Intel Macs
:"OK?": confirmation/refinement required
:"??": command may not work
:"NO": command is proven not to work




Line 101: Line 105:
|-
|-
|bool||[[ai2_showastar]]||0
|bool||[[ai2_showastar]]||0
|"shows grid squares that are evaluated by the A* pathfinding"||OK
|"shows grid squares that are evaluated by the A* pathfinding"||bgcolor=#ccccff|OK-M
|-
|-
|bool||[[ai2_showcombatranges]]||0
|bool||[[ai2_showcombatranges]]||0
Line 182: Line 186:
|-
|-
|bool||am_hit_everything||0
|bool||am_hit_everything||0
|"makes the laser pointer hit all objects"||OK
|"makes the laser pointer hit all objects"||bgcolor=#ccccff|OK-M
|-
|-
|bool||am_invert||'''!?'''
|bool||am_invert||'''!?'''
Line 188: Line 192:
|-
|-
|bool||am_show_axes||0
|bool||am_show_axes||0
|"shows world axes"||OK
|"shows world axes"||bgcolor=#ccccff|OK-M
|-
|-
|bool||am_show_closest||0
|bool||am_show_closest||0
Line 194: Line 198:
|-
|-
|bool||am_show_filenames||0
|bool||am_show_filenames||0
|"dumps the closest GQ index file/obj name to console"<br>WTF? shows debug box, but doesn't dump anything||OK
|"dumps the closest GQ index file/obj name to console"<br>WTF? shows debug box, but doesn't dump anything||bgcolor=#ccccff|OK-M
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||am_show_texturenames||0
|bool||am_show_texturenames||0
|"Shows Texture name"||OK
|"Shows Texture name"||OK
|-
|-
|float||character_name_distance||150.
|float||character_name_distance||150.
|"specifies the distance from the camera that character names no longer draw"<br>(probably needs show_characters)||OK
|"specifies the distance from the camera that character names no longer draw"<br>(probably needs show_characters)||bgcolor=#ccccff|OK-M
|-
|-
|bool||chr_active||1
|bool||chr_active||1
Line 327: Line 331:
|int32||chr_show_movement||0
|int32||chr_show_movement||0
|"enables movement debugging information for characters"<br>(dumps XZ velocity to console every # frames)||OK
|"enables movement debugging information for characters"<br>(dumps XZ velocity to console every # frames)||OK
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|int32||chr_show_weaponid||0
|int32||chr_show_weaponid||0
|"Shows weapon ID"||OK
|"Shows weapon ID"||OK
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||chr_showextent_globals||0
|bool||chr_showextent_globals||0
|"shows the global parts of an attack animation's extent"||OK
|"shows the global parts of an attack animation's extent"||OK
Line 381: Line 385:
|1||debug_consoles||0
|1||debug_consoles||0
|"prints debugging information about console usage"<br>(information about ''in-game'' consoles; prints to ''dev mode'' console ^^)||OK
|"prints debugging information about console usage"<br>(information about ''in-game'' consoles; prints to ''dev mode'' console ^^)||OK
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||debug_font_cache||0
|bool||debug_font_cache||0
|"displays font cache texture"||??
|"displays font cache texture"||??
Line 480: Line 484:
|bool||gl_disable_depth_reads||0
|bool||gl_disable_depth_reads||0
|"disable_depth_reads"||??
|"disable_depth_reads"||??
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||gl_disable_dxt1||0
|bool||gl_disable_dxt1||0
|"lets you disable use of DXT1"||??
|"lets you disable use of DXT1"||??
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||gl_disable_packed_pixels||0
|bool||gl_disable_packed_pixels||0
|"lets you disable packed-pixels support"||??
|"lets you disable packed-pixels support"||??
Line 501: Line 505:
|float||[[gl_fog_start]]||'''0.975 !!!'''
|float||[[gl_fog_start]]||'''0.975 !!!'''
|"fog start" in frustum space||OK
|"fog start" in frustum space||OK
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|int32||gl_mipmap_offset||0
|int32||gl_mipmap_offset||0
|"lets you disable miplevels (-ve = disable big, +ve = disable small)"||??
|"lets you disable miplevels (-ve = disable big, +ve = disable small)"||??
Line 605: Line 609:
|-
|-
|float||patrolpath_name_distance||150.0
|float||patrolpath_name_distance||150.0
|"specifies the distance from the camera that patrol point names no longer draw"<br>(probably needs show_patrolpaths)||OK
|"specifies the distance from the camera that patrol point names no longer draw"<br>(probably needs show_patrolpaths)||bgcolor=#ccccff|OK-M
|-
|-
|bool||ph_active||1
|bool||ph_active||1
Line 647: Line 651:
|-
|-
|bool||show_characters||0
|bool||show_characters||0
|"enables the display of character starting positions"<br>(see BINA/OBJC/CHAR)||OK
|"enables the display of character starting positions"<br>(see BINA/OBJC/CHAR)||bgcolor=#ccccff|OK-M
|-
|-
|bool||show_chr_env_collision||0
|bool||show_chr_env_collision||0
Line 653: Line 657:
|-
|-
|bool||show_flags||0
|bool||show_flags||0
|"enables the display of flags"<br>(see BINA/OBJC/FLAG)||OK
|"enables the display of flags"<br>(see BINA/OBJC/FLAG)||bgcolor=#ccccff|OK-M
|-
|-
|bool||show_laser_env_collision||0
|bool||show_laser_env_collision||0
Line 659: Line 663:
|-
|-
|bool||show_patrolpaths||0
|bool||show_patrolpaths||0
|"enables the display of AI patrol path objects"<br>(see BINA/OBJC/PATR)||OK
|"enables the display of AI patrol path objects"<br>(see BINA/OBJC/PATR)||bgcolor=#ccccff|OK-M
|-
|-
|bool||show_performance||0
|bool||show_performance||0
Line 681: Line 685:
|bool||show_triggers||1
|bool||show_triggers||1
|"enables the display of triggers"<br>(see BINA/OBJC/TRIG)||OK
|"enables the display of triggers"<br>(see BINA/OBJC/TRIG)||OK
|-bgcolor=#8888ff
|-bgcolor=#ccccff
|bool||show_triggervolumes||0
|bool||show_triggervolumes||0
|"Display trigger volumes"||OK
|"Display trigger volumes"||OK
Line 722: Line 726:
|-
|-
|bool||turret_show_debug||0
|bool||turret_show_debug||0
|"enables the display of turret debug lines"||OK
|"enables the display of turret debug lines"||bgcolor=#ccccff|OK-M
|-
|-
|bool||[[ui_suppress_prompt]]||0
|bool||[[ui_suppress_prompt]]||0