# This file is NOT read in when the program starts.
# This file will be replaced everytime
# the program is updaded.
#
# If you mess up the "program_startup.txt" file,
# just copy the file "program_startup_backup.txt"
# and name the copy "program_startup.txt".
# Then you can go back to modifying that file
# as you wish.
#
# Some environment variables are saved everytime
# the program closes.  These are stored in
# "Input/params.txt".
# If you wish to change any other variable
# to a value (on every startup of the program),
# they you need to change the file program_startup.txt
# and have it run commands to change the vars.

# = comment line

#################################################
#                    Aliases.
#################################################

# For games with gravity.
#alias fly          "game_input fly"

#################################################
#                  Cheatcodes.
#################################################

# Enabling ceatcodes.
# You need to put the correct password here.
# Will not play the "cheater" sound.
#cheat PASSWORD nosound

# Turning on individual cheatcodes.
#god
#shrinkany
#noclip

#################################################
#            Selfie (3rd person) mode.
#################################################
# You can enable 3rd person mode and
# render yourself using a Quake 2 character model
# (known as a Q2MD2 character model).
# This is only intended for games with gravity.
# No Quake 2 character models are shipped with this
# game because of copyright issues.
# There are, however, many fanmade Q2MD2 models.

#set metagame.player.camera.3rdp.enabled true
#set metagame.player.model.q2md2.md2 "Input/Q2MD2_Models/MODEL_NAME/MODEL_NAME.md2"
#set metagame.player.model.q2md2.tex "Input/Q2MD2_Models/MODEL_NAME/MODEL_NAME.jpg"

#################################################
#                     Menu.
#################################################

# Rendering the world behind the main menu.
#set menu.render_world_behind false

#################################################
#                    Engine.
#################################################

# Radius of each level.
# Changing these numbers might trivialize the game.
set engine.exploration.level_radius.0 3
set engine.exploration.level_radius.1 3
set engine.exploration.level_radius.2 2
set engine.exploration.level_radius.3 1
set engine.exploration.level_radius.4 0
set engine.exploration.level_radius.5 0
set engine.exploration.level_radius.6 0
set engine.exploration.level_radius.7 0
set engine.exploration.level_radius.8 0
set engine.exploration.level_radius.9 0

# Visray algorithm.
# It is much faster to enable the visray algorithm
# (have chunks be created and then rendered iff
# they have been recently been determined to be visible).
# Set engine.render.handle_visray_false to "coroon_render"
# for best results.  Other options are "full_render" and "no_render".
set engine.visray.enabled true
set engine.render.handle_visray_false "cocoon_render"

#################################################
#                Debugging.
#################################################

# Showing the edges of chunks.
#set engine.show_chunk_lines true

# Uncomment two commands the following for a cool effect.
#set engine.textures.pixel_load_per_frame 10
#set engine.textures.use_not_loaded_pretty_tex true

# Forcibly turning off systems.
#set debug.disable_bent_rendering true
#set debug.disable_ment_rendering true
#set debug.disable_ment_updates true
#set debug.disable_rayalg true

#################################################
#               User defined.
#################################################

# Add your commands here.

#This is important!
#If you are a developer, set this to true so that
#the game exists whenever there is an error.
#If you are a player, set it to false.
set engine.exit_on_error false

#################################################
#           Temp.  For developers.
#################################################
#Nothing here.
