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

@ -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)
// ===========================