Commit Graph

305 Commits

Author SHA1 Message Date
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
andrewborba e1e38fdf2d Merged heads. 2009-06-04 21:00:03 -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
richard 26e5809423 Fixed index out of bounds error in volumetric features. 2009-06-03 01:37:37 +02:00
richard bb2cf9483a Fixed typo. 2009-06-01 23:32:52 +02:00
richard 4ce30ac002 Improved logging system.
Made generic flags for log event types.
Made support for module filtering. Note: Manager for module filtering is not implemented. Don't enable filter when testing, otherwise nothing will be logged.
Updated all log events.
2009-06-01 23:29:26 +02:00
richard db866c6f43 Improved jump boost settings. See details.
Made a CVAR for setting maximum horizontal speed when bunny hop prevention is enabled.
Made a CVAR for switching between reset modes when maximum speed is reached. Either full reset, or setting to max speed allowed.
2009-05-31 00:13:24 +02:00
richard f23bba58c6 Changed jump boost to only change velocity when multiplier is different from 1.0. Quick fix for jumping from boost platforms in maps. 2009-05-30 23:19:32 +02:00
richard 1fb33b2b13 Merged heads. Fixed conflicts in cvars.inc and zadmin.inc.
Readded some functions in zadmin.inc, but made them as comments. No reason to remove these so we don't have to remake them again.
2009-05-30 04:42:23 +02:00
richard 433fd41ede Finished base management for volumetric features. Code compiles, but this feature is not tested so far!
Made CVARs for volumetric features module.
Made trigger delay attribute for volumes, per player. Count down for n seconds after when a player enter. When leaving a volume trigger delay is aborted.
Made parameter parsing functions; paramtools.inc.
Made functions for setting and parsing generic volume attributes.
Updated header in files to volumetric features and paramtools.inc.
Removed unused knockback functions in zadmin.inc.
Made certain class functions into stock functions.
2009-05-30 04:17:01 +02:00
Greyscale 12cd37bef5 Fixed memory leak by config module. 2009-05-29 17:51:30 -07:00
Greyscale 7a7a0291a3 (Quickfix that caused error is fixed here.) 2009-05-28 23:47:04 -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 b1f8de9526 Fixed compiling errors 2009-05-20 22:42:45 -07:00
Greyscale 8edf223dc1 Moved more code from event.inc to appropriate modules, fixed kill bonus. 2009-05-20 22:39:24 -07:00
Greyscale bb05cbccd0 Renamed some commands, updated class command creation, and minor overlay changes. 2009-05-20 22:13:51 -07:00
Greyscale d4449dbab7 Merged heads. (roundstart.inc replaced with LF newlines) 2009-05-20 19:18:46 -07:00