case SURVIVAL_ROLE_NONE:
case SURVIVAL_ROLE_PLAYER:
{
- return "surv_attacker";
+ return cvar_string("g_surv_attacker_template");
}
case SURVIVAL_ROLE_CANNON_FODDER:
{
- return "surv_cannon_fodder";
+ return cvar_string("g_surv_cannon_fodder_template");
}
}
}
case surv_defenderteam:
{
- return "surv_defender";
+ return cvar_string("g_surv_defender_template");
}
}
return "default";
set g_surv_stealth 0 "If set, defenders will not be shown on the radar"
set g_surv_spectate_enemies 0 "Whether to allow spectating enemy players while dead"
+set g_surv_attacker_template "surv_attacker" "Player template of attackers"
+set g_surv_defender_template "surv_defender" "Player template of defenders"
+set g_surv_attacker_template "surv_cannon_fodder" "Player template of cannon fodder"
+
set g_surv_attacker_force_overkill_models 0 "Whether to force overkill player models for attackers"
set g_surv_defender_force_overkill_models 1 "Whether to force overkill player models for defenders"
set g_surv_cannon_fodder_force_overkill_models 0 "Whether to force overkill player models for cannon fodder"