Commit Graph

117 Commits

Author SHA1 Message Date
richard 5be8ef80e8 Merged heads. 2009-07-24 00:44:02 +02:00
richard 60dc215503 Added zr_zspawn_block_rejoin CVAR. Defaulted to 1 (block). 2009-07-24 00:41:39 +02:00
Greyscale 37fe9fae8b Added a shortcut to zmarket loadout in ZCookies, added joinclass to suicide intercept as default. 2009-07-23 15:40:39 -07:00
richard 6a6300e21b Fixes in class system. See details.
Fixed class menus not displaying correct class.
Made ClassSelectedNext array for storing class indexes to be set on next spawn. Useful for other stuff too, like saving settings in cookies.
Code cleanup in class spawn and class infect events.
2009-07-23 23:26:14 +02:00
richard 8fc99720c7 Updated default mother zombie in config. 2009-07-21 22:05:44 +02:00
richard a0164a38ce Fixes in antistick. See details.
Added all collision group defines, in case we need them for some reason.
Separated get and set funtions for collision groups.
Added check for COLLISION_GROUP_PUSHAWAY in AntiStickStartTouch. If this collision group isn't added, the solidify timer won't be created. Bug 134 is confirmed fixed after testing.
Lined up zr_antistick_list_models.
Added zr_antistick_dump_group debug command. Lists collision groups on one or more players.
2009-07-21 19:49:20 +02:00
richard c059020b8c Merged heads. 2009-07-17 18:16:03 +02:00
richard 1f38e9c5ac Fixed bugs in volfeatures. See details.
Fixed some anticamp bugs.
Warning types confirmed working: chat, center, menu (minior bug: the warning text is item no. 2).
Fixed base event handler bugs.
Added validation warnings on anticamp intervals in case of invalid intervals.
Fixed volume states not properly cleaned up when players die or disconnect.
2009-07-17 18:15:44 +02:00
Greyscale 162bd1e107 Merged heads. 2009-07-16 18:36:01 -07:00
Greyscale f403386546 Added a "douse" feature to napalm that makes water put out fires.
Fixed zr_antistick not disabling the feature.
Removed a debug message.
Added napalm to logging module.
2009-07-16 18:34:56 -07:00
richard 62c1ab4cc5 Merged heads. 2009-07-16 10:06:39 +02:00
richard d666fbf7ce More work on volfeatures. See details.
Finished base event handler for volfeatures.
Finished zr_voladd, zr_vol_remove, zr_vol_list and zr_vol_dumpstates console commands.
Removed unused function call in class module.
Fixed minior bugs in parameter parser (paramtools.inc).
Made a debug tools module with console commands for directly testing certain functions.
2009-07-16 10:05:40 +02:00
richard 1e4a44221c Updated docs with changes in models module. 2009-07-15 21:21:15 +02:00
Greyscale 2297c6df7a Added public/non-public models.
Fixed health_infect_gain giving the default value always.
Updated config loader to allow larger-sized array blocks to prevent truncating strings. (Default is 32)
2009-07-09 14:17:50 -07:00
richard d6b5edd289 Fixes in class system. See details.
Fixed admin classes assigned to non-admin when zr_classes_random is 1.
Fixed mother zombie classes not assigned when they should be.
Fixed improved class skills on mother infection also applied to mother zombie classes.
Updated class configuration with new special classes.
2009-07-08 02:16:29 +02:00
Greyscale 324dd1abe7 ZMarket now remembers NVG purchases, and has a custom slot in the loadout menu.
Fixed minor display glitch. (wasn't using the file displayname)
2009-07-06 21:32:34 -07:00
Greyscale 3f5c477e08 Put default value of player hull width in a cvar. 2009-07-02 01:39:57 -07:00
Greyscale 879a31e8d6 Updated antistick to be much more accurate.
Removed eyeangles offset from gamedata file.
Removed old code in commands.inc.
2009-07-01 23:23:12 -07:00
Greyscale 3476438953 Updated gamedata file for ZRTools and updated zrtools include file. 2009-06-29 12:25:24 -07:00
Greyscale 194eb9f2b8 Config options now supports on/off along with yes/no.
Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
2009-06-26 00:00:05 -07:00
Greyscale 069627b620 Added logging for ZSpawn and ZTele
Fixed minor translation typo.
2009-06-25 23:00:57 -07:00
Greyscale 061954fdc2 Changed default for suicide intercept, also added an option to only block mother zombies. 2009-06-25 19:38:03 -07:00
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 dbabc3e346 Simplied BHop protection. Updated configs. 2009-06-23 16:55:58 -07:00
Greyscale d9843c74fa Fixed jump boost :D Changed how bunnyhop prevention works. 2009-06-23 14:28:26 -07:00
Greyscale 268ab778cf Updated jump module, removed no longer needed offset. 2009-06-22 16:37:26 -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 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 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
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 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
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 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 9af3fec738 Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files. 2009-06-11 20:51:26 -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