Added hitgroup commands, including zr_hitgroup, zr_hitgroup_enable_all, and zr_hitgroup_headshots_only.

Updated hitgroup configs, updated translations
Added logging for hitgroups and configs.
This commit is contained in:
Greyscale
2009-06-24 14:45:40 -07:00
parent 1f6932071d
commit 9bc5146b73
6 changed files with 279 additions and 10 deletions

View File

@ -65,7 +65,7 @@
"knockback" "1.2"
}
"Left Arm"
"LeftArm"
{
// General
"index" "4"
@ -77,7 +77,7 @@
"knockback" "1.0"
}
"Right Arm"
"RightArm"
{
// General
"index" "5"
@ -89,7 +89,7 @@
"knockback" "1.0"
}
"Left Leg"
"LeftLeg"
{
// General
"index" "6"
@ -101,7 +101,7 @@
"knockback" "0.9"
}
"Right Leg"
"RightLeg"
{
// General
"index" "7"

View File

@ -104,9 +104,19 @@
// Commands
"Config command reload syntax"
{
"en" "Syntax: zr_reloadconfig <file alias1> [file alias2] ... - Reloads a config file."
}
"Config command reload related commands"
{
"en" "Related command(s): zr_config_reloadall"
}
"Config command reload syntax aliases"
{
"#format" "{1:s},{2:s},{3:s},{4:s},{5:s}"
"en" "Syntax: zr_reloadconfig <file alias1> [file alias2] ... - Reloads a config file.\n File Aliases:\n * \"{1}\"\n * \"{2}\"\n * \"{3}\"\n * \"{4}\"\n * \"{5}\""
"en" "File Aliases:\n* \"{1}\"\n* \"{2}\"\n* \"{3}\"\n* \"{4}\"\n* \"{5}\""
}
"Config command reload invalid"
@ -716,6 +726,53 @@
"en" "Ammo"
}
// ===========================
// Hitgroups (core)
// ===========================
"Hitgroups command syntax"
{
"en" "Toggles or sets if a zombie's hitgroup can be damaged. Usage: zr_hitgroup <hitgroup alias> [1/0]"
}
"Hitgroups command related commands"
{
"en" "Related command(s): zr_hitgroup_enable_all, zr_hitgroup_headshots_only"
}
"Hitgroups command syntax names"
{
"en" "Hitgroup Names:"
}
"Hitgroups command successful on"
{
"#format" "{1:s}"
"en" "Damage for hitgroup \"{1}\" has been toggled on."
}
"Hitgroups command successful off"
{
"#format" "{1:s}"
"en" "Damage for hitgroup \"{1}\" has been toggled off."
}
"Hitgroups command invalid hitgroup"
{
"#format" "{1:s}"
"en" "\"{1}\" is not a valid hitgroup alias. Type zr_hitgroup to view all aliases."
}
"Hitgroups command enable all successful"
{
"en" "All zombie hitgroups have been enabled for damage."
}
"Hitgroups command headshots only successful"
{
"en" "Zombies may now only be damaged by headshots."
}
// ===========================
// Spawn Protect (module)
// ===========================