////////////////////////////////////////////////////////////////////////////////////////////////////// // Example SERVER.CFG for the SNIPER MOD // // Maps: The Maps.lst file contains the MAPs that // will be used. // // Note: Anything after a // is a comment. ////////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////////////////////////// // Normal Quake2 Server Settings // Name set hostname "Sniper" // Maximum Clients set maxclients 16 // Dedicated or Deathmatch Server? [uncomment one] set dedicated 1 // set deathmatch 1 // Public Server (1=yes, 0=no)? set public 1 // Here are the available dmflags values you can set // // DF_NO_HEALTH 1 // DF_NO_ITEMS 2 // DF_WEAPONS_STAY 4 // DF_NO_FALLING 8 // DF_INSTANT_ITEMS 16 // DF_SAME_LEVEL 32 // DF_NO_FRIENDLY_FIRE 256 // DF_SPAWN_FARTHEST 512 // DF_FORCE_RESPAWN 1024 // DF_NO_ARMOR 2048 // DF_ALLOW_EXIT 4096 // DF_INFINITE_AMMO 8192 // DF_QUAD_DROP 16384 // DF_FIXED_FOV 32768 // // (DF_WEAPONS_STAY + DF_INSTANT_ITEMS + DF_NO_FRIENDLY_FIRE + DF_SPAWN_FARTHEST ) // ( 4 + 16 + 256 + 512 ) = 788 set dmflags 788 // Fraglimit? set fraglimit 15 // Timelimit? set timelimit 15 // Download Settings [0 = off, 1 = on] set allow_download "0" set allow_download_maps "0" set allow_download_sounds "0" set allow_download_models "0" set allow_download_players "0" // Map to start on (required for server to start with +exec) // This map will be the first map used, after this map the Maps.list // file will be used. map q2dm1 ////////////////////////////////////////////////////////////////////////////////////////////////////// // Configurable Sniper Settings // // CloakActivate - With a perfectly functioning cloak, how long the Sniper must // stand still before they will cloak (in seconds). // Range: 0 - 10 seconds // Default: 3 set cloakactivate 3 // CloakSapDelay - The number of seconds before CloakDelayCost cells are deducted // Range: 1 - 10 seconds // Default: 1 set cloaksapdelay 1 // CloakDelayCost - The number of cells deducted from the Snipers Ammo every CloakSapDelay // seconds. // Range: 1 - 50 cells // Default: 3 set cloakdelaycost 3 // CloakStartCost - The number of cells it takes to start the Cloaking device. // // Range: 1 - 50 cells // Default: 10 set cloakstartcost 10 // CloakHitPoints - The amount of damage the cloak can take before breaking. // Range: 1 - 100 hitpoints // Default: 15 set cloakhitpoints 15 // AssistTime - Once the Sniper has been killed, anyone who has damaged the // Sniper within AssistTime seconds gets an assist. // Range: 1 - 60 seconds // Default: 10 set assisttime 10 // DecoyCost - How many cells it costs for the Sniper to create a Decoy. // Range: 1 - 50 cells // Default: 10 set decoycost 10 // SniperRatio - How many Grunts before a Sniper can enter? // Range: 1 - 100 Grunts // Default: 5 set sniperratio 5 // zk_logonly - If a ZBot is detected, should it only be logged? // Range: 0 - 1 (Log&Kick, Log only) // Default: 0 set zk_logonly 0 // CloakSoundOn - Should the sniper cloak make noise when in use? // ** If set to OFF the sniper Decoy is DISABLED ** // Range: 0 - 1 (No, Yes) // Default: 1 set cloaksoundon 1 // Sniper_PickupHealth - Can the Sniper pickup Health? // ** If set to NO, the sniper's cloak will ** // ** give a health boost when the sniper is ** // ** Cloaked! ** // Range: 0 - 1 (No, Yes) // Default: 0 set sniper_pickuphealth 0 // Sniper_HealthGain - When Sniper_PickupHealth is Off, and the sniper is // cloaked. This sniper will received this much health // per second. // Range: 0 - 20 Health // Default: 5 set sniper_healthgain 5 // Sniper_PickupItems - Can the Sniper pickup all weapons, ammo, and items? // ** Sniper can ALWAYS pickup Cells ** // Range: 0 - 1 (Off, On) // Default: 0 set sniper_pickupitems 0 // Sniper_PickupArmour - Can the Sniper pickup all weapons, ammo, and items? // Range: 0 - 1 (Off, On) // Default: 0 set sniper_pickuparmour 0 // Sniper_PickupQuad - Can the Sniper pickup a Quad? // Range: 0 - 1 (Off, On) // Default: 0 set sniper_pickupquad 0 // Sniper_PickupInvul - Can the Sniper pickup the Invulnerability? // Range: 0 - 1 (Off, On) // Default: 0 set sniper_pickupinvul 0 // Sniper_ChangeMode - How the next Sniper is chosen once the current one // is killed. // Range: 0 - Killer of Sniper becomes the Sniper // 1 - A random player with a score in the bottom 50% is chosen // 2 - The player with the lowest Frags-per-hour is chosen // Default: 0 set sniper_changemode 0 // Sniper_StartArmour - The amount of armour that a Sniper starts with // Range: 0 - 100 armour points // Default: 25 set sniper_startarmour 25 // Sniper_StartCells - The amount of cells that a Sniper starts with // Range: 0 - 100 cells // Default: 30 set sniper_startcells 30 // Grunt_StartArmour - The amount of armour that a Grunt starts with // Range: 0 - 100 armour points // Default: 25 set grunt_startarmour 25 // Grunt_StartAmmo - The amount of Shotgun Ammo that a Grunt starts with // Range: 0 - 100 shells // Default: 50 set grunt_startammo 50 // SniperRifleDrop - Does the Sniper drop his Rifle when he dies? // If set to On, Railguns are NOT spawned on the maps. // However, the Sniper will DROP the super-railgun // when killed. // Range: 0 - 1 (Off, On) // Default: 1 set sniperrifledrop 1 // Sniper_Scope - Does the Sniper rifle have a Sniper scope? // ** If ON, NO ONE can zoom but the Sniper ** // ** like having DM_FIXED_FOV set. ** // Range: 0 - 1 (Off, On) // Default: 1 set sniper_scope 1 // Hook_Sky - Can you use the grapple to hook to clouds? // Range: 0 - 1 (Off, On) // Default: 0 set hook_sky 0 // hook_hangtime - How long does the grappling hook hold someone once they // have stopped moving (gotten stuck or reached their // destination). // Range: 0 - 60 seconds // Default: 5 set hook_hangtime 5 ////// End of File //////