211 lines
7.1 KiB
INI
211 lines
7.1 KiB
INI
//////////////////////////////////////////////////////////////////////////////
|
|
// Config file for NeL Qt ////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
// This file is used to setup the NeL Qt tool.
|
|
//
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// NeL Qt ////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Root directory where we can find the client datas (zones, tiles, maps, ...)
|
|
// You must uncomment this line on GNU/Linux and comment the next one
|
|
//SearchPaths = { "/usr/local/share/games/nel_qt/" };
|
|
SearchPaths = { "data" };
|
|
|
|
// Which extensions to remap to what if needed (pairs of 2)
|
|
RemapExtensions = { "dds", "tga" };
|
|
|
|
// Log filters
|
|
NegFiltersDebug += { ".zonel", "FRONT: " };
|
|
NegFiltersInfo += { };
|
|
NegFiltersWarning += { ".zonel", "FRONT: " };
|
|
NegFiltersAssert += { };
|
|
NegFiltersError += { };
|
|
|
|
// The language code of the client
|
|
LanguageCode = "en";
|
|
|
|
// If changes to the config should be saved on exit
|
|
SaveConfig = 1;
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Qt ////////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
QtStyle = "Cleanlooks";
|
|
QtPalette = 0;
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Login /////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
LSAddr = "ls.shards.kaetemi.be";
|
|
Username = "";
|
|
Application = "nel_qt";
|
|
LoginBackground = "login_background.dds";
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Graphics //////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Use OpenGL or Direct3D (Windows)
|
|
GraphicsEnabled = 1;
|
|
GraphicsDrivers = { "OpenGL", "Direct3D" };
|
|
GraphicsDriver = "OpenGL";
|
|
|
|
// Resolution of the screen
|
|
// ScreenWidth = 1360;
|
|
// ScreenHeight = 768;
|
|
// ScreenDepth = 32;
|
|
|
|
// If 1, run in fullscreen mode, 0 for windowed
|
|
// Fullscreen = 0;
|
|
|
|
// Font name used for all text in the client (it can be a .ttf, .fon, .pfb)
|
|
FontName = "andbasr.ttf";
|
|
FontShadow = 1;
|
|
|
|
// Background color
|
|
BackgroundColor = { 151, 156, 182 };
|
|
|
|
// Path where screenshots are saved
|
|
ScreenshotName = "nel_qt";
|
|
ScreenshotJPG = 1;
|
|
ScreenshotPNG = 1;
|
|
ScreenshotTGA = 0;
|
|
ScreenshotPath = "screenshots";
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Environment ///////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
SunDirection = { -2.935, +0.107, -1.22 };
|
|
SunAmbient = { 190, 170, 150 };
|
|
SunDiffuse = { 255, 248, 255 };
|
|
SunSpecular = { 255, 255, 255};
|
|
|
|
// 1 if you want to see the fog
|
|
FogEnable = 1;
|
|
FogStart = 100.0; // in meter
|
|
FogEnd = 250.0; // in meter
|
|
FogColor = { 129, 136, 205 }; // { 147, 125, 114 };
|
|
|
|
// Name of the landscape tilebank
|
|
LandscapeSmallBank = "nel_qt.smallbank";
|
|
LandscapeFarBank = "nel_qt.farbank";
|
|
|
|
// Landscape color (can't be modified in real time)
|
|
LandscapeAmbient = { 50, 23, 16 };
|
|
LandscapeDiffuse = { 250, 242, 243 };
|
|
LandscapeMultiply = 1.5;
|
|
|
|
// Landscape view distance for zone loading
|
|
LandscapeVisionInitial = 250.0;
|
|
LandscapeVision = 500.0;
|
|
|
|
// Enable the landscape to receive dynamic shadows
|
|
LandscapeReceiveShadowMap = 1;
|
|
|
|
// Landscape tesselation
|
|
LandscapeTileNear = 50.0; // more is bigger more is faster
|
|
LandscapeThreshold = 0.001; // more is bigger more is faster
|
|
|
|
// Collision data
|
|
RetrieverBankName = "nel_qt.rbank";
|
|
GlobalRetrieverName = "nel_qt.gr";
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Time //////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
FpsSmoothing = 64;
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Sound /////////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// The sound driver, choose between "Auto", "FMod", "DSound" and "OpenAl"
|
|
SoundEnabled = 1;
|
|
SoundDrivers = { "Auto", "OpenAL", "XAudio2", "FMod", "DSound" };
|
|
SoundDriver = "OpenAL";
|
|
SoundDevice = "";
|
|
SoundMaxTrack = 48;
|
|
SoundEnableOccludeObstruct = 1;
|
|
SoundEnableReverb = 1;
|
|
SoundManualRolloff = 1;
|
|
SoundUseADPCM = 0;
|
|
SoundForceSoftware = 0;
|
|
SoundAutoLoadSample = 1;
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Interface /////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
// This setting is used to bind keys to actions.
|
|
// "key_handler", "args", "***", "Key1|Key2",
|
|
// *** -> CTRL, SHIFT, ALT don't matter
|
|
// --- -> CTRL, SHIFT, ALT must all be disabled
|
|
// -+- -> only SHIFT must be down
|
|
KeySettings = {
|
|
"screenshot", "", "***", "KeyF5",
|
|
"command", "set_state Exit", "-+-", "KeyESCAPE",
|
|
"command", "set_state Login", "+--", "KeyESCAPE",
|
|
"command", "set_state Unload", "***", "KeyF8",
|
|
"command", "set_state Demo", "***", "KeyF7",
|
|
"move_forward", "", "***", "KeyUP|KeyZ|KeyW",
|
|
"move_backward", "", "***", "KeyDOWN|KeyS",
|
|
"move_left", "", "***", "KeyLEFT|KeyQ|KeyA",
|
|
"move_right", "", "***", "KeyRIGHT|KeyD",
|
|
"move_forward", "", "***", "KeyZ|KeyW",
|
|
"move_backward", "", "***", "KeyS",
|
|
"move_left", "", "***", "KeyQ|KeyA",
|
|
"move_right", "", "***", "KeyD",
|
|
"chat_begin", "", "***", "KeyT",
|
|
"chat_send", "", "***", "KeyENTER",
|
|
"chat_leave", "", "***", "KeyESCAPE",
|
|
"display_test", "", "***", "KeyTAB",
|
|
"send_action", "0", "---", "Key1",
|
|
"send_action", "1", "---", "Key2",
|
|
"send_action", "2", "---", "Key3",
|
|
"send_action", "3", "---", "Key4",
|
|
"send_action", "4", "---", "Key5",
|
|
"send_action", "5", "---", "Key6",
|
|
"send_action", "6", "---", "Key7",
|
|
"send_action", "7", "---", "Key8",
|
|
"send_action", "8", "---", "Key9",
|
|
"send_action", "9", "---", "Key0",
|
|
"demo_crystal_spawn", "", "---", "KeyO",
|
|
"demo_crystal_explode", "", "---", "KeyP",
|
|
"free_camera_forward", "", "---", "KeyNUMPAD8",
|
|
"free_camera_backward", "", "---", "KeyNUMPAD2",
|
|
"free_camera_left", "", "---", "KeyNUMPAD4",
|
|
"free_camera_right", "", "---", "KeyNUMPAD6",
|
|
"switch_camera", "", "---", "KeyF4",
|
|
"switch_ui_visible" ,"", "---", "KeyF6",
|
|
};
|
|
|
|
|
|
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
// Debug HUD /////////////////////////////////////////////////////////////////
|
|
//////////////////////////////////////////////////////////////////////////////
|
|
|
|
DebugBarColor = { 255, 255, 255, 127 }; // color of the debug bars
|
|
DebugBar800x600 = 1; // auto resize depending on height
|
|
DebugBarHeight = 24; // height in pixels of the debug bar
|
|
DebugBarFontSize = 16; // size of the font
|
|
DebugBarFontColor = { 0, 0, 0, 191 };
|
|
|
|
|
|
// end of file
|