Concerning clanarena (gametype 7)

2 replies [Last post]
gst
uniquewiz's picture
Offline
Joined: Feb 2010
Posts:

Id like to know how to modify that:

1) How to set MAXIMUM rounds for clanarena ? (example - to set this "max rounds" to 7, so that when a team wins 7th round - game ends)..because for now i only found command "roundlimit" - which is completely not what i want

2) If thats possible - how to make game Automatically add +2 maxrounds, if teams reach 6-6 score, 7-7 ..etc "tie" score

3) To make game bypass the need for players to press "ready" (mouse1), for new round to start ?(gets very annoying to wait for 10+ seconds of 1 or 2 players dont press it..) and instead of this system - make new round start in 3 seconds after all of players from one team is dead. ?

Also sorry in advance for making so many topics, questions are just too much different.

animalchik
fala.q3's picture
Offline
Joined: Jul 2009
Posts:
Re: Concerning clanarena (gametype 7)

i think this does not need an explanation

and i think atm u can't have an option to set draw if score-even-at = 80%;

Winking

max amount of rounds was always described by $roundlimit

	Round	{
			Warmup			= 10;
			Items			= IT_NONE;
			Reset Flags		= RESET_NONE;
			Warmup Respawn	= $xp_warmupRespawn & WARMUPRESPAWN_PLAYERS;
			Draw Enable		= no;
	}
 
	if ($xp_roundRestartMapItems == "") {$xp_roundRestartMapItems = "0";}
	if ($xp_roundRestartPlayerStatus == "") {$xp_roundRestartPlayerStatus = "0";}
 
	switch ( $xp_roundRestartMapItems . $xp_roundRestartPlayerStatus) {
		case "00":
					Round -> Items = IT_NONE;
					Round -> Reset Flags = RESET_NONE;
			break;
		case "10":
					Round -> Items = IT_ALL;
					Round -> Reset Flags = RESET_NONE;;
			break;
		case "01":
					Round -> Items = IT_NONE;
					Round -> Reset Flags = RESET_ALL;
			break;
		case "11":
					Round -> Items = IT_ALL;
					Round -> Reset Flags = RESET_ALL;
			break;
	}

all thought

	/* Round end actions
	 *
	 **/
	Round {
		/* Items that are reset
		 *
		 * IT_ARMOR_SHARD
		 * IT_ARMOR_JACKET
		 * IT_ARMOR_COMBAT
		 * IT_ARMOR_BODY
		 * IT_HEALTH_SMALL
		 * IT_HEALTH
		 * IT_HEALTH_LARGE
		 * IT_HEALTH_MEGA
		 * IT_TELEPORTER
		 * IT_MEDKIT
		 *
		 * IT_NONE
		 * IT_ALL
		 **/
		Items = IT_NONE;
 
		/* Controls which player stats are cleared
		 *
		 * RESET_HEALTH
		 * RESET_ARMOR
		 * RESET_WEAPONS
		 * RESET_POWERUPS
		 *
		 * RESET_NONE
		 * RESET_ALL
		 **/
		Reset Flags = RESET_ARMOR | RESET_WEAPONS | RESET_POWERUPS;
 
		/* Round warmup time
		 *
		 * Only when $xp_matchmode is 2
		 **/
		Warmup = 4;
 
		/* Control if players should respawn after round warmup
		 *
		 * Only when $xp_matchmode is 2
		 **/
		Warmup Respawn = $xp_warmupRespawn & WARMUPRESPAWN_PLAYERS;
 
		/* Call for draw when all players are dead instead of deciding with the latest frag
		 *
		 **/
		Draw Enable = no;
	}

I am addicted to life.

lagstard
Developer (retired)
rabusmar's picture
Offline
Joined: Jan 2008
Posts:
Re: Concerning clanarena (gametype 7)

1. That's fraglimit, fraglimit also works on ca gametype.
2. Not possible atm and i'm not sure if will be implemented.
3. Try with different values for xp_matchmode and the Round config section.

Había una vez un barco chiquito...