thirtyflightsofloving/missionpack/km_cvar.c
Knightmare66 5d252f3bbc Added changable railgun weapon skin based on sk_railgun_skin cvar to change railgun skin to default Lazarus, missionpack, and Zaero DLLs.
Added sk_rail_color_red, sk_rail_color_green, and sk_rail_color_blue cvars to change rail trail color when cvar sk_rail_color is set to 2 in default Lazarus, missionpack, and Zaero DLLs.
Added ctf_railcolors cvar to default Lazarus DLL.
2021-10-16 23:19:27 -04:00

685 lines
27 KiB
C

#include "g_local.h"
/******* Knightmare's cvar code file ***********/
// enable/disable options
cvar_t *mega_gibs; // whether to spawn extra gibs, default to 0
cvar_t *mp_monster_replace; // whether to replace monsters with mission pack modified variants
cvar_t *mp_monster_ammo_replace; // whether to replace monsters' ammo items if above is enabled
cvar_t *kamikaze_flyer_replace; // whether to replace some flyers with kamikaze flyers, probability 0-1
cvar_t *allow_player_use_abandoned_turret; // whether to allow player to use turrets in exisiting maps
cvar_t *turn_rider; // whether to turn player on rotating object
cvar_t *adjust_train_corners; // whether to subtract (1,1,1) from train path corners to fix misalignments
cvar_t *add_velocity_throw; // whether to add player's velocity to thrown objects
cvar_t *falling_armor_damage; // whether player's armor absorbs damage from falling
cvar_t *player_jump_sounds; // whether to play that STUPID grunting sound when the player jumps
cvar_t *tpp_auto; // whether to automatically go into third-person when pushing a pushable
cvar_t *use_vwep;
// Server-side speed control stuff
cvar_t *player_max_speed;
cvar_t *player_crouch_speed;
cvar_t *player_accel;
cvar_t *player_stopspeed;
// weapon balancing
cvar_t *sk_blaster_damage;
cvar_t *sk_blaster_damage_dm;
cvar_t *sk_blaster_speed;
cvar_t *sk_blaster_color; // blaster color- 1=yellow, 2=green, 3=blue, 4=red
cvar_t *sk_shotgun_damage;
cvar_t *sk_shotgun_count;
cvar_t *sk_shotgun_hspread;
cvar_t *sk_shotgun_vspread;
cvar_t *sk_sshotgun_damage;
cvar_t *sk_sshotgun_count;
cvar_t *sk_sshotgun_hspread;
cvar_t *sk_sshotgun_vspread;
cvar_t *sk_machinegun_damage;
cvar_t *sk_machinegun_hspread;
cvar_t *sk_machinegun_vspread;
cvar_t *sk_chaingun_damage;
cvar_t *sk_chaingun_damage_dm;
cvar_t *sk_chaingun_hspread;
cvar_t *sk_chaingun_vspread;
cvar_t *sk_grenade_damage;
cvar_t *sk_grenade_radius;
cvar_t *sk_grenade_speed;
cvar_t *sk_hand_grenade_damage;
cvar_t *sk_hand_grenade_radius;
cvar_t *sk_rocket_damage;
cvar_t *sk_rocket_damage2;
cvar_t *sk_rocket_rdamage;
cvar_t *sk_rocket_radius;
cvar_t *sk_rocket_speed;
cvar_t *sk_hyperblaster_damage;
cvar_t *sk_hyperblaster_damage_dm;
cvar_t *sk_hyperblaster_speed;
cvar_t *sk_hyperblaster_color; // hyperblaster color- 1=yellow, 2=green, 3=blue, 4=red
cvar_t *sk_railgun_damage;
cvar_t *sk_railgun_damage_dm;
cvar_t *sk_railgun_skin;
cvar_t *sk_rail_color;
cvar_t *sk_rail_color_red;
cvar_t *sk_rail_color_green;
cvar_t *sk_rail_color_blue;
cvar_t *sk_bfg_damage;
cvar_t *sk_bfg_damage_dm;
cvar_t *sk_bfg_damage2;
cvar_t *sk_bfg_damage2_dm;
cvar_t *sk_bfg_rdamage;
cvar_t *sk_bfg_radius;
cvar_t *sk_bfg_speed;
cvar_t *sk_jump_kick_damage;
cvar_t *sk_ionripper_damage;
cvar_t *sk_ionripper_damage_dm;
cvar_t *sk_ionripper_kick;
cvar_t *sk_ionripper_kick_dm;
cvar_t *sk_ionripper_speed;
cvar_t *sk_ionripper_extra_sounds;
cvar_t *sk_phalanx_damage;
cvar_t *sk_phalanx_damage2;
cvar_t *sk_phalanx_radius_damage;
cvar_t *sk_phalanx_radius;
cvar_t *sk_phalanx_speed;
cvar_t *sk_trap_life;
cvar_t *sk_trap_health;
cvar_t *sk_etf_rifle_damage;
cvar_t *sk_etf_rifle_damage_dm;
cvar_t *sk_etf_rifle_radius_damage;
cvar_t *sk_etf_rifle_radius;
cvar_t *sk_etf_rifle_speed;
cvar_t *sk_plasmabeam_damage;
cvar_t *sk_plasmabeam_damage_dm;
cvar_t *sk_disruptor_damage;
cvar_t *sk_disruptor_damage_dm;
cvar_t *sk_disruptor_speed;
cvar_t *sk_prox_damage;
cvar_t *sk_prox_radius;
cvar_t *sk_prox_speed;
cvar_t *sk_prox_life;
cvar_t *sk_prox_health;
cvar_t *sk_tesla_damage;
cvar_t *sk_tesla_radius;
cvar_t *sk_tesla_life;
cvar_t *sk_tesla_health;
cvar_t *sk_chainfist_damage;
cvar_t *sk_chainfist_damage_dm;
cvar_t *sk_nuke_delay;
cvar_t *sk_nuke_life;
cvar_t *sk_nuke_radius;
cvar_t *sk_nbomb_delay;
cvar_t *sk_nbomb_life;
cvar_t *sk_nbomb_radius;
cvar_t *sk_nbomb_damage;
cvar_t *sk_shockwave_bounces;
cvar_t *sk_shockwave_damage;
cvar_t *sk_shockwave_damage2;
cvar_t *sk_shockwave_rdamage;
cvar_t *sk_shockwave_radius;
cvar_t *sk_shockwave_speed;
cvar_t *sk_shockwave_effect_damage;
cvar_t *sk_shockwave_effect_radius;
cvar_t *sk_plasma_rifle_damage_bounce;
cvar_t *sk_plasma_rifle_damage_bounce_dm;
cvar_t *sk_plasma_rifle_damage_spread;
cvar_t *sk_plasma_rifle_damage_spread_dm;
cvar_t *sk_plasma_rifle_speed_bounce;
cvar_t *sk_plasma_rifle_speed_spread;
cvar_t *sk_plasma_rifle_radius;
cvar_t *sk_plasma_rifle_life_bounce;
cvar_t *sk_plasma_rifle_life_spread;
cvar_t *sk_flaregun_damage;
cvar_t *sk_flaregun_rdamage;
cvar_t *sk_flaregun_radius;
cvar_t *sk_flaregun_speed;
cvar_t *sk_flare_life;
cvar_t *sk_tbomb_damage;
cvar_t *sk_tbomb_radius;
cvar_t *sk_tbomb_shrapnel;
cvar_t *sk_tbomb_shrapnel_damage;
cvar_t *sk_tbomb_life;
cvar_t *sk_tbomb_health;
/*
cvar_t *sk_sniperrifle_damage;
cvar_t *sk_sniperrifle_damage_dm;
cvar_t *sk_sniperrifle_kick;
cvar_t *sk_sniperrifle_kick_dm;
cvar_t *sk_soniccannon_damage;
cvar_t *sk_soniccannon_damage2;
cvar_t *sk_soniccannon_radius;
cvar_t *sk_soniccannon_maxfiretime;
cvar_t *sk_soniccannon_maxcells;
*/
cvar_t *sk_empnuke_radius;
/*
cvar_t *sk_a2k_damage;
cvar_t *sk_a2k_radius;
*/
cvar_t *sk_plasmashield_health;
cvar_t *sk_plasmashield_life;
// DM start values
cvar_t *sk_dm_start_shells;
cvar_t *sk_dm_start_bullets;
cvar_t *sk_dm_start_rockets;
cvar_t *sk_dm_start_homing;
cvar_t *sk_dm_start_grenades;
cvar_t *sk_dm_start_cells;
cvar_t *sk_dm_start_slugs;
cvar_t *sk_dm_start_magslugs;
cvar_t *sk_dm_start_traps;
cvar_t *sk_dm_start_flechettes;
cvar_t *sk_dm_start_rounds;
cvar_t *sk_dm_start_prox;
cvar_t *sk_dm_start_tesla;
cvar_t *sk_dm_start_shocksphere;
cvar_t *sk_dm_start_flares;
cvar_t *sk_dm_start_tbombs;
cvar_t *sk_dm_start_empnuke;
cvar_t *sk_dm_start_plasmashield;
cvar_t *sk_dm_start_shotgun;
cvar_t *sk_dm_start_sshotgun;
cvar_t *sk_dm_start_machinegun;
cvar_t *sk_dm_start_chaingun;
cvar_t *sk_dm_start_grenadelauncher;
cvar_t *sk_dm_start_rocketlauncher;
cvar_t *sk_dm_start_hyperblaster;
cvar_t *sk_dm_start_railgun;
cvar_t *sk_dm_start_bfg;
cvar_t *sk_dm_start_ionripper;
cvar_t *sk_dm_start_phalanx;
cvar_t *sk_dm_start_etfrifle;
cvar_t *sk_dm_start_proxlauncher;
cvar_t *sk_dm_start_plasmabeam;
cvar_t *sk_dm_start_disruptor;
cvar_t *sk_dm_start_chainfist;
cvar_t *sk_dm_start_shockwave;
cvar_t *sk_dm_start_plasmarifle;
cvar_t *sk_dm_start_flaregun;
//cvar_t *sk_dm_start_sniperrifle;
//cvar_t *sk_dm_start_soniccannon;
// maximum values
cvar_t *sk_max_health;
cvar_t *sk_max_health_dm;
cvar_t *sk_max_foodcube_health;
cvar_t *sk_max_armor_jacket;
cvar_t *sk_max_armor_combat;
cvar_t *sk_max_armor_body;
cvar_t *sk_max_bullets;
cvar_t *sk_max_shells;
cvar_t *sk_max_rockets;
cvar_t *sk_max_grenades;
cvar_t *sk_max_cells;
cvar_t *sk_max_slugs;
cvar_t *sk_max_magslugs;
cvar_t *sk_max_traps;
cvar_t *sk_max_prox;
cvar_t *sk_max_tesla;
cvar_t *sk_max_flechettes;
cvar_t *sk_max_rounds;
cvar_t *sk_max_shocksphere;
cvar_t *sk_max_fuel;
cvar_t *sk_max_flares;
cvar_t *sk_max_tbombs;
cvar_t *sk_max_empnuke;
cvar_t *sk_max_plasmashield;
//cvar_t *sk_max_a2k;
// maximum settings if a player gets a bandolier
cvar_t *sk_bando_bullets; // 300
cvar_t *sk_bando_shells; // 200
cvar_t *sk_bando_cells; // 300
cvar_t *sk_bando_slugs; // 100
cvar_t *sk_bando_magslugs;
cvar_t *sk_bando_flechettes; // 250
cvar_t *sk_bando_rounds; // 150
cvar_t *sk_bando_fuel;
cvar_t *sk_bando_flares; // 50
// maximum settings if a player gets a pack
cvar_t *sk_pack_health;
cvar_t *sk_pack_armor;
cvar_t *sk_pack_bullets; // 300
cvar_t *sk_pack_shells; // 200
cvar_t *sk_pack_rockets; // 100
cvar_t *sk_pack_grenades; // 100
cvar_t *sk_pack_cells; // 300
cvar_t *sk_pack_slugs; // 100
cvar_t *sk_pack_magslugs;
cvar_t *sk_pack_traps;
cvar_t *sk_pack_flechettes;
cvar_t *sk_pack_rounds;
cvar_t *sk_pack_prox;
cvar_t *sk_pack_tesla;
cvar_t *sk_pack_shocksphere;
cvar_t *sk_pack_fuel;
cvar_t *sk_pack_flares; // 60
cvar_t *sk_pack_tbombs; // 100
cvar_t *sk_pack_empnuke; // 100
cvar_t *sk_pack_plasmashield; // 40
//cvar_t *sk_pack_a2k; // 1
cvar_t *sk_pack_give_xatrix_ammo;
cvar_t *sk_pack_give_rogue_ammo;
cvar_t *sk_pack_give_zaero_ammo;
// pickup values
cvar_t *sk_box_shells; // value of shells
cvar_t *sk_box_bullets; // value of bullets
cvar_t *sk_box_grenades; // value of grenade pack
cvar_t *sk_box_rockets; // value of rocket pack
cvar_t *sk_box_cells; // value of cell pack
cvar_t *sk_box_slugs; // value of slug box
cvar_t *sk_box_magslugs; // value ofmagslug box
cvar_t *sk_box_flechettes; // value of flechettes
cvar_t *sk_box_prox; // value of prox
cvar_t *sk_box_tesla; // value of tesla pack
cvar_t *sk_box_disruptors; // value of disruptor pack
cvar_t *sk_box_shocksphere; // value of shocksphere
cvar_t *sk_box_trap; // value of trap
cvar_t *sk_box_fuel; // value of fuel
cvar_t *sk_box_flares; // value of flares box
cvar_t *sk_box_tbombs; // value of IRED box
cvar_t *sk_box_empnuke; // value of EMP nuke
cvar_t *sk_box_plasmashield; // value of plasma shield
// items/powerups
cvar_t *sk_armor_bonus_value; // value of armor shards
cvar_t *sk_health_bonus_value; // value of stimpacks
cvar_t *sk_powerup_max;
cvar_t *sk_nuke_max;
cvar_t *sk_nbomb_max;
cvar_t *sk_doppleganger_max;
cvar_t *sk_defender_time;
cvar_t *sk_defender_blaster_damage;
cvar_t *sk_defender_blaster_speed;
cvar_t *sk_vengeance_time;
cvar_t *sk_vengeance_health_threshold;
cvar_t *sk_hunter_time;
cvar_t *sk_doppleganger_time;
cvar_t *sk_quad_time;
cvar_t *sk_inv_time;
cvar_t *sk_breather_time;
cvar_t *sk_enviro_time;
cvar_t *sk_silencer_shots;
cvar_t *sk_ir_time;
cvar_t *sk_double_time;
cvar_t *sk_quad_fire_time;
cvar_t *sk_stasis_time;
cvar_t *sk_visor_time;
//cvar_t *sk_sniper_charge_time;
//cvar_t *sk_a2k_detonate_time;
void InitLithiumVars (void)
{
mega_gibs = gi.cvar("mega_gibs", "0", CVAR_ARCHIVE);
mp_monster_replace = gi.cvar("mp_monster_replace", "0", CVAR_LATCH);
mp_monster_ammo_replace = gi.cvar("mp_monster_ammo_replace", "0", CVAR_ARCHIVE);
kamikaze_flyer_replace = gi.cvar("kamikaze_flyer_replace", "0", CVAR_ARCHIVE);
allow_player_use_abandoned_turret = gi.cvar("allow_player_use_abandoned_turret", "0", CVAR_ARCHIVE);
turn_rider = gi.cvar("turn_rider", "1", CVAR_ARCHIVE);
adjust_train_corners = gi.cvar("adjust_train_corners", "0", CVAR_ARCHIVE);
add_velocity_throw = gi.cvar("add_velocity_throw", "0", CVAR_ARCHIVE);
falling_armor_damage = gi.cvar("falling_armor_damage", "0", CVAR_ARCHIVE);
player_jump_sounds = gi.cvar("player_jump_sounds", "1", CVAR_ARCHIVE);
tpp_auto = gi.cvar("tpp_auto", "1", CVAR_ARCHIVE);
use_vwep = gi.cvar("use_vwep", "1", CVAR_ARCHIVE);
player_max_speed = gi.cvar("player_max_speed", "300", 0);
player_crouch_speed = gi.cvar("player_crouch_speed", "100", 0);
player_accel = gi.cvar("player_accel", "10", 0);
player_stopspeed = gi.cvar("player_stopspeed", "100", 0);
// weapon balancing
sk_blaster_damage = gi.cvar("sk_blaster_damage", "10", 0);
sk_blaster_damage_dm = gi.cvar("sk_blaster_damage_dm", "15", 0);
sk_blaster_speed = gi.cvar("sk_blaster_speed", "1000", 0);
sk_blaster_color = gi.cvar("sk_blaster_color", "1", 0);
sk_shotgun_damage = gi.cvar("sk_shotgun_damage", "4", 0);
sk_shotgun_count = gi.cvar("sk_shotgun_count", "12", 0);
sk_shotgun_hspread = gi.cvar("sk_shotgun_hspread", "500", 0);
sk_shotgun_vspread = gi.cvar("sk_shotgun_vspread", "500", 0);
sk_sshotgun_damage = gi.cvar("sk_sshotgun_damage", "6", 0);
sk_sshotgun_count = gi.cvar("sk_sshotgun_count", "20", 0);
sk_sshotgun_hspread = gi.cvar("sk_sshotgun_hspread", "1000", 0);
sk_sshotgun_vspread = gi.cvar("sk_sshotgun_vspread", "500", 0);
sk_machinegun_damage = gi.cvar("sk_machinegun_damage", "8", 0);
sk_machinegun_hspread = gi.cvar("sk_machinegun_hspread", "300", 0);
sk_machinegun_vspread = gi.cvar("sk_machinegun_vspread", "500", 0);
sk_chaingun_damage = gi.cvar("sk_chaingun_damage", "8", 0);
sk_chaingun_damage_dm = gi.cvar("sk_chaingun_damage_dm", "6", 0);
sk_chaingun_hspread = gi.cvar("sk_chaingun_hspread", "300", 0);
sk_chaingun_vspread = gi.cvar("sk_chaingun_vspread", "500", 0);
sk_grenade_damage = gi.cvar("sk_grenade_damage", "120", 0);
sk_grenade_radius = gi.cvar("sk_grenade_radius", "160", 0);
sk_grenade_speed = gi.cvar("sk_grenade_speed", "600", 0);
sk_hand_grenade_damage = gi.cvar("sk_hand_grenade_damage", "125", 0);
sk_hand_grenade_radius = gi.cvar("sk_hand_grenade_radius", "165", 0);
sk_rocket_damage = gi.cvar("sk_rocket_damage", "100", 0);
sk_rocket_damage2 = gi.cvar("sk_rocket_damage2", "20", 0);
sk_rocket_rdamage = gi.cvar("sk_rocket_rdamage", "120", 0);
sk_rocket_radius = gi.cvar("sk_rocket_radius", "140", 0);
sk_rocket_speed = gi.cvar("sk_rocket_speed", "650", 0);
sk_hyperblaster_damage = gi.cvar("sk_hyperblaster_damage", "10", 0);
sk_hyperblaster_damage_dm = gi.cvar("sk_hyperblaster_damage_dm", "15", 0);
sk_hyperblaster_speed = gi.cvar("sk_hyperblaster_speed", "1000", 0);
sk_hyperblaster_color = gi.cvar("sk_hyperblaster_color", "1", 0);
sk_railgun_damage = gi.cvar("sk_railgun_damage", "150", 0);
sk_railgun_damage_dm = gi.cvar("sk_railgun_damage_dm", "100", 0);
sk_railgun_skin = gi.cvar("sk_railgun_skin", "0", 0);
sk_rail_color = gi.cvar("sk_rail_color", "1", 0);
sk_rail_color_red = gi.cvar("sk_rail_color_red", "255", 0);
sk_rail_color_green = gi.cvar("sk_rail_color_green", "20", 0);
sk_rail_color_blue = gi.cvar("sk_rail_color_blue", "20", 0);
sk_bfg_damage = gi.cvar("sk_bfg_damage", "500", 0);
sk_bfg_damage_dm = gi.cvar("sk_bfg_damage_dm", "200", 0);
sk_bfg_damage2 = gi.cvar("sk_bfg_damage2", "10", 0);
sk_bfg_damage2_dm = gi.cvar("sk_bfg_damage2_dm", "5", 0);
sk_bfg_rdamage = gi.cvar("sk_bfg_rdamage", "200", 0);
sk_bfg_radius = gi.cvar("sk_bfg_radius", "1000", 0);
sk_bfg_speed = gi.cvar("sk_bfg_speed", "400", 0);
sk_jump_kick_damage = gi.cvar("sk_jump_kick_damage", "10", 0);
sk_ionripper_damage = gi.cvar("sk_ionripper_damage", "50", 0);
sk_ionripper_damage_dm = gi.cvar("sk_ionripper_damage_dm", "30", 0);
sk_ionripper_kick = gi.cvar("sk_ionripper_kick", "60", 0);
sk_ionripper_kick_dm = gi.cvar("sk_ionripper_kick_dm", "40", 0);
sk_ionripper_speed = gi.cvar("sk_ionripper_speed", "500", 0);
sk_ionripper_extra_sounds = gi.cvar("sk_ionripper_extra_sounds", "0", CVAR_ARCHIVE);
sk_phalanx_damage = gi.cvar("sk_phalanx_damage", "70", 0);
sk_phalanx_damage2 = gi.cvar("sk_phalanx_damage2", "10", 0);
sk_phalanx_radius_damage = gi.cvar("sk_phalanx_radius_damage", "120", 0);
sk_phalanx_radius = gi.cvar("sk_phalanx_radius", "120", 0);
sk_phalanx_speed = gi.cvar("sk_phalanx_speed", "725", 0);
sk_trap_life = gi.cvar("sk_trap_life", "30", 0);
sk_trap_health = gi.cvar("sk_trap_health", "30", 0);
sk_etf_rifle_damage = gi.cvar("sk_etf_rifle_damage", "10", 0);
sk_etf_rifle_damage_dm = gi.cvar("sk_etf_rifle_damage_dm", "10", 0);
sk_etf_rifle_radius_damage = gi.cvar("sk_etf_rifle_radius_damage", "20", 0);
sk_etf_rifle_radius = gi.cvar("sk_etf_rifle_radius", "100", 0);
sk_etf_rifle_speed = gi.cvar("sk_etf_rifle_speed", "850", 0);
sk_plasmabeam_damage = gi.cvar("sk_plasmabeam_damage", "15", 0);
sk_plasmabeam_damage_dm = gi.cvar("sk_plasmabeam_damage_dm", "15", 0);
sk_disruptor_damage = gi.cvar("sk_disruptor_damage", "45", 0);
sk_disruptor_damage_dm = gi.cvar("sk_disruptor_damage_dm", "30", 0);
sk_disruptor_speed = gi.cvar("sk_disruptor_speed", "1000", 0);
sk_prox_damage = gi.cvar("sk_prox_damage", "135", 0);
sk_prox_radius = gi.cvar("sk_prox_radius", "192", 0);
sk_prox_speed = gi.cvar("sk_prox_speed", "600", 0);
sk_prox_life = gi.cvar("sk_prox_life", "600", 0);
sk_prox_health = gi.cvar("sk_prox_health", "20", 0);
sk_tesla_damage = gi.cvar("sk_tesla_damage", "3", 0);
sk_tesla_radius = gi.cvar("sk_tesla_radius", "128", 0);
sk_tesla_life = gi.cvar("sk_tesla_life", "30", 0);
sk_tesla_health = gi.cvar("sk_tesla_health", "20", 0);
sk_chainfist_damage = gi.cvar("sk_chainfist_damage", "15", 0);
sk_chainfist_damage_dm = gi.cvar("sk_chainfist_damage_dm", "30", 0);
sk_nuke_delay = gi.cvar("sk_nuke_delay", "4", 0);
sk_nuke_life = gi.cvar("sk_nuke_life", "6", 0);
sk_nuke_radius = gi.cvar("sk_nuke_radius", "512", 0);
sk_nbomb_delay = gi.cvar("sk_nbomb_delay", "4", 0);
sk_nbomb_life = gi.cvar("sk_nbomb_life", "6", 0);
sk_nbomb_radius = gi.cvar("sk_nbomb_radius", "256", 0);
sk_nbomb_damage = gi.cvar("sk_nbomb_damage", "5000", 0);
sk_shockwave_bounces = gi.cvar("sk_shockwave_bounces", "6", 0);
sk_shockwave_damage = gi.cvar("sk_shockwave_damage", "80", 0);
sk_shockwave_damage2 = gi.cvar("sk_shockwave_damage2", "40", 0);
sk_shockwave_rdamage = gi.cvar("sk_shockwave_rdamage", "120", 0);
sk_shockwave_radius = gi.cvar("sk_shockwave_radius", "300", 0);
sk_shockwave_speed = gi.cvar("sk_shockwave_speed", "650", 0);
sk_shockwave_effect_damage = gi.cvar("sk_shockwave_effect_damage", "100", 0);
sk_shockwave_effect_radius = gi.cvar("sk_shockwave_effect_radius", "340", 0);
sk_plasma_rifle_damage_bounce = gi.cvar("sk_plasma_rifle_damage_bounce", "60", 0);
sk_plasma_rifle_damage_bounce_dm = gi.cvar("sk_plasma_rifle_damage_bounce_dm", "39", 0);
sk_plasma_rifle_damage_spread = gi.cvar("sk_plasma_rifle_damage_spread", "43", 0);
sk_plasma_rifle_damage_spread_dm = gi.cvar("sk_plasma_rifle_damage_spread_dm", "28", 0);
sk_plasma_rifle_speed_bounce = gi.cvar("sk_plasma_rifle_speed_bounce", "1200", 0);
sk_plasma_rifle_speed_spread = gi.cvar("sk_plasma_rifle_speed_spread", "1200", 0);
sk_plasma_rifle_radius = gi.cvar("sk_plasma_rifle_radius", "70", 0);
sk_plasma_rifle_life_bounce = gi.cvar("sk_plasma_rifle_life_bounce", "3", 0);
sk_plasma_rifle_life_spread = gi.cvar("sk_plasma_rifle_life_spread", "3", 0);
sk_flaregun_damage = gi.cvar("sk_flaregun_damage", "1", 0);
sk_flaregun_rdamage = gi.cvar("sk_flaregun_rdamage", "1", 0);
sk_flaregun_radius = gi.cvar("sk_flaregun_radius", "1", 0);
sk_flaregun_speed = gi.cvar("sk_flaregun_speed", "600", 0);
sk_flare_life = gi.cvar("sk_flare_life", "12", 0);
sk_tbomb_damage = gi.cvar("sk_tbomb_damage", "150", 0);
sk_tbomb_radius = gi.cvar("sk_tbomb_radius", "384", 0);
sk_tbomb_shrapnel = gi.cvar("sk_tbomb_shrapnel", "5", 0);
sk_tbomb_shrapnel_damage = gi.cvar("sk_tbomb_shrapnel_damage", "15", 0);
sk_tbomb_life = gi.cvar("sk_tbomb_life", "180", 0);
sk_tbomb_health = gi.cvar("sk_tbomb_health", "30", 0);
/*
sk_sniperrifle_damage = gi.cvar("sk_sniperrifle_damage", "250", 0);
sk_sniperrifle_damage_dm = gi.cvar("sk_sniperrifle_damage_dm", "150", 0);
sk_sniperrifle_kick = gi.cvar("sk_sniperrifle_kick", "400", 0);
sk_sniperrifle_kick_dm = gi.cvar("sk_sniperrifle_kick_dm", "300", 0);
sk_soniccannon_damage = gi.cvar("sk_soniccannon_damage", "10", 0);
sk_soniccannon_damage2 = gi.cvar("sk_soniccannon_damage2", "990", 0);
sk_soniccannon_radius = gi.cvar("sk_soniccannon_radius", "500", 0);
sk_soniccannon_maxfiretime = gi.cvar("sk_soniccannon_maxfiretime", "5", 0);
sk_soniccannon_maxcells = gi.cvar("sk_soniccannon_maxcells", "100", 0);
*/
sk_empnuke_radius = gi.cvar("sk_empnuke_radius", "1024", 0);
/*
sk_a2k_damage = gi.cvar("sk_a2k_damage", "2500", 0);
sk_a2k_radius = gi.cvar("sk_a2k_radius", "512", 0);
*/
sk_plasmashield_health = gi.cvar("sk_plasmashield_health", "4000", 0);
sk_plasmashield_life = gi.cvar("sk_plasmashield_life", "10", 0);
// DM start values
sk_dm_start_shells = gi.cvar("sk_dm_start_shells", "0", 0);
sk_dm_start_bullets = gi.cvar("sk_dm_start_bullets", "0", 0);
sk_dm_start_rockets = gi.cvar("sk_dm_start_rockets", "0", 0);
sk_dm_start_homing = gi.cvar("sk_dm_start_homing", "0", 0);
sk_dm_start_grenades = gi.cvar("sk_dm_start_grenades", "0", 0);
sk_dm_start_cells = gi.cvar("sk_dm_start_cells", "0", 0);
sk_dm_start_slugs = gi.cvar("sk_dm_start_slugs", "0", 0);
sk_dm_start_magslugs = gi.cvar("sk_dm_start_magslugs", "0", 0);
sk_dm_start_traps = gi.cvar("sk_dm_start_traps", "0", 0);
sk_dm_start_flechettes = gi.cvar("sk_dm_start_flechettes", "0", 0);
sk_dm_start_rounds = gi.cvar("sk_dm_start_rounds", "0", 0);
sk_dm_start_prox = gi.cvar("sk_dm_start_prox", "0", 0);
sk_dm_start_tesla = gi.cvar("sk_dm_start_tesla", "0", 0);
sk_dm_start_shocksphere = gi.cvar("sk_dm_start_shocksphere", "0", 0);
sk_dm_start_flares = gi.cvar("sk_dm_start_flares", "0", 0);
sk_dm_start_tbombs = gi.cvar("sk_dm_start_tbombs", "0", 0);
sk_dm_start_empnuke = gi.cvar("sk_dm_start_empnuke", "0", 0);
sk_dm_start_plasmashield = gi.cvar("sk_dm_start_plasmashield", "0", 0);
sk_dm_start_shotgun = gi.cvar("sk_dm_start_shotgun", "0", 0);
sk_dm_start_sshotgun = gi.cvar("sk_dm_start_sshotgun", "0", 0);
sk_dm_start_machinegun = gi.cvar("sk_dm_start_machinegun", "0", 0);
sk_dm_start_chaingun = gi.cvar("sk_dm_start_chaingun", "0", 0);
sk_dm_start_grenadelauncher = gi.cvar("sk_dm_start_grenadelauncher", "0", 0);
sk_dm_start_rocketlauncher = gi.cvar("sk_dm_start_rocketlauncher", "0", 0);
sk_dm_start_hyperblaster = gi.cvar("sk_dm_start_hyperblaster", "0", 0);
sk_dm_start_railgun = gi.cvar("sk_dm_start_railgun", "0", 0);
sk_dm_start_bfg = gi.cvar("sk_dm_start_bfg", "0", 0);
sk_dm_start_ionripper = gi.cvar("sk_dm_start_ionripper", "0", 0);
sk_dm_start_phalanx = gi.cvar("sk_dm_start_phalanx", "0", 0);
sk_dm_start_etfrifle = gi.cvar("sk_dm_start_etfrifle", "0", 0);
sk_dm_start_proxlauncher = gi.cvar("sk_dm_start_proxlauncher", "0", 0);
sk_dm_start_plasmabeam = gi.cvar("sk_dm_start_plasmabeam", "0", 0);
sk_dm_start_disruptor = gi.cvar("sk_dm_start_disruptor", "0", 0);
sk_dm_start_chainfist = gi.cvar("sk_dm_start_chainfist", "0", 0);
sk_dm_start_shockwave = gi.cvar("sk_dm_start_shockwave", "0", 0);
sk_dm_start_plasmarifle = gi.cvar("sk_dm_start_plasmarifle", "0", 0);
sk_dm_start_flaregun = gi.cvar("sk_dm_start_flaregun", "0", 0);
// sk_dm_start_sniperrifle = gi.cvar("sk_dm_start_sniperrifle", "0", 0);
// sk_dm_start_soniccannon = gi.cvar("sk_dm_start_soniccannon", "0", 0);
// maximum values
sk_max_health = gi.cvar("sk_max_health", "100", 0);
sk_max_health_dm = gi.cvar("sk_max_health_dm", "120", 0);
sk_max_foodcube_health = gi.cvar("sk_max_foodcube_health", "300", 0);
sk_max_armor_jacket = gi.cvar("sk_max_armor_jacket", "50", 0);
sk_max_armor_combat = gi.cvar("sk_max_armor_combat", "100", 0);
sk_max_armor_body = gi.cvar("sk_max_armor_body", "200", 0);
sk_max_bullets = gi.cvar("sk_max_bullets", "200", 0);
sk_max_shells = gi.cvar("sk_max_shells", "100", 0);
sk_max_rockets = gi.cvar("sk_max_rockets", "50", 0);
sk_max_grenades = gi.cvar("sk_max_grenades", "50", 0);
sk_max_cells = gi.cvar("sk_max_cells", "200", 0);
sk_max_slugs = gi.cvar("sk_max_slugs", "50", 0);
sk_max_magslugs = gi.cvar("sk_max_magslugs", "60", 0);
sk_max_traps = gi.cvar("sk_max_traps", "10", 0);
sk_max_prox = gi.cvar("sk_max_prox", "50", 0);
sk_max_tesla = gi.cvar("sk_max_tesla", "50", 0);
sk_max_flechettes = gi.cvar("sk_max_flechettes", "200", 0);
sk_max_rounds = gi.cvar("sk_max_rounds", "100", 0);
sk_max_shocksphere = gi.cvar("sk_max_shocksphere", "10", 0);
sk_max_fuel = gi.cvar("sk_max_fuel", "1000", 0);
sk_max_flares = gi.cvar("sk_max_flares", "30", 0);
sk_max_tbombs = gi.cvar("sk_max_tbombs", "30", 0);
sk_max_empnuke = gi.cvar("sk_max_empnuke", "50", 0);
sk_max_plasmashield = gi.cvar("sk_max_plasmashield", "20", 0);
// sk_max_a2k = gi.cvar("sk_max_a2k", "1", 0);
// maximum settings if a player gets a bandolier
sk_bando_bullets = gi.cvar("sk_bando_bullets", "250", 0);
sk_bando_shells = gi.cvar("sk_bando_shells", "150", 0);
sk_bando_cells = gi.cvar("sk_bando_cells", "250", 0);
sk_bando_slugs = gi.cvar("sk_bando_slugs", "75", 0);
sk_bando_magslugs = gi.cvar("sk_bando_magslugs", "75", 0);
sk_bando_flechettes = gi.cvar("sk_bando_flechettes", "250", 0);
sk_bando_rounds = gi.cvar("sk_bando_rounds", "150", 0);
sk_bando_fuel = gi.cvar("sk_bando_fuel", "1500", 0);
sk_bando_flares = gi.cvar("sk_bando_flares", "45", 0);
// maximum settings if a player gets a pack
sk_pack_health = gi.cvar("sk_pack_health", "120", 0);
sk_pack_armor = gi.cvar("sk_pack_armor", "250", 0);
sk_pack_bullets = gi.cvar("sk_pack_bullets", "300", 0);
sk_pack_shells = gi.cvar("sk_pack_shells", "200", 0);
sk_pack_rockets = gi.cvar("sk_pack_rockets", "100", 0);
sk_pack_grenades = gi.cvar("sk_pack_grenades", "100", 0);
sk_pack_cells = gi.cvar("sk_pack_cells", "300", 0);
sk_pack_slugs = gi.cvar("sk_pack_slugs", "100", 0);
sk_pack_magslugs = gi.cvar("sk_pack_magslugs", "100", 0);
sk_pack_traps = gi.cvar("sk_pack_traps", "50", 0);
sk_pack_flechettes = gi.cvar("sk_pack_flechettes", "300", 0);
sk_pack_rounds = gi.cvar("sk_pack_rounds", "200", 0);
sk_pack_prox = gi.cvar("sk_pack_prox", "100", 0);
sk_pack_tesla = gi.cvar("sk_pack_tesla", "100", 0);
sk_pack_shocksphere = gi.cvar("sk_pack_shocksphere", "20", 0);
sk_pack_fuel = gi.cvar("sk_pack_fuel", "2000", 0);
sk_pack_flares = gi.cvar("sk_pack_flares", "60", 0);
sk_pack_tbombs = gi.cvar("sk_pack_tbombs", "100", 0);
sk_pack_empnuke = gi.cvar("sk_pack_empnuke", "100", 0);
sk_pack_plasmashield = gi.cvar("sk_pack_plasmashield", "40", 0);
// sk_pack_a2k = gi.cvar("sk_pack_a2k", "1", 0);
sk_pack_give_xatrix_ammo = gi.cvar("sk_pack_give_xatrix_ammo", "0", CVAR_ARCHIVE);
sk_pack_give_rogue_ammo = gi.cvar("sk_pack_give_rogue_ammo", "0", CVAR_ARCHIVE);
sk_pack_give_zaero_ammo = gi.cvar("sk_pack_give_zaero_ammo", "0", CVAR_ARCHIVE);
// pickup values
sk_box_shells = gi.cvar("sk_box_shells", "10", 0);
sk_box_bullets = gi.cvar("sk_box_bullets", "50", 0);
sk_box_grenades = gi.cvar("sk_box_grenades", "5", 0);
sk_box_rockets = gi.cvar("sk_box_rockets", "5", 0);
sk_box_cells = gi.cvar("sk_box_cells", "50", 0);
sk_box_slugs = gi.cvar("sk_box_slugs", "10", 0);
sk_box_magslugs = gi.cvar("sk_box_magslugs", "10", 0);
sk_box_flechettes = gi.cvar("sk_box_flechettes", "50", 0);
sk_box_prox = gi.cvar("sk_box_prox", "5", 0);
sk_box_tesla = gi.cvar("sk_box_tesa", "5", 0);
sk_box_disruptors = gi.cvar("sk_box_disruptors", "15", 0);
sk_box_shocksphere = gi.cvar("sk_box_shocksphere", "1", 0);
sk_box_trap = gi.cvar("sk_box_trap", "1", 0);
sk_box_fuel = gi.cvar("sk_box_fuel", "500", 0);
sk_box_flares = gi.cvar("sk_box_flares", "3", 0);
sk_box_tbombs = gi.cvar("sk_box_tbombs", "3", 0);
sk_box_empnuke = gi.cvar("sk_box_empnuke", "1", 0);
sk_box_plasmashield = gi.cvar("sk_box_plasmashield", "5", 0);
// items/powerups
sk_armor_bonus_value = gi.cvar("sk_armor_bonus_value", "2", 0);
sk_health_bonus_value = gi.cvar("sk_health_bonus_value", "2", 0);
sk_powerup_max = gi.cvar("sk_powerup_max", "2", 0);
sk_doppleganger_max = gi.cvar("sk_doppleganger_max", "1", 0);
sk_nuke_max = gi.cvar("sk_nuke_max", "1", 0);
sk_nbomb_max = gi.cvar("sk_nbomb_max", "4", 0);
sk_defender_time = gi.cvar("sk_defender_time", "60", 0);
sk_defender_blaster_damage = gi.cvar("sk_defender_blaster_damage", "10", 0);
sk_defender_blaster_speed = gi.cvar("sk_defender_blaster_speed", "1000", 0);
sk_vengeance_time = gi.cvar("sk_vengeance_time", "60", 0);
sk_vengeance_health_threshold = gi.cvar("sk_vengeance_health_threshold", "25", 0);
sk_hunter_time = gi.cvar("sk_hunter_time", "60", 0);
sk_doppleganger_time = gi.cvar("sk_doppleganger_time", "30", 0);
sk_quad_time = gi.cvar("sk_quad_time", "30", 0);
sk_inv_time = gi.cvar("sk_inv_time", "30", 0);
sk_breather_time = gi.cvar("sk_breather_time", "30", 0);
sk_enviro_time = gi.cvar("sk_enviro_time", "30", 0);
sk_silencer_shots = gi.cvar("sk_silencer_shots", "30", 0);
sk_ir_time = gi.cvar("sk_ir_time", "30", 0);
sk_double_time = gi.cvar("sk_double_time", "30", 0);
sk_quad_fire_time = gi.cvar("sk_quad_fire_time", "30", 0);
sk_stasis_time = gi.cvar("sk_stasis_time", "30", 0);
sk_visor_time = gi.cvar("sk_visor_time", "30", 0);
// sk_sniper_charge_time = gi.cvar("sk_sniper_charge_time", "3", 0);
// sk_a2k_detonate_time = gi.cvar("sk_a2k_detonate_time", "5", 0);
}