mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2025-01-30 20:20:45 +00:00
95295401a4
Added weapon balancing and tech control cvars to 3ZB2 DLL. Added Vampire and Ammogen techs to 3ZB2 game DLL. Fixed func_door_secret movement bug (when built with origin brush) in Zaero DLL. Fixed armor stacking bug in default Lazarus, missionpack, and Zaero DLLs. Removed unused tech cvars in default Lazarus DLL. Changed parsing of TE_BLASTER_COLORED tempent.
319 lines
11 KiB
C
319 lines
11 KiB
C
/* Knightmare's cvar header file */
|
|
/*
|
|
extern cvar_t *mega_gibs; // whether to spawn extra gibs, default to 0
|
|
extern cvar_t *mp_monster_replace; // whether to replace monsters with mission pack modified variants
|
|
extern cvar_t *mp_monster_ammo_replace; // whether to replace monsters' ammo items if above is enabled
|
|
extern cvar_t *kamikaze_flyer_replace; // whether to replace some flyers with kamikaze flyers, probability 0-1
|
|
extern cvar_t *allow_player_use_abandoned_turret; // whether to allow player to use turrets in exisiting maps
|
|
extern cvar_t *turn_rider; // whether to turn player on rotating object
|
|
extern cvar_t *adjust_train_corners; // whether to subtract (1,1,1) from train path corners to fix misalignments
|
|
|
|
extern cvar_t *add_velocity_throw; // whether to add player's velocity to thrown objects
|
|
extern cvar_t *falling_armor_damage; // whether player's armor absorbs damage from falling
|
|
extern cvar_t *player_jump_sounds; // whether to play that STUPID grunting sound when the player jumps
|
|
extern cvar_t *tpp_auto; // whether to automatically go into third-person when pushing a pushable
|
|
extern cvar_t *use_vwep;
|
|
*/
|
|
|
|
// Server-side speed control stuff
|
|
extern cvar_t *player_max_speed;
|
|
extern cvar_t *player_crouch_speed;
|
|
extern cvar_t *player_accel;
|
|
extern cvar_t *player_stopspeed;
|
|
|
|
// weapon balancing
|
|
extern cvar_t *sk_blaster_damage;
|
|
extern cvar_t *sk_blaster_damage_dm;
|
|
extern cvar_t *sk_blaster_speed;
|
|
extern cvar_t *sk_blaster_color;
|
|
|
|
extern cvar_t *sk_shotgun_damage;
|
|
extern cvar_t *sk_shotgun_count;
|
|
extern cvar_t *sk_shotgun_hspread;
|
|
extern cvar_t *sk_shotgun_vspread;
|
|
|
|
extern cvar_t *sk_sshotgun_damage;
|
|
extern cvar_t *sk_sshotgun_count;
|
|
extern cvar_t *sk_sshotgun_hspread;
|
|
extern cvar_t *sk_sshotgun_vspread;
|
|
|
|
extern cvar_t *sk_machinegun_damage;
|
|
extern cvar_t *sk_machinegun_hspread;
|
|
extern cvar_t *sk_machinegun_vspread;
|
|
|
|
extern cvar_t *sk_chaingun_damage;
|
|
extern cvar_t *sk_chaingun_damage_dm;
|
|
extern cvar_t *sk_chaingun_hspread;
|
|
extern cvar_t *sk_chaingun_vspread;
|
|
|
|
extern cvar_t *sk_grenade_damage;
|
|
extern cvar_t *sk_grenade_radius;
|
|
extern cvar_t *sk_grenade_speed;
|
|
|
|
extern cvar_t *sk_hand_grenade_damage;
|
|
extern cvar_t *sk_hand_grenade_radius;
|
|
|
|
extern cvar_t *sk_rocket_damage;
|
|
extern cvar_t *sk_rocket_damage2;
|
|
extern cvar_t *sk_rocket_rdamage;
|
|
extern cvar_t *sk_rocket_radius;
|
|
extern cvar_t *sk_rocket_speed;
|
|
extern cvar_t *sk_rocket_lockon_speed;
|
|
|
|
extern cvar_t *sk_hyperblaster_damage;
|
|
extern cvar_t *sk_hyperblaster_damage_dm;
|
|
extern cvar_t *sk_hyperblaster_speed;
|
|
extern cvar_t *sk_hyperblaster_color;
|
|
|
|
extern cvar_t *sk_railgun_damage;
|
|
extern cvar_t *sk_railgun_damage_dm;
|
|
extern cvar_t *sk_railgun_skin;
|
|
|
|
extern cvar_t *sk_bfg_damage;
|
|
extern cvar_t *sk_bfg_damage_dm;
|
|
extern cvar_t *sk_bfg_damage2;
|
|
extern cvar_t *sk_bfg_damage2_dm;
|
|
extern cvar_t *sk_bfg_rdamage;
|
|
extern cvar_t *sk_bfg_radius;
|
|
extern cvar_t *sk_bfg_speed;
|
|
|
|
//extern cvar_t *sk_jump_kick_damage;
|
|
|
|
extern cvar_t *sk_ionripper_damage;
|
|
extern cvar_t *sk_ionripper_damage_dm;
|
|
extern cvar_t *sk_ionripper_kick;
|
|
extern cvar_t *sk_ionripper_kick_dm;
|
|
extern cvar_t *sk_ionripper_speed;
|
|
extern cvar_t *sk_ionripper_extra_sounds;
|
|
|
|
extern cvar_t *sk_phalanx_damage;
|
|
extern cvar_t *sk_phalanx_damage2;
|
|
extern cvar_t *sk_phalanx_radius_damage;
|
|
extern cvar_t *sk_phalanx_radius;
|
|
extern cvar_t *sk_phalanx_speed;
|
|
|
|
extern cvar_t *sk_trap_life;
|
|
extern cvar_t *sk_trap_health;
|
|
/*
|
|
extern cvar_t *sk_etf_rifle_damage;
|
|
extern cvar_t *sk_etf_rifle_damage_dm;
|
|
extern cvar_t *sk_etf_rifle_radius_damage;
|
|
extern cvar_t *sk_etf_rifle_radius;
|
|
extern cvar_t *sk_etf_rifle_speed;
|
|
|
|
extern cvar_t *sk_plasmabeam_damage;
|
|
extern cvar_t *sk_plasmabeam_damage_dm;
|
|
|
|
extern cvar_t *sk_disruptor_damage;
|
|
extern cvar_t *sk_disruptor_damage_dm;
|
|
extern cvar_t *sk_disruptor_speed;
|
|
|
|
extern cvar_t *sk_prox_damage;
|
|
extern cvar_t *sk_prox_radius;
|
|
extern cvar_t *sk_prox_speed;
|
|
extern cvar_t *sk_prox_life;
|
|
extern cvar_t *sk_prox_health;
|
|
|
|
extern cvar_t *sk_tesla_damage;
|
|
extern cvar_t *sk_tesla_radius;
|
|
extern cvar_t *sk_tesla_life;
|
|
extern cvar_t *sk_tesla_health;
|
|
|
|
extern cvar_t *sk_chainfist_damage;
|
|
extern cvar_t *sk_chainfist_damage_dm;
|
|
|
|
extern cvar_t *sk_nuke_delay;
|
|
extern cvar_t *sk_nuke_life;
|
|
extern cvar_t *sk_nuke_radius;
|
|
|
|
extern cvar_t *sk_nbomb_delay;
|
|
extern cvar_t *sk_nbomb_life;
|
|
extern cvar_t *sk_nbomb_radius;
|
|
extern cvar_t *sk_nbomb_damage;
|
|
|
|
extern cvar_t *sk_shockwave_bounces;
|
|
extern cvar_t *sk_shockwave_damage;
|
|
extern cvar_t *sk_shockwave_damage2;
|
|
extern cvar_t *sk_shockwave_rdamage;
|
|
extern cvar_t *sk_shockwave_speed;
|
|
extern cvar_t *sk_shockwave_radius;
|
|
extern cvar_t *sk_shockwave_effect_damage;
|
|
extern cvar_t *sk_shockwave_effect_radius;
|
|
|
|
extern cvar_t *sk_plasma_rifle_damage_bounce;
|
|
extern cvar_t *sk_plasma_rifle_damage_bounce_dm;
|
|
extern cvar_t *sk_plasma_rifle_damage_spread;
|
|
extern cvar_t *sk_plasma_rifle_damage_spread_dm;
|
|
extern cvar_t *sk_plasma_rifle_speed_bounce;
|
|
extern cvar_t *sk_plasma_rifle_speed_spread;
|
|
extern cvar_t *sk_plasma_rifle_radius;
|
|
extern cvar_t *sk_plasma_rifle_life_bounce;
|
|
extern cvar_t *sk_plasma_rifle_life_spread;
|
|
*/
|
|
|
|
// DM start values
|
|
extern cvar_t *sk_dm_start_shells;
|
|
extern cvar_t *sk_dm_start_bullets;
|
|
extern cvar_t *sk_dm_start_rockets;
|
|
extern cvar_t *sk_dm_start_homing;
|
|
extern cvar_t *sk_dm_start_grenades;
|
|
extern cvar_t *sk_dm_start_cells;
|
|
extern cvar_t *sk_dm_start_slugs;
|
|
extern cvar_t *sk_dm_start_magslugs;
|
|
extern cvar_t *sk_dm_start_traps;
|
|
/*
|
|
extern cvar_t *sk_dm_start_flechettes;
|
|
extern cvar_t *sk_dm_start_rounds;
|
|
extern cvar_t *sk_dm_start_prox;
|
|
extern cvar_t *sk_dm_start_tesla;
|
|
extern cvar_t *sk_dm_start_shocksphere;
|
|
*/
|
|
|
|
extern cvar_t *sk_dm_start_shotgun;
|
|
extern cvar_t *sk_dm_start_sshotgun;
|
|
extern cvar_t *sk_dm_start_machinegun;
|
|
extern cvar_t *sk_dm_start_chaingun;
|
|
extern cvar_t *sk_dm_start_grenadelauncher;
|
|
extern cvar_t *sk_dm_start_rocketlauncher;
|
|
extern cvar_t *sk_dm_start_hyperblaster;
|
|
extern cvar_t *sk_dm_start_railgun;
|
|
extern cvar_t *sk_dm_start_bfg;
|
|
extern cvar_t *sk_dm_start_ionripper;
|
|
extern cvar_t *sk_dm_start_phalanx;
|
|
/*
|
|
extern cvar_t *sk_dm_start_etfrifle;
|
|
extern cvar_t *sk_dm_start_proxlauncher;
|
|
extern cvar_t *sk_dm_start_plasmabeam;
|
|
extern cvar_t *sk_dm_start_disruptor;
|
|
extern cvar_t *sk_dm_start_chainfist;
|
|
extern cvar_t *sk_dm_start_shockwave;
|
|
extern cvar_t *sk_dm_start_plasmarifle;
|
|
*/
|
|
|
|
// maximum values
|
|
extern cvar_t *sk_max_health;
|
|
extern cvar_t *sk_max_health_dm;
|
|
extern cvar_t *sk_max_foodcube_health;
|
|
extern cvar_t *sk_max_armor;
|
|
extern cvar_t *sk_max_armor_jacket;
|
|
extern cvar_t *sk_max_armor_combat;
|
|
extern cvar_t *sk_max_armor_body;
|
|
extern cvar_t *sk_max_bullets;
|
|
extern cvar_t *sk_max_shells;
|
|
extern cvar_t *sk_max_rockets;
|
|
extern cvar_t *sk_max_grenades;
|
|
extern cvar_t *sk_max_cells;
|
|
extern cvar_t *sk_max_slugs;
|
|
extern cvar_t *sk_max_magslugs;
|
|
extern cvar_t *sk_max_traps;
|
|
/*
|
|
extern cvar_t *sk_max_flechettes;
|
|
extern cvar_t *sk_max_rounds;
|
|
extern cvar_t *sk_max_prox;
|
|
extern cvar_t *sk_max_tesla;
|
|
extern cvar_t *sk_max_shocksphere;
|
|
*/
|
|
|
|
// maximum settings if a player gets a bandolier
|
|
extern cvar_t *sk_bando_bullets;
|
|
extern cvar_t *sk_bando_shells;
|
|
extern cvar_t *sk_bando_cells;
|
|
extern cvar_t *sk_bando_slugs;
|
|
extern cvar_t *sk_bando_magslugs;
|
|
//extern cvar_t *sk_bando_flechettes;
|
|
//extern cvar_t *sk_bando_rounds;
|
|
|
|
// maximum settings if a player gets a pack
|
|
extern cvar_t *sk_pack_bullets;
|
|
extern cvar_t *sk_pack_shells;
|
|
extern cvar_t *sk_pack_rockets;
|
|
extern cvar_t *sk_pack_grenades;
|
|
extern cvar_t *sk_pack_cells;
|
|
extern cvar_t *sk_pack_slugs;
|
|
extern cvar_t *sk_pack_magslugs;
|
|
extern cvar_t *sk_pack_traps;
|
|
/*
|
|
extern cvar_t *sk_pack_flechettes;
|
|
extern cvar_t *sk_pack_rounds;
|
|
extern cvar_t *sk_pack_prox;
|
|
extern cvar_t *sk_pack_tesla;
|
|
extern cvar_t *sk_pack_shocksphere;
|
|
*/
|
|
|
|
extern cvar_t *sk_pack_give_xatrix_ammo;
|
|
//extern cvar_t *sk_pack_give_rogue_ammo;
|
|
|
|
// pickup values
|
|
extern cvar_t *sk_box_shells; // value of shells
|
|
extern cvar_t *sk_box_bullets; // value of bullets
|
|
extern cvar_t *sk_box_grenades; // value of grenade pack
|
|
extern cvar_t *sk_box_rockets; // value of rocket pack
|
|
extern cvar_t *sk_box_cells; // value of cell pack
|
|
extern cvar_t *sk_box_slugs; // value of slug box
|
|
extern cvar_t *sk_box_magslugs; // value ofmagslug box
|
|
extern cvar_t *sk_box_trap; // value of trap
|
|
/*
|
|
extern cvar_t *sk_box_flechettes; // value of flechettes
|
|
extern cvar_t *sk_box_prox; // value of prox
|
|
extern cvar_t *sk_box_tesla; // value of tesla pack
|
|
extern cvar_t *sk_box_disruptors; // value of disruptor pack
|
|
extern cvar_t *sk_box_shocksphere; // value of shocksphere
|
|
*/
|
|
|
|
// items/powerups
|
|
extern cvar_t *sk_armor_bonus_value; //value of armor shards
|
|
extern cvar_t *sk_health_bonus_value; //value of stimpacks
|
|
extern cvar_t *sk_powerup_max;
|
|
/*
|
|
extern cvar_t *sk_nuke_max;
|
|
extern cvar_t *sk_nbomb_max;
|
|
extern cvar_t *sk_doppleganger_max;
|
|
extern cvar_t *sk_defender_time;
|
|
extern cvar_t *sk_defender_blaster_damage;
|
|
extern cvar_t *sk_defender_blaster_speed;
|
|
extern cvar_t *sk_vengeance_time;
|
|
extern cvar_t *sk_vengeance_health_threshold;
|
|
extern cvar_t *sk_hunter_time;
|
|
extern cvar_t *sk_doppleganger_time;
|
|
*/
|
|
extern cvar_t *sk_quad_time;
|
|
extern cvar_t *sk_inv_time;
|
|
extern cvar_t *sk_breather_time;
|
|
extern cvar_t *sk_enviro_time;
|
|
extern cvar_t *sk_silencer_shots;
|
|
//extern cvar_t *sk_ir_time;
|
|
//extern cvar_t *sk_double_time;
|
|
extern cvar_t *sk_quad_fire_time;
|
|
|
|
// CTF stuff
|
|
extern cvar_t *use_techs; // enables techs
|
|
extern cvar_t *use_coloredtechs; // enable colored techs, otherwise plain CTF Techs
|
|
extern cvar_t *use_lithiumtechs; // enable lithium style colored runes, otherwise plain CTF Techs
|
|
|
|
extern cvar_t *ctf_blastercolors; // enable different blaster colors for each team
|
|
extern cvar_t *ctf_railcolors; // enable different railtrail colors for each team
|
|
|
|
extern cvar_t *allow_flagdrop;
|
|
extern cvar_t *allow_flagpickup;
|
|
extern cvar_t *allow_techdrop;
|
|
extern cvar_t *allow_techpickup;
|
|
|
|
extern cvar_t *tech_flags; // determines which techs will show in the game, add these:
|
|
// 1 = resist, 2 = strength, 4 = haste, 8 = regen, 16 = vampire, 32 = ammogen
|
|
//extern cvar_t *tech_spawn; // chance a rune will spawn from another item respawning
|
|
//extern cvar_t *tech_perplayer; // sets techs per player that will appear in map
|
|
extern cvar_t *tech_life; // seconds a rune will stay around before disappearing
|
|
//extern cvar_t *tech_min; // sets minimum number of techs to be in the game
|
|
//extern cvar_t *tech_max; // sets maximum number of techs to be in the game
|
|
|
|
//extern cvar_t *tech_haste; // what should I use this for?
|
|
extern cvar_t *tech_resist; // sets how much damage is divided by with resist rune
|
|
extern cvar_t *tech_strength; // sets how much damage is multiplied by with strength rune
|
|
//extern cvar_t *tech_regen; // sets how fast health is gained back
|
|
extern cvar_t *tech_regen_armor;
|
|
extern cvar_t *tech_regen_health_max; // sets maximum health that can be gained from regen rune
|
|
extern cvar_t *tech_regen_armor_max; // sets maximum armor that can be gained from regen rune
|
|
extern cvar_t *tech_regen_armor_always; // sets whether armor should be regened regardless of if currently held
|
|
extern cvar_t *tech_vampire; // sets percentage of health gained from damage inflicted
|
|
extern cvar_t *tech_vampiremax; // sets maximum health that can be gained from vampire rune
|
|
// end CTF stuff
|