Commit Graph

921 Commits

Author SHA1 Message Date
richard 2cb31db94d Fixed logic bug in class flag filtering. 2009-06-22 16:10:40 +02:00
Greyscale c24d1a32be Fixed ambience (again, same fix as before) 2009-06-21 23:51:23 -07:00
Greyscale 6e0961c73b Merged heads. 2009-06-21 21:10:08 -07:00
Greyscale b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
richard 4c81c3dfe6 Merged heads and fixed conflicts. 2009-06-22 01:13:19 +02:00
richard b80b7aa49d 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.
2009-06-22 01:09:51 +02:00
Greyscale ff7528f09f OMG FINALLY FIXED OVERLAYZ. I almost killed myself over this one. 2009-06-21 14:59:18 -07:00
Greyscale 38b256419d Fixed ZMarket error. 2009-06-21 13:56:48 -07:00
Greyscale a0d2f58c35 Added cvar to disable explosion entirely on infect. 2009-06-21 13:08:02 -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 2e178d2ab6 Finished client cookies (remembers settings, yaay) zsettings still to come.
Changed steamidcache.inc to LF newline format.
Hopefully permanently fixed the weapon rendering problem.
2009-06-21 12:24:24 -07:00
Greyscale 6426bf169c Fixed stupid compiler error in cookies (oops) and recoded serial module to use steamids (serial's weren't workin' out) + the API was very confined, added ability to create SteamID cache's instead of one global cache. ZSpawn uses this new cache system. 2009-06-20 22:24:31 -07:00
Greyscale bb75f1955c Added cookies module file. 2009-06-20 00:21:46 -07:00
Greyscale e7bdae2ad8 Added forgotten cvar to the config.
ZHP now uses client cookies. (Still need to make a menu and cookie-tize other settings.
2009-06-20 00:15:43 -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
richard 424a852d3a Made new admin_only class attribute. 2009-06-19 02:31:05 +02:00
richard 10fd954ede Merged heads. 2009-06-19 01:28:29 +02:00
richard 330afd6e86 Cleaned up comments. 2009-06-19 01:28:05 +02:00
Greyscale e14634257c Merged heads. 2009-06-18 15:55:21 -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 4d48cd65de Made a admin command for refreshing class data on one or more players.
Updated infect module to use new reload function.
Fixed typo in command description.
Known issue: Models isn't always restored on zr_human. If "default" is used, there's practically no model change. Possible solution: Store path in a buffer when the player join a team and select a model. Then read from that buffer when "default" is used.
2009-06-18 03:33:09 +02: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 95c217aad6 Removed cap for cash in account module (allow above 16000 for cashdmg feature.) 2009-06-16 21:52:04 -07:00
Greyscale cfd50d8882 Fixed anti-stuck not re-solidifying (for good) 2009-06-16 15:29:42 -07:00
Greyscale ec231ba66a Fixed ZMarket auto-rebuy and removed debug message. 2009-06-16 11:51:34 -07:00
Greyscale 23cc030dd5 Merged heads. 2009-06-16 11:23:07 -07:00
Greyscale 129fb0e60a Added option for random dissolve effect.
Added an option to the account module to give money for damaging a client.
Expanded player hull xy offset by 1 unit.
Fixed anti-stuck not solidifying clients.
Fixed weapon rendering glitches (again)
2009-06-16 11:20:56 -07:00
richard 29872529b6 Fixed logic mistake in napalm feature. 2009-06-16 08:05:41 +02:00
Greyscale 681eb0e64d Fixed napalm. 2009-06-15 23:02:35 -07:00
Greyscale 615bc3e860 Fixed another error from infect module. 2009-06-15 21:45:50 -07:00
Greyscale f403485b38 Fixed error in zmarket caused by disconnection twice before the client was put in game (rapid map changing), fixed sky not disabling properly. 2009-06-15 20:57:40 -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
Greyscale ec61c654cb Small tweaks to napalm config stuff. 2009-06-14 19:21:06 -07:00
richard 4b66f688ab New log features, class attribute and minior changes. See details.
Made new log CVAR for overriding filters on error log types: zr_log_error_override. If this is on, errors are always logged, independent of flags and filters. Now all non-error logging can be completely disabled without complex flags or filtering.
Made new class attribute ("has_napalm", ClassGetHasNapalm) that specifies if the class have or can trhow napalm grenades. Implemented usage in napalm module.
Added team id validation in class attributes.
Improved formatting of log messages in cvars module.
Known issue: Commands in config for adding modules to log filter are executed too late. Otherwise the module filter works fine.
2009-06-14 19:10:30 +02:00
richard 0a72dc2100 Fixed logic mistake when adding modues to log filter. 2009-06-12 15:54:05 +02:00
richard ae37110c7d Fixed newlines. 2009-06-12 15:52:51 +02:00
Greyscale 2f87a49a43 Formatted all config files to be consistent, and made the base config file.
* Added cvar to enable/disable napalm ignition.
2009-06-11 22:36:22 -07:00
Greyscale 07cb7bd94e Removed zmarket.inc 2009-06-11 20:52:58 -07:00
Greyscale 9af3fec738 Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files. 2009-06-11 20:51:26 -07:00
Greyscale 9e8120cc98 Fixed bug where disabling weapons disabling all knockback. Also fixed potential error when disabling hitgroups. 2009-06-08 16:04:11 -07:00
Greyscale d0c25862d8 Added ragdoll module that removes ragdolls normally or with effects.
*Added log entries, fixed typo.
*Fixed some errors caused by disabling the weapons module.
*Replaced strcmp with StrEqual
2009-06-07 21:05:50 -07:00
richard 208fe7fe28 Merged heads. 2009-06-08 00:15:13 +02: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
Greyscale 18986a0d0a Separated visualeffects into module/submodule format. 2009-06-07 15:07:30 -07: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
richard 4ec7405fa3 Added GPL version 3.0 license (note: with windows newlines). 2009-06-05 08:22: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