Added configuration files.

This commit is contained in:
richard 2009-04-07 19:16:15 +02:00
parent 20b970881a
commit 68ac28de7b
5 changed files with 594 additions and 2 deletions

View File

@ -0,0 +1,32 @@
// ====================
// Zombie:Reloaded
// File: downloads.txt
// Author: Greyscale
// ====================
//
// Add files you want clients to download here
// ** DEFAULTS **
materials/models/player/zh/Zombie_Classic_sheet.vmt
materials/models/player/zh/corpse1.vmt
materials/models/player/zh/Charple1_sheet.vmt
// hellknight
materials/models/player/ics/hellknight_red/estuche.vmt
materials/models/player/ics/hellknight_red/estuche.vtf
materials/models/player/ics/hellknight_red/hellknight.vmt
materials/models/player/ics/hellknight_red/hellknight.vtf
materials/models/player/ics/hellknight_red/hellknight_normal.vtf
// team win overlays
materials/overlays/zr/zombies_win.vtf
materials/overlays/zr/zombies_win.vmt
materials/overlays/zr/humans_win.vtf
materials/overlays/zr/humans_win.vmt
// zvision
materials/overlays/zr/zvision.vtf
materials/overlays/zr/zvision.vmt
// ** END DEFAULTS **

View File

@ -0,0 +1,17 @@
// ====================
// Zombie:Reloaded
// File: models.txt
// Author: Greyscale
// ====================
//
// Add paths to models here
// They will automatically be downloaded to the client
// ** DEFAULTS
models/player/zh/zh_charple001
models/player/zh/zh_zombie003
models/player/zh/zh_corpse002
models/player/ics/hellknight_red/t_guerilla
// ** END DEFAULTS **

View File

@ -0,0 +1,259 @@
// ============================================================================
//
// ZOMBIE:RELOADED
// Class configurations
//
// Check the class configuration section in the manual for detailed info.
//
// ============================================================================
//
// SHORT DESCRIPTIONS
//
// Attribute: Values: Description:
// ----------------------------------------------------------------------------
// enabled 0/1 Enables or disables a class.
// team number Specifies what type of class it is:
// 0 - Zombies
// 1 - Humans
// 2 - Admins only (incomplete feature!)
// team_default 0/1 Marks the class as the default class in the team.
// 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.
// alpha_spawn number Initial transparency setting.
// alpha_damaged number Transparency when damaged.
// alpha_damage number How much damage to do before switching alpha.
// overlay_path text Overlay displayed at the player.
// nvgs 0/1 Give night vision.
// fov number Field of view value. 90 is default.
// immunity_mode number Sets the immunity mode.
// immunity_amount decimal Sets the immunity value.
// no_fall_damage 0/1 Disables fall damage.
// health number How many health points to give.
// health_regen_interval decimal Sets the regeneration interval. 0 to disable.
// health_regen_amount number How much HP to give per interval.
// health_infect_gain number How much HP to give when the player infects someone. Zombies only.
// kill_bonus number How many points to give per kill. Humans only.
// speed decimal The player speed.
// knockback decimal Force of the knockback when shot at. Zombies only.
// jump_height decimal Extra upwards jump boost.
// jump_distance decimal Extra forwards jump boost.
"classes"
{
// ------------------------------------------
//
// Zombie classes
//
// ------------------------------------------
"classic"
{
// General
"enabled" "1"
"team" "0"
"team_default" "1"
"name" "Classic"
"description" "Need brains!!! Arrrrggghh!"
// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_spawn" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "1"
"fov" "90"
// Effects
"napalm_time" "10.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "1"
"health" "5000"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "800"
"kill_bonus" "2"
"speed" "350"
"knockback" "2.5"
"jump_height" "10.0"
"jump_distance" "0.1"
}
"fast"
{
// General
"enabled" "1"
"team" "0"
"team_default" "0"
"name" "Fast"
"description" "-HP | +Speed | +Jump | +Knockback"
// Model
"model_path" "models/player/zh/zh_corpse002.mdl"
"alpha_spawn" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "1"
"fov" "90"
// Effects
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "1"
"health" "3000"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "500"
"kill_bonus" "2"
"speed" "380"
"knockback" "3.5"
"jump_height" "13.0"
"jump_distance" "0.2"
}
"mutated"
{
// General
"enabled" "1"
"team" "0"
"team_default" "0"
"name" "Mutated"
"description" "+HP | -Speed | +Jump | +Knockback"
// Model
"model_path" "models/player/zh/zh_zombie003.mdl"
"alpha_spawn" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "1"
"fov" "90"
// Effects
"napalm_time" "15.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "1"
"health" "7000"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "1200"
"kill_bonus" "2"
"speed" "275"
"knockback" "3"
"jump_height" "15.0"
"jump_distance" "0.3"
}
"heavy"
{
// General
"enabled" "1"
"team" "0"
"team_default" "0"
"name" "Heavy"
"description" "+HP | -Speed | -Jump | -Knockback"
// Model
"model_path" "models/player/ics/hellknight_red/t_guerilla.mdl"
"alpha_spawn" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/zvision"
"nvgs" "1"
"fov" "90"
// Effects
"napalm_time" "20.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "1"
"health" "7000"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "1200"
"kill_bonus" "2"
"speed" "290"
"knockback" "2"
"jump_height" "0.0"
"jump_distance" "0.0"
}
// ------------------------------------------
//
// Human classes
//
// ------------------------------------------
"ct"
{
// General
"enabled" "1"
"team" "1"
"team_default" "1"
"name" "Counter Terrorist"
"description" "Normal CT"
// Model
"model_path" "models/player/ct_gign.mdl"
"alpha_spawn" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" ""
"nvgs" "1"
"fov" "90"
// Effects
"napalm_time" "0.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "0"
"health" "100"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "2"
"speed" "300"
"knockback" "0"
"jump_height" "0.0"
"jump_distance" "0.0"
}
}

View File

@ -0,0 +1,284 @@
//
//
// Zombie:Reloaded Settings
//
//
// The length of the round, in minutes, after this time is up, if there are any humans left, humans win
mp_roundtime 5
// Allows players to move items with their 'use' key
sv_turbophysics 0
// Multiplier for how easy props are moved (1 default)
phys_pushscale 3
//
// Ammo 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 128 // m3, xm1014
ammo_45acp_max 500 // ump45, mac10, usp
ammo_357sig_max 500 // P228
ammo_57mm_max 500 // p90, fiveseven
//
// Weapon Restrictions
//
zr_restrict "flashbang"
zr_restrict "smokegrenade"
zr_restrict "m249"
zr_restrict "snipers"
zr_restrict "nvgs"
//
// General
//
// Enable zombie gameplay (0: Disable)
zr_enable "1"
// Logging flags. See manual for details.
zr_log "323"
// This will allow the player_team event to be fired on first team join, enable when using mani model menu (0: Disable)
zr_allow_player_team "0"
// Stops players from suiciding
zr_suicide "1"
// Log suicide attempts to admin chat.
zr_suicide_echo "1"
// Respawn as zombie if a zombie was killed by the world.
zr_suicide_world_damage "1"
// Players that join late will be protected for this long, in seconds (0: Disable)
zr_protect "10"
// Enable the mod to set the players cash to zr_cashamount (0: Disabled)
zr_cashfill "1"
// How much money players will have when they spawn when zr_cashfill is 1
zr_cashamount "12000"
// Default value for darkening maps, most dislike this feature (0: Disable)
zr_dark "0"
// The darkness of the map, a being the darkest, z being extremely bright when zr_dark is 1 (n: Default)
zr_dark_level "a"
// The sky the map will have when zr_dark is 1
zr_dark_sky "sky_borealis01"
// How often a zombie emits a sound, in seconds (0: Disable)
zr_emitsounds "50"
// Frequency, in seconds, to display overlay on the client's screen (Never go below 0.1, 0.2 seems safe)
zr_overlay_redisplay "0.2"
// Allow users to disable ZVision with their nightvision key (0: Disable)
zr_zvision_allow_disable "1"
//
// Zombie
//
// Maximum time a player is picked to be zombie after the round starts, in seconds
zr_spawn_max "50"
// Minimum time a player is picked to be zombie after the round starts, in seconds
zr_spawn_min "30"
// For every 'x' number of humans, there will be 1 zombie (0: Always only 1 mother zombie)
zr_mother_zombie_ratio "5"
// First zombie(s) will be teleported back to spawn when infected (0: Disable)
zr_mother_zombie_respawn "0"
// Allow player to be randomly chosen twice in a row to be a mother zombie (0: Disable)
zr_consecutive_infect "0"
//
// Zombie Info (deprecated, will be removed soon)
//
// The default health of a zombie
zr_zombie_health "5000"
// How fast zombies travel (300: Default speed, 600: Double speed)
zr_zombie_speed "350"
// How far the zombie jumps, (0: Regular jump distance)
zr_zombie_jump_distance "0.1"
// How high a zombie jumps (0: Regular jump height)
zr_zombie_jump_height "10.0"
// How far zombies are pushed back when shot. If classes are enabled: This one is a multiplier for class knockback values. (1: Default)
zr_zombie_knockback "1"
// Zombies will be equipped with nightvision. Also used to override class nvgs if non-negative. (-1: No override/Nvgs on, 0: No nvgs, 1: Nvgs on)
zr_zombie_nvgs "-1"
// The field of vision of zombies (90: Default vision)
zr_zombie_fov "110"
// Zombies will regenerate health
zr_zombie_regen "0"
// How much health is regenerated when zr_zombie_regen is 1
zr_zombie_regen_health "1"
// How often, in seconds, a zombie regenerates health when zr_zombie_regen is 1
zr_zombie_regen_interval "5"
// Turns grenades into napalm grenades that light zombies on fire (0: Disable)
zr_zombie_napalm "1"
// How long the zombie burns when zr_napalm is 1
zr_zombie_napalm_time "20"
// Zombies wont be hurt from falling (0: Disable)
zr_zombie_nofalldamage "0"
// How many additional kills are rewarded to the killer of the zombie
zr_zombie_kill_bonus "2"
// How much health a zombie gains when infecting a human (0: Disable)
zr_zombie_infect_health "100"
// Overlay to be shown on all zombies' screen on infection (Leave empty to disable)
zr_zombie_zvision "overlays/zr/zvision"
//
// Infection Effects
//
// An energy splash is emitted when player is infected ( 0: Disable)
zr_infect_esplash "1"
// A fireball is created when a player is infected ( 0: Disable)
zr_infect_fireball "1"
// Sound played from from player on infection (Leave blank to disable)
zr_infect_sound "npc/fast_zombie/fz_scream1.wav"
// A puff of smoke is created when a player is infected (0: Disable)
zr_infect_smoke "1"
// Sparks are emitted when a player is infected (0: Disable)
zr_infect_sparks "1"
//Player's screen is shaken on infection (0: Disable)
zr_infect_shake "1"
// Amplitude of the shake, when zr_infect_shake is 1
zr_infect_shake_amp "15.0"
// Frequency of the shake, when zr_infect_shake is 1
zr_infect_shake_frequency "1.0"
// Duration of the shake, when zr_infect_shake is 1
zr_infect_shake_duration "5.0"
//
// Classes
//
// Enable zombie classes
zr_classes "1"
// A random class is assigned to each player every round (0: Disable)
zr_classes_random "0"
// Classmenu is re-displayed every spawn (0: Disable)
zr_classes_spawn "0"
// The default class for zombies. If empty or incorrectly spelled it will fall back to the first class.
zr_classes_default "classic"
// Save class selection when changing maps. This one will override the default class. Default: 0
zr_classes_save "0"
//
// Ambience
//
// Enable creepy ambience to be played throughout the game (0: Disable)
zr_ambience "1"
// Path to ambient sound file that will be played throughout the game, when zr_ambience is 1
zr_ambience_file "ambient/zr/zr_ambience.mp3"
// The length, in seconds, of the ambient sound file
zr_ambience_length "60.0"
// Volume of ambient sounds when zr_ambience is 1 (0.0: Unhearable, 1.0: Max volume)
zr_ambience_volume "0.6"
//
// Overlays
//
// Will show overlays that tell who the winner of the round was (0: Disable)
zr_overlays "1"
// The overlay shown to tell everyone that humans won when zr_overlays is 1
zr_overlays_human "overlays/zr/humans_win"
// The overlay shown to tell everyone that zombies won when zr_overlays is 1
zr_overlays_zombie "overlays/zr/zombies_win"
//
// Respawn
//
// When player is killed, player will respawn
zr_respawn "0"
// How long to wait after death to respawn, in seconds
zr_respawn_delay "1"
// Which team to respawn player as (Choices: zombie, human)
zr_respawn_team "human"
//
// Commands
//
// Must be in buyzone to access !zmarket, if Market is installed (0: Can be used anywhere)
zr_zmarket_buyzone "1"
// Allow players to spawn if they just joined the game (0: Disable)
zr_zspawn "1"
// Allow players that are stuck together to get unstuck (0: Disable)
zr_zstuck "1"
// Startup delay for the deleporter (0: Disable)
zr_tele_startup_delay "20"
// Cooldown delay before a teleport can be done again (0: Disable)
zr_tele_cooldown "15"
// Teleport delays for humans and zombies (0: Disable)
zr_tele_human_delay "10"
zr_tele_zombie_delay "0"
// Teleport limits for humans and zombies per round (0: Not allowed to teleport, -1: Unlimited)
zr_tele_human_limit "3"
zr_tele_zombie_limit "8"
// Allows clients to enable/disable zombie health display (1: On, 0: Off)
zr_zhp "1"
// The default value of zombie health display to new clients (1: On, 0: Off)
zr_zhp_default "1"

View File

@ -41,7 +41,7 @@ enum ZRSettings
Handle:CVAR_ZOMBIE_ALPHA_SPAWN,
Handle:CVAR_ZOMBIE_ALPHA_DAMAGED,
Handle:CVAR_ZOMBIE_ALPHA_DAMAGE,
Handle:CVAR_ZVISION_REDISPLAY,
Handle:CVAR_OVERLAY_REDISPLAY,
Handle:CVAR_ZVISION_ALLOW_DISABLE,
Handle:CVAR_DARK,
Handle:CVAR_DARK_LEVEL,
@ -129,7 +129,7 @@ CreateCvars()
gCvars[CVAR_ZOMBIE_ALPHA_SPAWN] = CreateConVar("zr_zombie_alpha_spawn", "255", "Initial transparency (0: Invisible. 255: Fully visible)");
gCvars[CVAR_ZOMBIE_ALPHA_DAMAGED] = CreateConVar("zr_zombie_alpha_damaged", "255", "Transparency when damaged (0: Invisible. 255: Fully visible)");
gCvars[CVAR_ZOMBIE_ALPHA_DAMAGE] = CreateConVar("zr_zombie_alpha_damage", "0", "How much damage to do before changing transparency.");
gCvars[CVAR_ZVISION_REDISPLAY] = CreateConVar("zr_zvision_redisplay", "0.2", "Frequency, in seconds, to display zvision on the client's screen (Never go below 0.1, 0.2 seems safe)");
gCvars[CVAR_OVERLAY_REDISPLAY] = CreateConVar("zr_overlay_redisplay", "3", "Frequency, in seconds, to display overlay on the client's screen (Never go below 0.1, 0.2 seems safe)");
gCvars[CVAR_ZVISION_ALLOW_DISABLE] = CreateConVar("zr_zvision_allow_disable", "1", "Allow users to disable ZVision with their nightvision key (0: Disable)");
gCvars[CVAR_DARK] = CreateConVar("zr_dark", "0", "Default value for darkening maps, most dislike this feature (0: Disable)");
gCvars[CVAR_DARK_LEVEL] = CreateConVar("zr_dark_level", "a", "The darkness of the map, a being the darkest, z being extremely bright when zr_dark is 1 (n: Default)");