mirror of
https://github.com/blendogames/thirtyflightsofloving.git
synced 2024-11-15 08:51:22 +00:00
200 lines
7.5 KiB
C
200 lines
7.5 KiB
C
/*
|
|
===========================================================================
|
|
Copyright (C) 1997-2001 Id Software, Inc.
|
|
Copyright (C) 2000-2002 Knightmare
|
|
|
|
This file is part of Lazarus Quake 2 Mod source code.
|
|
|
|
Lazarus Quake 2 Mod source code is free software; you can redistribute it
|
|
and/or modify it under the terms of the GNU General Public License as
|
|
published by the Free Software Foundation; either version 2 of the License,
|
|
or (at your option) any later version.
|
|
|
|
Lazarus Quake 2 Mod source code is distributed in the hope that it will be
|
|
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with Lazarus Quake 2 Mod source code; if not, write to the Free Software
|
|
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
===========================================================================
|
|
*/
|
|
|
|
/* Knightmare's cvar header file */
|
|
|
|
extern cvar_t *mega_gibs; // whether to spawn extra gibs, default to 0
|
|
extern cvar_t *player_gib_health; // what health level to gib players at
|
|
extern cvar_t *allow_player_use_abandoned_turret; // whether to allow player to use turrets in exisiting maps
|
|
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
|
|
|
|
// 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;
|
|
|
|
extern cvar_t *use_vwep;
|
|
|
|
// 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_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_rail_color;
|
|
|
|
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;
|
|
|
|
// 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_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;
|
|
|
|
// maximum values
|
|
extern cvar_t *sk_max_health;
|
|
extern cvar_t *sk_max_health_dm;
|
|
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_fuel;
|
|
|
|
// 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_fuel;
|
|
|
|
// 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_fuel;
|
|
|
|
// 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_fuel; //value of fuel
|
|
|
|
// 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_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_stasis_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 *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
|