PDA

View Full Version : Worms Power Server version 0.5


bullet-worm
10-29-2005, 05:52 PM
Version 0.5 - This is a BETA, but it works for now on my test server. Feedback very welcomed. I've managed to do some stuff that no one else has yet, like those objective icons, tk-monitoring, and removing the mountable MG turrets from maps for rifles-only play.

Anyway, you can grab it here:
http://www.wormsworld.net/forums/viewtopic.php?t=15

Message Center
Welcome Messages
TK-Monitor and Punishment
Additional gametype cvars for additional control
Options to remove: death icons, objective icons, grenade indicator icons
Option to remove the mountable MGs (turrets)
Option to turn the Health Regen on/off
DVAR Enforcer which allows the server to force client dvars for:
+Rate
+Mantle Hints
+Crosshairs
+Enemy Crosshair Colors
+HUD Stance Indicator



This is the config file:
///////////////////////////////////////////////////////////////
// Worms PowerServer Mod
// email:
// bullet-worm AT asmdgaming DOT com
//
// forums:
// http://www.wormsworld.net/forums
//
// Instructions:
// 1) Add the .iwd file to your server's MAIN directory
// 2) Modify this config to your liking.
// 3) Save and upload this config file to your server's MAIN directory
// 4) In your server's start-up config file, add:
// exec powerserver.cfg
// Note: This must be done BEFORE the first map is called
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////
// Additional Gametype DVAR Options
//
///////////////////
// All Gametypes //
////////////////////////////
//
// Death Icon On/Off
set scr_deathicon 1
//
// Grenade Icons On/Off
set scr_grenadeicon 1
//
// Health Regen Enable/Disable
set scr_healthregen 1
//
// Health Regen Regen Delay time
set scr_regendelay 5000
//
// On-screen Objective Icons On/Off (CTF, HQ, S&D)
set scr_objectiveicon 1
//
// Turret Weapons (mountable MGs) Enabled/Disabled
set scr_allow_turret 1
//
/////////
// CTF //
////////////////////////////
//
// Respawn Delay
set scr_ctf_respawndelay 10 // 10 stock
//
// Automatic Flag Return Delay after dropped
set scr_ctf_flagreturndelay 120 // 120 stock
//
/////////
// S&D //
////////////////////////////
//
// Bomb Plant Time
set scr_sd_planttime 5 // 5 stock
//
// Bomb Defuse Time
set scr_sd_defusetime 10 // 10 stock
//
////////
// HQ //
////////////////////////////
//
// Radio Spawn Delay
set scr_hq_RadioSpawnDelay 45 //45 stock
//
// Radio Capture Radius
set scr_hq_radioradius 120 // 120 stock
//
// Maximum Allowed Hold Time for Radi
set scr_hq_RadioMaxHold 120 //120 stock
//
// Respawn Delay
set scr_hq_respawndelay 10 //10 stock
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////

///////////////////////////////////////////////////////////////
// TK Monitor
// This monitor will force a player to sit in spectate for the
// set number of seconds in Punishment Time
//
// Enable Disable
set tk_monitor 1
//
// TK Limit
tk_limit 3
//
// TK Punishment Time
set tk_punishtime 240
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////
// Message Center Setup
//
// Enable/Disable
set mc_enable 1
////////////////////////////
// Max messages setup:
// Maximum number of your message.
// If this is 99 then your LAST message dvar would be mc_message100 "text"
// It is best to keep this as low as needed for performance purposes.
//
set mc_maxmessages 10 // This gives me 10 messages (1 through 11)
////////////////////////////
// On my TO DO list!!
// does not work yet, always restarts every round
set mc_restartEveryRound 1
////////////////////////////
// Standard Message Delays
//
// Standard delay between each message
// (IF a custom delay is not defined)
// This setting is ALSO used as the delay after the last message
// before the whole message loop starts over
//
set mc_delay 90
////////////////////////////
// Messages
// Notes:
// 1) mc_message1 is the FIRST message (there is no mc_message0)
// 2) You CAN skip numbers if you want and it will not effect
// the message center as long as the numbers used in your
// mc_message# is LESS than mc_maxmessages + 1.
// This can be useful if you want to add messages inbetween
// or if you want to rip a message out by just setting
// the message dvar to ""
// 3) The messages will play in NUMBERICAL order, even if it
// has to skip numbers. 1,4,25,30,55,etc.
////////////////////////////
// SPECIAL NOTE ON MESSAGE SPECIFIC DELAYS (mc_messagedelay#)
// The delay specified for each message comes BEFORE the
// specified message, for example, mc_messagedelay2 is
// the delay BETWEEN mc_message2 and whatever message is
// before it. You can even specify a delay of 0 for multi-line
// messages.
//
// If NO specific message delay is specified for a message,
// it will automatically use the generic delay set by mc_delay.
////////////////////////////
// SPECIAL MESSAGE FUNCTIONS:
// There are a couple special message functions built in:
// <*nextmap*> & <*gtrules*>
// Usage: Set any message dvar to exactly the special function
// i.e. set mc_message1 "<*nextmap*>"
//
// <*nextmap*> will show the next map and gametype
// <*gtrules*> will show the rules for the current gametype
// The gametype rules must be specifed by the admin via
// specific dvars listed below.
////////////////////////////
// Setup Messages
set mc_message1 "<*nextmap*>"
set mc_messagedelay1 5
//
set mc_message2 "<*gtrules*>"
set mc_messagedelay2 1
//
set mc_message3 "^3*|^1ASMD^3|* ^4is recruiting adults only"
set mc_messagedelay3 120
set mc_message4 "^4www.asmdgaming.com for details"
set mc_messagedelay4 0
////////////////////////////
// Setup Gametype Rules
// These are used by the <*gtrules*> special function
// The message center will automaticly detect what the
// current gametype is and select the appropriate dvar below
//
// S&D Rules
set mc_rules_sd "^3S&D Rules: ^5First team to 7 wins"
//
// CTF Rules
set mc_rules_ctf "^3CTF Rules: ^5First team to 5 wins"
//
// TDM Rules
set mc_rules_tdm "^3TDM Rules: ^5First team to 300 wins"
//
// DM Rules
set mc_rules_dm "^3DM Rules: ^5First player to 50 wins"
//
// HQ Rules
set mc_rules_hq "^3HQ Rules: ^5First team to 600 wins"
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////
// Welcome Center Setup
//
// Enable/Disable
set wc_enable 1
//
// Messages
// Note there are only 5 available lines in the center of
// the screen, thus these 5 dvars are the ones to set for each
// line. Empty lines will be skipped.
//
set wc_line1 "^4Welcome to the ^3*|^1ASMD^3|* ^4clan server"
set wc_line2 "^3*^1Warning^3* ^4Please respect other players"
set wc_line3 ""
set wc_line4 ""
set wc_line5 ""
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////


///////////////////////////////////////////////////////////////
// DVAR Enforcer
// Forces Client-side Dvars to admin-desired settings
//
// Enable / Disable
set de_enable 1
//
// Force Client Side Rate (1000 min, 25000 max)
set de_force_rate 25000
//
// Mantle Hints Enable\Disable
set de_allow_mantlehint 0
//
// Crosshairs Enable\Disable
set de_allow_crosshair 0
//
// Allow crosshair to change color on enemy?
set de_allow_enemycrosshaircolor 0
//
// Stance Hud Idicator Enable/Disable
set de_allow_hudstance 0
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////




///////////////////////////////////////////////////////////////
// ADVANCED!!!!!!!!!! The below is for people comfortable
// getting in a changing part of the script on their own!!!
// I am working on ways to simplify this, but they are NOT
// ready yet.
//
// This will allow you to put a HUD element on-screen that
// shows your web address in the bottom right corner.
// Small print and out of the way, but you can see it.
//
// To get it to work you must modify line 193 of
// messagecenter.gsc to change www.ASMDGaming.com with YOUR
// site's name. DO NOT remove the '&' sign in front of the
// quotes!! ONLY change what is INSIDE the quotes.
// Line 193 says:
// game["mc_site"] = &"www.ASMDGaming.com"; // CHANGE THIS LINE TO YOUR SITE
//
// Also, to ENABLE the HUD element, add this to the config:
// set mc_showsite 1
///////////////////////////////////////////////////////////////


Enjoy!

worm

jcaldera
10-29-2005, 05:59 PM
this is sweet thanks bulletworm. gonna try this now.

FA155mm
10-29-2005, 06:35 PM
Thanks b-w. It's efforts like yours that are going to turn this game into what it could have been from the start instead of a console-clone... ;)