Commit Graph

50 Commits

Author SHA1 Message Date
Greyscale 3f08d6f72c Added commands zr_zspawn_force, and zr_ztele_force.
Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
2009-06-25 17:03:34 -07:00
Greyscale 1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -07:00
Greyscale 9bc5146b73 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.
2009-06-24 14:45:40 -07:00
Greyscale b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
Greyscale 209c13a3f9 ZMarket now allows you to update your loadout but selecting a weapon from the list, but if you are not able to (out of buyzone, zombie, etc) then the weapon won't actually be given. 2009-06-21 12:43:28 -07:00
Greyscale 65beb9f0d0 Fixed little tab discrepancy in translations file. 2009-06-18 20:45:21 -07:00
Greyscale ed752979b8 Extended ZMarkets feature to include overwriting their current loadout with their current weapons, and viewing their custom loadout.
* Restructured ZMarkets menus.
2009-06-18 20:41:54 -07:00
Greyscale 01653a2636 zr_infect now infects mother zombie if used before it has spawned.
* Fixed a serious bug that could delay the game, the round end checker took dead clients in the count, so 1 dead ct and 9 zombies didn't end the game.
* Small typo fix in anticamp, and got rid of a warning.
2009-06-18 15:53:22 -07:00
richard 9cac025358 Merged heads. Fixed conflicts in zadmin.inc. 2009-06-18 02:15:42 +02:00
richard 6f032b79b8 Improved class system with support for multipliers. Minior fixes, see details.
Made class attribute multipliers.
Made admin menus for adjusting class attribute multipliers.
Made console command for setting class attribute multipliers.
Fixed health regen amount class attribute not validated.
Fixed health regen not stopping after surviving a round as a zombie.
Improved ZRIsClientAdmin to support admin flags (optional).
Changed permission flag on admin commands to match action type. Like only admins with config access should be able to do ZR configuration.
Changed log formatting to match style in SourceMod. Removed "-" and ":". The result will be "... [plugin.smx] [mod] [event] message".
2009-06-18 02:09:55 +02:00
Greyscale 681ad45365 Recoded sayhooks, now uses SM's silent/public chat triggers.
Began making set functions for the commands that will use them later.
Removed all sayhook cvars.
2009-06-17 14:32:46 -07:00
Greyscale 1530d20308 Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired. 2009-06-15 12:43:06 -07:00
ricahrd a58b2eae85 Implemented module filtering. Note: Doesn't work yet, needs debugging.
Implemented looping through modules instead of listing each one.
Fixed translations issue with pre-defined width. zr_log_list now formatts correctly.
Fixed missing newline in the end of translations.inc.
Known bugs: Adding invalid module names works, it should give an error. Cache doesn't get updated either.
2009-06-08 00:13:38 +02:00
richard f30e8f5862 Implemented console command for listing log flags and module filtering.
Known issue: Using Format to set pre defined width translations doesn't work. "%-19t" should left justify and append spaces to make width 19 chars. Works with "s", but not "t". SourceMod bug?
2009-06-07 17:51:37 +02:00
Greyscale edbbc688f3 Fixed config reload command translation, and made it support multiple file aliases to reload. 2009-06-04 21:56:55 -07:00
Greyscale 9fd32bfa3b Finished ZMarket. Includes rebuy and auto-rebuy which can be disabled by cvar (and clients can disable auto-rebuy in-game)
* "stock'd" a couple functions.
2009-06-04 20:58:48 -07:00
Greyscale 0f8206596a Recoded weapon restrictions, and made new way of storing data. (Arrays)
* Removed ZMarket as an external plugin (to be integrated next commit)
* Updated weapon configs, removed weapongroups.txt and moved weapons.txt to root zr config folder.
* Moved offset finding to respective module, made new forward *OnOffsetsFound.
* Updated weapons&hitgroups config file format to match playerclass.txt
* Updated translations.
* Recoded weapon restrict menu, commented out all zadmin options that don't quite work.
* Added weaponammo module (not finished but existent)
* Started zmarket module.
2009-05-28 23:43:15 -07:00
Greyscale e58ff10595 Fixed translations again. 2009-05-19 01:04:19 +02:00
Greyscale 25befe128f Fixed translations. 2009-05-19 00:07:28 +02:00
Greyscale 25b0caa68a Added config reloading support.
Revision also includes:
* Added syntax checking on recoded/new console commands.
* Fixed sv_skyname handle being used when invalid.
* Fixed unhooking error on Weapon_Drop.
* Prefixed some API-style functions with 'stock' to stop compiler
warning.
* Separated downloads into its own file.
2009-05-18 06:26:13 +02:00
Greyscale 055e89d64a Began adding cvar descriptions, recoded logging module, fixed zmenu display bug, removed include line for anticamp until recoded. 2009-05-14 09:32:01 +02:00
Greyscale e051b7bdaa Created overlay module to unify class overlays and round end overlays, removed unused class overlay functions, fixed invalid hookid error, allow client to toggle class overlay if allowed in cvar and made toggle cmds configurable, cleaned up translations file. 2009-05-14 02:28:26 +02:00
Greyscale a6e55b6653 Updated translations, converted the menu to use keyword defines instead of hardcoded names. 2009-05-08 04:57:21 +02:00
Greyscale a89f98cc38 Added a way to quiet any sayhook if it wasn't successfully executed, fixed double-ztele'ing. (Note: Linux can't compile the plugin anymore.) 2009-05-06 05:31:48 +02:00
Greyscale cec31406d0 Added a timelimit to zspawn. 2009-05-06 03:04:55 +02:00
Greyscale 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00
Greyscale a36e0dab5a Recoded ztele, removed old ztele, made conversion function. 2009-05-05 06:56:34 +02:00
richard fcd3a2e48e Added blank lines on the end of all files to get rid of warning from diff tool. 2009-05-01 11:22:45 +02:00
Greyscale 1b8bcc9141 (Updated translations file), added cvar to drop or strip weapons on infect, moved jumpboost to own module (and fixed it), create tools/tools_functions.inc for offset finding and wrapper functions, added SetFailState alternative to LogMessageFormatted, replaced some tabs with spaces, fixed neverending round bug, fixed no zombie bug, recoded menu.inc, fixed classmenu reopening main menu when closing it with 0. 2009-04-29 02:41:53 +02:00
Greyscale 858cfe4079 Recoded damage module, moved around translations, removed old one, removed old classmenu code, moved BalanceTeams to roundend.inc 2009-04-19 19:54:21 +02:00
richard 72c6e9f632 Improved handling of missing classes in class menus. Fixed bots not getting default class config (removed IsFakeClient check). Made new ClassCountTeam function for customized counting. 2009-04-18 02:22:13 +02:00
Greyscale 23242cdc9d Fixed newlins in translations. 2009-04-17 01:48:08 +02:00
Greyscale d5e29b883c Removed debug test commands from previous commit, added ambientsounds module, removed old, and removed some unused translations phrases. 2009-04-17 01:09:52 +02:00
Greyscale 75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +02:00
richard 13ab32a7bb Started on new class menus (new file). Fixed parameter name in class attributes. Made function IsClientAdmin (generic admin). 2009-04-14 23:33:06 +02:00
richard f27a723129 Changed newline style to CRLF in configs. 2009-04-14 20:10:55 +02:00
Greyscale 9031facaec Weapons module completed, added logging, thorough validations, and finished default configs. 2009-04-14 04:58:05 +02:00
Greyscale 44b0e776f2 Added default restrictions, added market options in the menu 2009-04-14 01:29:24 +02:00
Greyscale 0d5b805387 Updated configs (fixed few test typos) and translations 2009-04-13 23:57:24 +02:00
Greyscale 842e4030b9 Made weapon management menu toggle restrictions (easier), and weapon names are now case-insensitive 2009-04-13 20:33:13 +02:00
Greyscale 035d6182a9 Weapons module added, still needs better validations 2009-04-12 08:04:00 +02:00
Greyscale d220eeee77 Added periods after function comments, moved market handler code to markethandler.inc, made restrictions announced to the server 2009-04-10 01:08:51 +02:00
richard 405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00
richard 2a24a8a204 Merged heads 91e3906787a1 and 3598485c84df. 2009-03-31 00:59:50 +02:00
richard 4f8e3e2b20 Made a new class system with base API functions. Will run paralell with the old system so it's possible to do a gradually switch. Most functions are compatible but have different names. 2009-03-31 00:52:44 +02:00
Greyscale 53f1909966 Added more increase/decrease options in knockback(mult) admin menu 2009-03-30 22:40:12 +02:00
Greyscale 965de0e697 New translations to go with last few commits 2009-03-30 00:36:58 +02:00
richard 972136b859 Made a anticamp feature with custom hurt volumes. Reformatted changes.txt. 2009-01-19 22:45:58 +01:00
richard 69799e1c0d Improved the teleporter. Startup delay, cooldown, separate team delays and limits. Admin commands made, but not coded yet. 2008-12-20 20:46:05 +01:00
richard b66baa5dd0 Initial translations check in. 2008-12-19 20:07:27 +01:00