PDA

View Full Version : Added HQ Cvars for greater flexibility in adjusting HQ


UnDead
04-19-2004, 03:19 AM
Because I asked the question; "Is there a way to turn off 5 sec respawn in HQ?

Having some time to look at the HQ scripting I have added variables/cvars scripting to the HQ.gsc to allow making changes to the way HQ runs easier.

Download this mod by clicking here:CLICK HERE (http://home.comcast.net/~ray1942/zzzz_HQ_Update.pk3)

Below are a list of cvars that will work,(least they should all work, but I don't know what they all do) if this pk3 file zzzz_hq_Update.pk3 is placed in your Call of Duty/Main directory on your gaming server. Be sure you don't have other HQ affecting mods in as this may override them or be overridden by them.

Now I still don't know why IW didn't include them. It took me 15 min to do? Some of these require map_restart for them to work.

You can add the below settings to your server config file.

//Radio Neutral Time
set scr_hq_RadioNeutralTime "8"

//Radio Capture Time
set scr_hq_RadioCaptureTime "10"

//Radio Spawn Delay
set scr_hq_RadioSpawnDelay "30"

//Radio Radius
set scr_hq_radioradius "120"

//Wave Time - Amount of time till next wave of players to spawn. Default is 45.
set scr_hq_wavetime "45"

//Respawn Grace Time - Amount of time a player dieing can respawn after spawning.
set scr_hq_respawngracetime "5"

//Radio Max Hold
set scr_hq_RadioMaxHold "6"

//Times Captured
set scr_hq_timesCaptured "0"

//Z Radio Radius - Distance players must be from a radio to capture/neutralize it
set scr_hq_zradioradius "50"

Anex
04-19-2004, 08:17 AM
I believe it was because they believed the settings were optimized for the game type; though changing the respawn time would've been nice.

UnDead
04-19-2004, 06:16 PM
Hehe I am all about flexibilty with our servers, so in my eyes the more cvars the better :) And the ability to quickly turn off or reset the spawn time or other variables when there isn't many players on server is useful.

Your probably right about them not adding them because they felt it was perfect or balanced, but there are many ways to see the light of balance, in the strangest of places if you look at it right. (GD)

The real cvars I want are INACTIVEKICK and INACTIVESPECTATE. Too many times players just go AFK in the middle of a battle and sit there on the battlefield for minutes until someone votes to kick them. I would rather they go to spectator in 30 sec and then kicked in 1 min later. That way more players can join. Are server is pretty much always full so to allow new players to join.

Anex
04-19-2004, 09:06 PM
You can do that with a CoDaM plugin; there's a anti-camper plugin for it.

Oh, I converted your mod to work as a new modtype for CoDaM if you're interested...

Hammer
04-19-2004, 10:15 PM
LOL! Anex, check CoDaM.cfg ;)

Jedi_Pimp
04-20-2004, 12:14 AM
LOL! Anex, check CoDaM.cfg ;)

hum are we talkin bout this :

set scr_hq_zradius 50 //
set scr_hq_neutral 8 //
set scr_hq_capture 10 //
set scr_hq_spawndelay 30 //
set scr_hq_radius 120 //
set scr_hq_wavetime 45 //
set scr_hq_respawngracetime 5 //
set scr_hq_maxhold 6 //

::o):

Anex
04-20-2004, 02:42 AM
lol

I should probably tell you I NEVER play HQ; absolutely HATE the game type. It's a good concept, but implemented on maps that in no way come close to properly support it (only Bocage really does the game type any justice).

Guess that's why I didn't pay attention to those cvars in CoDaM :? :wink:

Have a good laugh at my expense though...I know I am :P

UnDead
04-20-2004, 01:58 PM
Hehe I knew you guys working on CoDam have already implemented this but not all admins want the full mod they just want a quick mod just for HQ. So thats why I posted it. Didn't mean to step on any toes or anything. Peace,

Happy 4:20 :)

|OCG|UnDead

Inhumane
01-21-2005, 02:27 PM
Do you know if this mod works with the 1.5 patch. I tried it, and it did not seem to work. Just download, put in the main folder, and add your setting to the cfg file, correct?