/// spawn.
int autocvar_g_surv_cannon_fodder_num_random_start_weapons;
+/// \brief How much health do attackers get when they pickup ammo.
+int autocvar_g_surv_attacker_pickup_ammo_health;
+/// \brief How much armor do attackers get when they pickup ammo.
+int autocvar_g_surv_attacker_pickup_ammo_armor;
/// \brief How many health do defenders get when they pickup small health.
int autocvar_g_surv_defender_pickup_health_small;
/// \brief How many health do defenders get when they pickup medium health.
case "item_cells":
case "droppedweapon":
{
- GivePlayerHealth(player, g_pickup_healthmedium);
- GivePlayerArmor(player, g_pickup_armormedium);
+ GivePlayerHealth(player,
+ autocvar_g_surv_attacker_pickup_ammo_health);
+ GivePlayerArmor(player,
+ autocvar_g_surv_attacker_pickup_ammo_armor);
return MUT_ITEMTOUCH_CONTINUE;
}
}
set g_surv_cannon_fodder_num_random_start_weapons 2 "Number of weapons that can be randomly given to cannon fodder during spawn"
set g_surv_cannon_fodder_random_start_weapons "machinegun mortar electro crylink vortex hagar devastator" "Weapons that can be randomly given to cannon fodder during spawn"
-set g_surv_defender_pickup_health_small 0 "How many health do defenders get when they pickup small health"
-set g_surv_defender_pickup_health_medium 0 "How many health do defenders get when they pickup medium health"
-set g_surv_defender_pickup_health_big 0 "How many health do defenders get when they pickup big health"
-set g_surv_defender_pickup_health_mega 0 "How many health do defenders get when they pickup mega health"
-set g_surv_defender_pickup_armor_small 0 "How many armor do defenders get when they pickup small armor"
-set g_surv_defender_pickup_armor_medium 0 "How many armor do defenders get when they pickup medium armor"
-set g_surv_defender_pickup_armor_big 0 "How many armor do defenders get when they pickup big armor"
-set g_surv_defender_pickup_armor_mega 0 "How many armor do defenders get when they pickup mega armor"
+set g_surv_attacker_pickup_ammo_health 25 "How much health do attackers get when they pickup ammo"
+set g_surv_attacker_pickup_ammo_armor 25 "How much armor do attackers get when they pickup ammo"
+set g_surv_defender_pickup_health_small 0 "How much health do defenders get when they pickup small health"
+set g_surv_defender_pickup_health_medium 0 "How much health do defenders get when they pickup medium health"
+set g_surv_defender_pickup_health_big 0 "How much health do defenders get when they pickup big health"
+set g_surv_defender_pickup_health_mega 0 "How much health do defenders get when they pickup mega health"
+set g_surv_defender_pickup_armor_small 0 "How much armor do defenders get when they pickup small armor"
+set g_surv_defender_pickup_armor_medium 0 "How much armor do defenders get when they pickup medium armor"
+set g_surv_defender_pickup_armor_big 0 "How much armor do defenders get when they pickup big armor"
+set g_surv_defender_pickup_armor_mega 0 "How much armor do defenders get when they pickup mega armor"
set g_surv_defender_pickup_shells_small 6 "How many shells do defenders get when they pickup small health/armor"
set g_surv_defender_pickup_shells_medium 15 "How many shells do defenders get when they pickup medium health/armor"
set g_surv_defender_pickup_shells_big 30 "How many shells do defenders get when they pickup big health/armor"