Made new flags class attribute. Replaced by admin_only.

Made new mother_zombie class flag and zr_class_default_mother_zombie CVAR.
Updated zombie config. Added more spacing for better readability.
Fixed incorrect off-values in jump boost.
This commit is contained in:
richard
2009-06-22 01:09:51 +02:00
parent 424a852d3a
commit b80b7aa49d
11 changed files with 484 additions and 215 deletions

View File

@ -12,11 +12,15 @@
// Attribute: Values: Description:
// ----------------------------------------------------------------------------
// enabled 0/1 Enables or disables a class.
// team number Specifies what type of class it is:
// team number Specifies what team the class belongs to:
// 0 - Zombies
// 1 - Humans
// 2 - Admins only (incomplete feature!)
// 2 - Admin mode classes (incomplete feautre!)
// team_default 0/1 Marks the class as the default class in the team.
// flags number Special class flags (bit field). To combine multiple flags
// use a sum of the flag values. Available flags:
// 1 - Admins only
// 2 - Mother zombies only
// name text The class name used in class menu.
// description text The class description used in class menu.
// model_path text Path to model to use. Relative to cstrike folder.
@ -26,7 +30,7 @@
// overlay_path text Overlay displayed at the player.
// nvgs 0/1 Give night vision.
// fov number Field of view value. 90 is default.
// has_napalm 0/1 Allows player to throw napalm grenades. Humans only.
// has_napalm 0/1 Allows player to throw napalm grenades. Humans only.
// napalm_time decimal Napalm burn duration. Zombies only.
// immunity_mode number Sets the immunity mode.
// immunity_amount decimal Sets the immunity value.
@ -54,7 +58,7 @@
"enabled" "1"
"team" "0"
"team_default" "1"
"admin_only" "0"
"flags" "0"
"name" "Classic"
"description" "Need brains!!! Arrrrggghh!"
@ -97,7 +101,7 @@
"enabled" "1"
"team" "0"
"team_default" "0"
"admin_only" "0"
"flags" "0"
"name" "Fast"
"description" "-HP | +Speed | +Jump | +Knockback"
@ -140,7 +144,7 @@
"enabled" "1"
"team" "0"
"team_default" "0"
"admin_only" "0"
"flags" "0"
"name" "Mutated"
"description" "+HP | -Speed | +Jump | +Knockback"
@ -183,7 +187,7 @@
"enabled" "1"
"team" "0"
"team_default" "0"
"admin_only" "0"
"flags" "0"
"name" "Heavy"
"description" "+HP | -Speed | -Jump | -Knockback"
@ -232,7 +236,7 @@
"enabled" "1"
"team" "1"
"team_default" "1"
"admin_only" "0"
"flags" "0"
"name" "Normal Human"
"description" "Default Counter-Strike settings"
@ -275,7 +279,7 @@
"enabled" "1"
"team" "1"
"team_default" "0"
"admin_only" "0"
"flags" "0"
"name" "Speedy"
"description" "Fast human"
@ -318,7 +322,7 @@
"enabled" "1"
"team" "1"
"team_default" "0"
"admin_only" "0"
"flags" "0"
"name" "Light"
"description" "Regular human with improved jump skills"

View File

@ -6,8 +6,11 @@
// Check the plugin configuration section in the manual for detailed info.
//
// ============================================================================
// ----------------------------------------------------------------------------
// Zombie-Related Server Variables
// ----------------------------------------------------------------------------
// Amount of time, in minutes, zombies have to infect all humans.
// Default: "5"
mp_roundtime 5
@ -19,19 +22,24 @@ sv_turbophysics 1
// Multiplier for how easy props are moved ['1' = No push]
// Default: "3"
phys_pushscale 3
// ----------------------------------------------------------------------------
// Ammo Reserve Settings
// ----------------------------------------------------------------------------
ammo_50AE_max 500 // deagle
ammo_762mm_max 300 // scout, ak47, g3sg1, aug
ammo_556mm_box_max 300 // m249
ammo_556mm_max 300 // galil, sg552, famas, m4a1, sg550
ammo_338mag_max 100 // awp
ammo_9mm_max 500 // mp5navy, tmp, glock, elite
ammo_buckshot_max 64 // m3, xm1014
ammo_45acp_max 500 // ump45, mac10, usp
ammo_357sig_max 500 // P228
ammo_57mm_max 500 // p90, fiveseven
ammo_50AE_max 500 // deagle
ammo_762mm_max 300 // scout, ak47, g3sg1, aug
ammo_556mm_box_max 300 // m249
ammo_556mm_max 300 // galil, sg552, famas, m4a1, sg550
ammo_338mag_max 100 // awp
ammo_9mm_max 500 // mp5navy, tmp, glock, elite
ammo_buckshot_max 64 // m3, xm1014
ammo_45acp_max 500 // ump45, mac10, usp
ammo_357sig_max 500 // P228
ammo_57mm_max 500 // p90, fiveseven
// ----------------------------------------------------------------------------
// Notes
// ----------------------------------------------------------------------------
@ -69,9 +77,12 @@ ammo_57mm_max 500 // p90, fiveseven
//
// Value:
// The value of the flag. Usually a referenced cvar.
// ----------------------------------------------------------------------------
// Log (core)
// ----------------------------------------------------------------------------
// Enable logging of events in the plugin. Fatal errors are logged independent on this setting.
// Default: "1"
zr_log "1"
@ -95,9 +106,12 @@ zr_log_print_admins "0"
// Print log events to public chat in addition to the log file.
// Default: "0"
zr_log_print_chat "0"
// ----------------------------------------------------------------------------
// Config (core)
// ----------------------------------------------------------------------------
// Path, relative to root sourcemod directory, to models config file.
// Default: "configs/zr/models.txt"
zr_config_path_models "configs/zr/models.txt"
@ -117,6 +131,8 @@ zr_config_path_weapons "configs/zr/weapons.txt"
// Path, relative to root sourcemod directory, to hitgroups config file.
// Default: "configs/zr/hitgroups.txt"
zr_config_path_hitgroups "configs/zr/hitgroups.txt"
// ----------------------------------------------------------------------------
// Classes (core)
// ----------------------------------------------------------------------------
@ -127,22 +143,26 @@ zr_config_path_hitgroups "configs/zr/hitgroups.txt"
// Default: "0"
zr_classes_spawn "0"
// Player is assigned a random class every spawn. [Override: zr_classes_spawn&zr_classes_default_*]
// Player is assigned a random class every spawn. [Override: zr_classes_spawn & zr_classes_default_*]
// Default: "0"
zr_classes_random "0"
// Admin class assigned to admins on connect. ['random' = Random class | '""' = Class config default]
// Admin class assigned to admins on connect. ["random" = Random admin class | "" = Class config default]
// Default: "random"
zr_classes_default_admin "random"
// Human class assigned to players on connect. ['random' = Random class | '""' = Class config default]
// Human class assigned to players on connect. ["random" = Random human class | "" = Class config default]
// Default: "random"
zr_classes_default_human "random"
// Zombie class assigned to players on connect. ['random' = Random class | '""' = Class config default]
// Zombie class assigned to players on connect. ["random" = Random zombie class | "" = Class config default]
// Default: "random"
zr_classes_default_zombie "random"
// Zombie class assigned to mother zombies. ["motherzombies" = Random mother zombie class | "random" = Random regular zombie class | "disabled" = Don't change class on mother zombies]
// Default: "random"
zr_classes_default_mother_zombie "random"
// Menu
// Automatically close class selection menu.
@ -162,6 +182,8 @@ zr_classes_overlay_togglecmds "nightvision"
// Default class overlay toggle state set on connecting player. [Dependency: zr_classes_overlay_toggle]
// Default: "0"
zr_classes_overlay_default "0"
// ----------------------------------------------------------------------------
// Weapons (core)
// ----------------------------------------------------------------------------
@ -195,12 +217,17 @@ zr_weapons_zmarket_rebuy "1"
// Allow players to automatically rebuy their previous weapons. [Dependency: zr_weapons_zmarket&zr_weapons_zmarket_rebuy]
// Default: "1"
zr_weapons_zmarket_rebuy_auto "1"
// ----------------------------------------------------------------------------
// Hitgroups (core)
// ----------------------------------------------------------------------------
// Enable hitgroups module, disabling this will disable hitgroup-related features. (hitgroup knockback multipliers, hitgroup damage control)
// Default: "1"
zr_hitgroups "1"
// ----------------------------------------------------------------------------
// Infect (core)
// ----------------------------------------------------------------------------
@ -268,6 +295,8 @@ zr_infect_shake_frequency "1.0"
// Duration of shaking effect. [Dependency: zr_infect_shake]
// Default: "5.0"
zr_infect_shake_duration "5.0"
// ----------------------------------------------------------------------------
// Damage (core)
// ----------------------------------------------------------------------------
@ -301,15 +330,21 @@ zr_damage_suicide_human "1"
// List of client commands to intercept as suicide attempts. [Delimiter: ", "]
// Default: "kill, spectate, jointeam"
zr_damage_suicide_cmds "kill, spectate, jointeam"
// ----------------------------------------------------------------------------
// Overlays (core)
// ----------------------------------------------------------------------------
// How often to update overlays on players. [0.0 = Disabled]
// Default: "1.0"
zr_overlays_update_time "1.0"
// ----------------------------------------------------------------------------
// Round End (core)
// ----------------------------------------------------------------------------
// Show specified overlay to players depending on winner when the round ends.
// Default: "1"
zr_roundend_overlay "1"
@ -321,9 +356,12 @@ zr_roundend_overlays_zombie "overlays/zr/zombies_win"
// Overlay, relative to "materials" folder, to display when humans win the round. [Dependency: zr_roundend_overlay]
// Default: "overlays/zr/humans_win"
zr_roundend_overlays_human "overlays/zr/humans_win"
// ----------------------------------------------------------------------------
// Account (module)
// ----------------------------------------------------------------------------
// Reset player's cash each spawn.
// Default: "1"
zr_account_cashfill "1"
@ -335,6 +373,8 @@ zr_account_cashfill_value "12000"
// Attacker receives amount of cash equivalent to the damage that was inflicted.
// Default: "0"
zr_account_cashdmg "0"
// ----------------------------------------------------------------------------
// Visual Effects (module)
// ----------------------------------------------------------------------------
@ -412,6 +452,8 @@ zr_veffects_ragdoll_dissolve "-1"
// Time to wait before removing the ragdoll. [Dependency: zr_veffects_ragdoll_remove]
// Default: "0.5"
zr_veffects_ragdoll_delay "0.5"
// ----------------------------------------------------------------------------
// Sound Effects (module)
// ----------------------------------------------------------------------------
@ -447,9 +489,12 @@ zr_ambientsounds_length "60.0"
// Volume of the ambient sound. [1.0 = Max volume | 0.0001 = Not audible | Dependency: zr_ambientsounds]
// Default: "0.8"
zr_ambientsounds_volume "0.8"
// ----------------------------------------------------------------------------
// Anti-Stick (module)
// ----------------------------------------------------------------------------
// Automatically unstick players when stuck within each others' collision hull.
// Default: "1"
zr_antistick "1"
@ -457,9 +502,12 @@ zr_antistick "1"
// Time between each check for stuck players. [Dependency: zr_antistick]
// Default: "0.5"
zr_antistick_interval "0.5"
// ----------------------------------------------------------------------------
// Spawn Protect (module)
// ----------------------------------------------------------------------------
// Player will be protected from infection when spawning into the game late.
// Default: "1"
zr_spawnprotect "1"
@ -475,9 +523,12 @@ zr_spawnprotect_speed "600.0"
// Alpha of the player during protection. ['255' = Fully visible | '0' = Completely invisible | Dependency: zr_spawnprotect]
// Default: "0"
zr_spawnprotect_alpha "0"
// ----------------------------------------------------------------------------
// Respawn (module)
// ----------------------------------------------------------------------------
// Respawn players after death. [Recommended: (Enable) zr_zspawn*]
// Default: "0"
zr_respawn "0"
@ -493,15 +544,21 @@ zr_respawn_team_zombie "1"
// Respawn player as a zombie if player was killed by the world. [Override: zr_respawn_team_zombie]
// Default: "1"
zr_respawn_team_zombie_world "1"
// ----------------------------------------------------------------------------
// Napalm (module)
// ----------------------------------------------------------------------------
// Ignite grenade in mid-air after player throws it. [Dependency: Human Attribute 'napalm']
// Default: "1"
zr_napalm_ignite "1"
// ----------------------------------------------------------------------------
// Jump Boost (module)
// ----------------------------------------------------------------------------
// Prevent players from using forward jump boost multipliers to bunny hop.
// Default: "1"
zr_jumpboost_bunnyhop_protect "1"
@ -513,9 +570,12 @@ zr_jumpboost_bunnyhop_max "275"
// Specifies whether the speed should be reset, or limited to maximum when the limit is reached.
// Default: "1"
zr_jumpboost_bunnyhop_reset "1"
// ----------------------------------------------------------------------------
// Volumetric Features (module)
// ----------------------------------------------------------------------------
// Enables volumetric features.
// Default: "1"
zr_vol "1"
@ -527,9 +587,12 @@ zr_vol_update_interval "1.0"
// How often to check for delayed events, in seconds. Use lower values for more precise delays.
// Default: "1.0"
zr_vol_trigger_interval "1.0"
// ----------------------------------------------------------------------------
// ZSpawn (module)
// ----------------------------------------------------------------------------
// Allow players to spawn into the game late.
// Default: "1"
zr_zspawn "1"
@ -549,9 +612,12 @@ zr_zspawn_timelimit "1"
// Time from the start of the round to allow ZSpawn. [Dependency: zr_zspawn_timelimit]
// Default: "120.0"
zr_zspawn_timelimit_time "120.0"
// ----------------------------------------------------------------------------
// ZTele (module)
// ----------------------------------------------------------------------------
// Allow zombies to use ZTele.
// Default: "1"
zr_ztele_zombie "1"
@ -587,9 +653,12 @@ zr_ztele_autocancel "1"
// Maximum distance, in feet, player is allowed to travel before teleport is cancelled. [Dependency: zr_ztele_autocancel]
// Default: "20"
zr_ztele_autocancel_distance "20"
// ----------------------------------------------------------------------------
// ZHP (module)
// ----------------------------------------------------------------------------
// Allow player to toggle real HP display as a zombie.
// Default: "1"
zr_zhp "1"