From: Lyberta Date: Fri, 17 Mar 2017 21:15:49 +0000 (+0300) Subject: Adding survival config files. X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5709f451a0cf4e5b768293e3a737a09851212920;p=xonotic%2Fxonotic-data.pk3dir.git Adding survival config files. --- diff --git a/gamemodes.cfg b/gamemodes.cfg index 80d990226..0646f3dbb 100644 --- a/gamemodes.cfg +++ b/gamemodes.cfg @@ -553,3 +553,5 @@ set g_invasion_spawn_delay 0.25 set g_invasion_spawnpoint_spawn_delay 0.5 set g_invasion_teams 0 "number of teams in invasion (note: use mapinfo to set this)" set g_invasion_team_spawns 1 "use team spawns in teamplay invasion mode" + +exec survival.cfg // Lyberta: surv diff --git a/survival.cfg b/survival.cfg new file mode 100644 index 000000000..591def083 --- /dev/null +++ b/survival.cfg @@ -0,0 +1,50 @@ +// Cvars for survival gamemode. + +alias cl_hook_gamestart_surv +alias sv_hook_gamestart_surv +alias sv_vote_gametype_hook_surv + +set g_surv_respawn_delay_small 0 +set g_surv_respawn_delay_small_count 0 +set g_surv_respawn_delay_large 0 +set g_surv_respawn_delay_large_count 0 +set g_surv_respawn_delay_max 0 +set g_surv_respawn_waves 0 +set g_surv_weapon_stay 0 + +set g_surv 0 "Survival: survive as long as you can" +set g_surv_warmup 10 "How long the players will have time to run around the map before the round starts" +set g_surv_round_timelimit 300 "Round time limit in seconds" +seta g_surv_point_limit -1 "Survival point limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)" +seta g_surv_point_leadlimit -1 "Survival point lead limit overriding the mapinfo specified one (use 0 to play without limit, and -1 to use the mapinfo's limit)" +set g_surv_team_size 4 "How much players are allowed in teams (excluding cannon fodder)" + +set g_surv_defender_start_health 100 "How much health do defenders get during spawn" +set g_surv_defender_start_armor 100 "How much armor do defenders get during spawn" +set g_surv_defender_start_ammo_shells 10 "How many shells do defenders get during spawn" +set g_surv_defender_start_ammo_bullets 15 "How many bullets do defenders get during spawn" +set g_surv_defender_start_ammo_rockets 0 "How many rockets do defenders get during spawn" +set g_surv_defender_start_ammo_cells 30 "How many cells do defenders get during spawn" +set g_surv_defender_start_weapons "okshotgun okmachinegun okvortex" "Which weapons to give to defenders during spawn" + +set g_surv_defender_pickup_shells_small 2 "How many shells do defenders get when they pickup small health/armor" +set g_surv_defender_pickup_shells_medium 5 "How many shells do defenders get when they pickup medium health/armor" +set g_surv_defender_pickup_shells_big 10 "How many shells do defenders get when they pickup big health/armor" +set g_surv_defender_pickup_shells_mega 15 "How many shells do defenders get when they pickup mega health/armor" +set g_surv_defender_pickup_bullets_small 5 "How many bullets do defenders get when they pickup small health/armor" +set g_surv_defender_pickup_bullets_medium 10 "How many bullets do defenders get when they pickup medium health/armor" +set g_surv_defender_pickup_bullets_big 15 "How many bullets do defenders get when they pickup big health/armor" +set g_surv_defender_pickup_bullets_mega 30 "How many bullets do defenders get when they pickup mega health/armor" +set g_surv_defender_pickup_rockets_small 0 "How many rockets do defenders get when they pickup small health/armor" +set g_surv_defender_pickup_rockets_medium 0 "How many rockets do defenders get when they pickup medium health/armor" +set g_surv_defender_pickup_rockets_big 0 "How many rockets do defenders get when they pickup big health/armor" +set g_surv_defender_pickup_rockets_mega 0 "How many rockets do defenders get when they pickup mega health/armor" +set g_surv_defender_pickup_cells_small 10 "How many cells do defenders get when they pickup small health/armor" +set g_surv_defender_pickup_cells_medium 20 "How many cells do defenders get when they pickup medium health/armor" +set g_surv_defender_pickup_cells_big 40 "How many cells do defenders get when they pickup big health/armor" +set g_surv_defender_pickup_cells_mega 50 "How many cells do defenders get when they pickup mega health/armor" + +set g_surv_defender_attack_scale 1 "How much defenders damage others. Higher values mean more damage" +set g_surv_defender_defense_scale 3 "How much defenders get damaged. Higher values mean less damage" +set g_surv_cannon_fodder_attack_scale 1 "How much cannon fodder damages others. Higher values mean more damage" +set g_surv_cannon_fodder_defense_scale 1 "How much cannon fodder gets damaged. Higher values mean less damage"