Table of Contents

init.txt

What is init.txt?

init.txt is a file located in the windower/scripts folder that is executed automatically every time the game is opened.

What else can I use it for?

The main use of this file is adding plugins to be automatically loaded upon startup so that you do not have to manually load them.

It can also be used to load extra Script Files that do what ever various actions you need.

Default 3.3 init.txt

//echo "Init script loaded."

//Set console variables
console_position 15 50
console_color 255 255 0 0
console_displayactivity 1
console_fadedelay 3500

//Set game variables
game_forceambientlight 0
game_ambientlight 255 120 120 120
game_gamma 55
game_allowsetcursorpos 0

//Set general variables
//showfps 1

//Load plugins -- Remove the // from plugins you want to have autoloaded
load TParty
load Distance
load ConsoleBG
.consolebg position 15 50
load Recast
load LL
load Timestamp
//load Silence

//Uncomment or add plugins you want to use
//Bind keys
//Bind syntax is "bind <key> <up> <command>
// ^ represents control- and ! is alt, eg !1 is alt-1
bind f11 game_forceambientlight
bind f12 showfps
bind sysrq screenshot png
bind ^v paste
echo "Toggle Lighting = F11 (Bump mapping must be off to work properly)"
echo "Toggle FPS = F12"
echo "Paste Clipboard = Ctrl-V"

External Tips