1 //////////////////////////////////////////////////////////////////////////////
2 // Config file for Snowballs 2 client ////////////////////////////////////////
3 //////////////////////////////////////////////////////////////////////////////
6 // This file is used to setup the client.
8 // You can modify almost all variables dynamically (when the client is launched)
9 // and the new values will be reloaded automatically in the client.
13 //////////////////////////////////////////////////////////////////////////////
14 // Snowballs 2 ///////////////////////////////////////////////////////////////
15 //////////////////////////////////////////////////////////////////////////////
17 // Root directory where we can find the client datas (zones, tiles, maps, ...)
18 SearchPaths = { "@database@" };
20 // Which extensions to remap to what if needed (pairs of 2)
21 RemapExtensions = { "dss", "tga" };
23 // The language code of the client
26 // If changes to the config should be saved on exit
29 // Font name used for all text in the client (it can be a .ttf, .fon, .pfb)
30 FontName = "n019003l.pfb";
33 //////////////////////////////////////////////////////////////////////////////
34 // Time //////////////////////////////////////////////////////////////////////
35 //////////////////////////////////////////////////////////////////////////////
40 //////////////////////////////////////////////////////////////////////////////
41 // Screen Variables //////////////////////////////////////////////////////////
42 //////////////////////////////////////////////////////////////////////////////
44 // Use OpenGL, set to 1, Direc3D (Windows) set to 0.
47 // Resolution of the screen
52 // If 1, run in fullscreen mode, 0 for windowed
55 // Start position of the player (the z is always 0)
56 StartPoint = { 1840.0, -970.0, 0.0 };
59 //////////////////////////////////////////////////////////////////////////////
60 // Sound Variables ///////////////////////////////////////////////////////////
61 //////////////////////////////////////////////////////////////////////////////
63 // The sound driver, choose between "Auto", "FMod", "DSound" and "OpenAl"
68 SoundForceSoftware = 1;
72 //////////////////////////////////////////////////////////////////////////////
73 // Mouse Variables ///////////////////////////////////////////////////////////
74 //////////////////////////////////////////////////////////////////////////////
76 // 1 to inverse the mouse vertical direction
79 // Zoom step for the mouse wheel
82 // Initial distance of the camera to the main character
85 // Initial height of the camera relative to the character
88 // Initial height of the target relative to the character
89 ViewTargetHeight = 4.0;
92 //////////////////////////////////////////////////////////////////////////////
93 // Entities Variables ////////////////////////////////////////////////////////
94 //////////////////////////////////////////////////////////////////////////////
96 // Color of the entity name on top of entities
97 EntityNameColor = { 255, 255, 255, 255 };
99 // Font size of the entity name
103 //////////////////////////////////////////////////////////////////////////////
104 // Commands interface Variables //////////////////////////////////////////////
105 //////////////////////////////////////////////////////////////////////////////
107 // If 1, display the command (chat) interface
110 // If 1, display graph
113 // Position & size of the command interface
115 CommandsBoxY = 0.025;
116 CommandsBoxWidth = 0.76;
117 CommandsBoxBorder = 0.009;
119 // Number of lines to display in the command interface
122 // Space between 2 lines
123 CommandsLineHeight = 0.025;
125 // Color of the backgound interface
126 CommandsBackColor = { 0, 0, 128, 128 };
128 // Color of the text interface
129 CommandsFrontColor = { 255, 255, 255, 255 };
131 // Font size for the command lines
132 CommandsFontSize = 14;
135 //////////////////////////////////////////////////////////////////////////////
136 // Radar interface Variables /////////////////////////////////////////////////
137 //////////////////////////////////////////////////////////////////////////////
139 // If 0, no radar, if 1, big radar, if 2, small radar
140 RadarState = 2; // 0 = no, 1 = big, 2 = little
142 // Position & size of the radar interface
149 RadarBackColor = { 0, 255, 0, 50 };
150 RadarFrontColor = { 0, 255, 0, 100 };
151 RadarSelfColor = { 0, 255, 0, 255 };
152 RadarOtherColor = { 255, 100, 0, 255 };
153 RadarPlaceColor = { 0, 0, 255, 255 };
155 // Size of the entity displayed in the radar
156 RadarEntitySize = 0.006;
158 RadarMinDistance = 100;
159 RadarMaxDistance = 1000;
162 // Position & size of the small radar
163 RadarLittlePosX = 0.915;
164 RadarLittlePosY = 0.83;
165 RadarLittleRadius = 0.1;
167 // Position of particular places in the world (point of reference)
168 RadarParticularPlaces = {
169 "2300.0", "-776.0", "Vagimount",
170 "770.0", "-640.0", "Manhatan",
171 "1135.0", "-840.0", "ThePill",
172 "1033.0", "-944.0", "End WuDoor",
173 "564.0", "-1033.0", "Start WuDoor",
174 "2125.0", "-764.0", "BigHole",
175 "2169.0", "-1258.0", "GapCave",
176 "1840.0", "-970.0", "StartPosition",
177 "2350.0", "-1158.0", "BackWay",
178 "2440.0", "-1302.0", "WorldRoof",
179 "2228.0", "-1045.0", "DeepForest",
180 "2133.0", "-471.0", "PingooVillage",
184 //////////////////////////////////////////////////////////////////////////////
185 // Login Variables ///////////////////////////////////////////////////////////
186 //////////////////////////////////////////////////////////////////////////////
188 // If 1, launch snowballs in offline mode (not server), otherwise 0 for connecting to a server
191 // Address of the login system (should be itsalive.nevrax.org)
192 LSHost = "localhost";
194 // Address of the frontend system (should be itsalive.nevrax.org)
195 FSHost = "localhost";
200 // Your password in clear text
203 // The shard number index
206 // If 1, the client directly connects to the LS
207 // If 0, the client connects to the web server and the web server connects to the LS
210 ClientApplication = "sample";
213 //////////////////////////////////////////////////////////////////////////////
214 // Landscape Variables ///////////////////////////////////////////////////////
215 //////////////////////////////////////////////////////////////////////////////
217 // Name of the landscape data
218 LandscapeBankName = "bank.bank";
219 LandscapeFarBankName = "bank.farbank";
221 // Landscape color (can't be modified in real time)
222 LandscapeAmbiantColor = { 17, 54, 100 };
223 LandscapeDiffuseColor = { 241, 226, 244 };
224 LandscapeMultiplyFactor = 1.1;
226 // Landscape view distance for zone loading
227 LandscapeVisionInitial = 250.0;
228 LandscapeVision = 500.0;
230 // Enable the landscape to receive dynamic shadows
231 LandscapeReceiveShadowMap = 1;
233 // Landscape tesselation
234 LandscapeTileNear = 50.0; // more is bigger more is faster
235 LandscapeThreshold = 0.001; // more is bigger more is faster
237 SunAmbientColor = { 255, 255, 255 };
238 SunDiffuseColor = { 255, 255, 255 };
239 SunSpecularColor = { 255, 255, 255};
240 SunDirection = { -2.935, +0.107, -1.22 };
243 //////////////////////////////////////////////////////////////////////////////
244 // Fog Variables /////////////////////////////////////////////////////////////
245 //////////////////////////////////////////////////////////////////////////////
247 // 1 if you want to see the fog
249 FogStart = 100.0; // in meter
250 FogEnd = 250.0; // in meter
251 FogColor = { 80, 77, 118 };
253 RetrieverBankName = "snowballs.rbank";
254 GlobalRetrieverName = "snowballs.gr";
257 //////////////////////////////////////////////////////////////////////////////
258 // Compass interface Variables ///////////////////////////////////////////////
259 //////////////////////////////////////////////////////////////////////////////
261 // Position & size of the compass interface
264 CompassRadius = 0.020;
266 // Color of the compass
267 CompassColor = { 150, 50, 255, 150 };
270 //////////////////////////////////////////////////////////////////////////////
271 // Instance groups ///////////////////////////////////////////////////////////
272 //////////////////////////////////////////////////////////////////////////////
275 "3_AN.ig", "4_AP.ig", "5_AD.ig", "5_AK.ig", "5_AL.ig", "5_AP.ig", "5_AQ.ig", "6_AG.ig", "6_AI.ig", "6_AL.ig", "6_AN.ig", "6_AO.ig", "6_AQ.ig", "7_AJ.ig", "7_AN.ig", "7_AO.ig", "8_AL.ig", "8_AN.ig", "3_AF.ig", "8_AR.ig", "3_AG.ig", "3_AI.ig", "3_AJ.ig", "3_AL.ig", "3_AO.ig", "3_AQ.ig", "3_AR.ig", "4_AH.ig", "4_AI.ig", "4_AJ.ig", "4_AK.ig", "4_AM.ig", "4_AN.ig", "4_AQ.ig", "4_AR.ig", "5_AF.ig", "5_AI.ig", "5_AJ.ig", "5_AN.ig", "5_AO.ig",
276 "6_AH.ig", "6_AJ.ig", "6_AR.ig", "7_AK.ig", "7_AM.ig", "7_AR.ig", "8_AG.ig", "8_AJ.ig", "8_AK.ig"