PDA

View Full Version : question about settings w/hammer's goodies


cooterius
02-12-2003, 03:16 AM
I been tinkering around with Hammer's Goodies v2.0
and MAM v1.2...

I'm trying to get specific round limits and timelimits for some maps.
For instance I would like to have all objective maps (8 rounds 15 min each), but have 2 TDM maps and Omaha for 2 rounds, 15/10 min each. Been having problems figuring out how the settings should be set for this. Or are there limitations to this aspect of HGs? The settings do not seem to follow the definitions in the .cfg file,
also forcing gametype and respawn on DM maps doesn't seem to work
(spefically dm/mohdm2 and dm/mohdm3... meaning that the "force respawn" setting set at "1" does not work).

mainly talking about these settings:

///////////////////////////////////////
// Map-specific presets ...
// Entry Format (fields):
// g_gametype - Force match type FFA=1, TDM=2, RBM=3, OBJ=4, TOW=5
// timelimit - Overall map duration in seconds (0= infinite) {does not seem to be seconds}
// fraglimit - Number of kills before map ends (0= no limit)
// roundlimit - Round duration in seconds RBM/OBJ/TOW {does not seem to be seconds}
// respawn - Allow respawn in OBJ & TOW (see above)
// g_teamdamage - Friendly Fire: 0= off, 1=on
// g_realismmode - Realism Mode: 0= disable, 1=enable

//append _ham_maplist "*:*:*:*:*:*:*:dm/mohdm1"
append _ham_maplist "2:*:*:*:*:*:*:dm/mohdm2" (force respawn was set in section for all maps of this type)
append _ham_maplist "2:*:*:*:*:*:*:dm/mohdm3" (force respawn was set in section for all maps of this type)
//append _ham_maplist "*:*:*:*:*:*:*:dm/mohdm4"
//append _ham_maplist "*:*:*:*:*:*:*:dm/mohdm5"
//append _ham_maplist "*:*:*:*:*:*:*:dm/mohdm6"
//append _ham_maplist "*:*:*:*:*:*:*:dm/mohdm7"
append _ham_maplist "*:15:*:8:*:*:*:obj/obj_team1:*:*:*"
append _ham_maplist "*:15:*:8:*:*:*:obj/obj_team2:*:*:*"
append _ham_maplist "*:15:*:2:1:*:*:obj/obj_team3:*:*:*"
append _ham_maplist "*:15:*:8:*:*:*:obj/obj_team4:*:*:*"


does anyone know what each parameter really means?

Hammer
02-12-2003, 08:20 PM
First off, timelimit and roundlimit should be specified in minutes. I never realized I put seconds in the comments. :oops:

Roundlimit sets the maximum time a single objective-round will be played, i.e. in case the objective(s) are not achieved. Fraglimit indicates the number of rounds that one team must win before the map ends. Timelimit specifies the amount of time to run a map before switching to another.

From your description, you want roundlimit set to 15 and fraglimit set at 8 for the obj maps. This means that one team must reach 8 wins before the map changes which, assuming you have not set a timelimit, could lead to a single map playing for 15 * 15 minutes (winning teams wins 8 rounds while losing team won 7). Now, for example, if you set timelimit say to 25 minutes, the map will end if a team reaches 8 wins before 25 minutes or after two full 15-minute rounds (ie. objective never met), or combination of this.

In your config, timelimit is 15 min, while each round plays for 8 min (except Omaha which plays for 2). Since you haven't specified a fraglimit (and assuming that fraglimit is 0 in your server.cfg), all maps (but Omaha) will play out for 16 minutes (two 8 min rounds), while Omaha will play eight 2-min rounds.

This may be more what you were after (with the addition of a 30 min timelimit):

append _ham_maplist "*:30:8:15:*:*:*:obj/obj_team1:*:*:*"
append _ham_maplist "*:30:8:15:*:*:*:obj/obj_team2:*:*:*"
append _ham_maplist "*:30:2:10:1:*:*:obj/obj_team3:*:*:*"
append _ham_maplist "*:30:8:15:*:*:*:obj/obj_team4:*:*:*"

--[MC] Hammer

cooterius
02-17-2003, 01:20 AM
ooo,

Awsome. Thanks Hammer! Really appreciate the mod btw.

c00t