set g_freezetag_revive_extra_size 100 "Distance in qu that you can stand from a frozen teammate to keep reviving him"
set g_freezetag_round_timelimit 180
set g_freezetag_frozen_force 0.6 "How much to multiply the force on a frozen player with"
-set g_freezetag_frozen_timeout 60 "frozen players will be automatically unfrozen after this time in seconds"
+set g_freezetag_frozen_maxtime 60 "frozen players will be automatically unfrozen after this time in seconds"
seta g_freezetag_teams_override 0
set g_freezetag_teams 0
string autocvar_g_forced_team_red;
string autocvar_g_forced_team_yellow;
float autocvar_g_freezetag_frozen_force;
-float autocvar_g_freezetag_frozen_timeout;
+float autocvar_g_freezetag_frozen_maxtime;
float autocvar_g_freezetag_point_leadlimit;
float autocvar_g_freezetag_point_limit;
float autocvar_g_freezetag_revive_extra_size;
self.freezetag_frozen_time = time;
self.freezetag_revive_progress = 0;
self.health = 1;
- if(autocvar_g_freezetag_frozen_timeout > 0)
- self.freezetag_frozen_timeout = time + autocvar_g_freezetag_frozen_timeout;
+ if(autocvar_g_freezetag_frozen_maxtime > 0)
+ self.freezetag_frozen_timeout = time + autocvar_g_freezetag_frozen_maxtime;
freezetag_count_alive_players();
if(n == -1)
{
- string s = ftos(autocvar_g_freezetag_frozen_timeout);
+ string s = ftos(autocvar_g_freezetag_frozen_maxtime);
centerprint(self, strcat("^5You were automatically revived after ", s, " seconds^5.\n"));
bprint("^7", self.netname, "^5 were automatically revived after ", s, " seconds^5.\n");
return 1;