Commit Graph

150 Commits

Author SHA1 Message Date
870ef51197 General: Clamp health regen to max instead.
Cause before it wouldnt apply if the health + regen > max health regen.
Now it clamps instead :>
2018-07-29 15:05:33 +02:00
b883273e77 ZombieReloaded: Double MaxHealth for MotherZM.
They spawn with more HP, but don't regen it? Defaq?
2018-06-28 15:39:17 +02:00
6478d995b9 Fix rebuy exploit by keeping current clip.
Add zr_infect_knife_cooldown
Convert includes to new syntax.
2017-07-05 23:00:50 +02:00
b09747346f Various fixes and additions. 2017-05-01 23:59:38 +02:00
266896491c Merge pull request #5 from olegtsvetkov/fileexists-case-sensitive
Don't use Valve file system when calling a FileExists.
2016-06-12 13:54:45 +02:00
25eaa7ade3 Fixed memory leak. 2016-06-12 01:30:11 +03:00
4f460baa9b Don't use Valve file system when calling a FileExists. 2016-06-12 00:31:15 +03:00
d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
6f9558373d Fix issue in @98dfd22c9b21571d76dbf655184fdbceb3f7c312 2016-01-06 03:37:28 +01:00
98dfd22c9b added support for flags to playerclasses 2015-10-31 00:22:46 +01:00
542d3d345e Do not use deprecated GetClientAuthString native. 2015-03-21 15:45:29 +01:00
28e54c36a7 Added support for model with multiple skins (model_skin_index class attribute). Compiles, but not tested. 2013-04-25 09:50:08 +02:00
7e72ede0ca Added support for resource files in Valve's file system. Thanks to Kyle. 2013-04-16 02:43:29 +02:00
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
5c980b5edc Increased max class HP to 100,000. Added a few game mode configs. 2013-01-11 12:14:43 +01:00
d0d1de8197 Added validation of immunity amount and cooldown settings. Cleaned up some comments in code and class config. 2013-01-06 00:25:57 +01:00
666ac57836 Implemented delayed infection mode. Fixed immunity_cooldown attribute not loaded properly. 2013-01-05 22:58:43 +01:00
e31d867c57 Updated class commands and class editor. Fixed a few compiler warnings. 2013-01-05 21:10:38 +01:00
cd604c2f95 First draft of immunity modes. Compiles, but class commands and class editor is not updated. 2013-01-04 18:24:32 +01:00
8bec3be02d Added basic class API: ZR_IsValidClassIndex, ZR_GetActiveClass, ZR_SelectClientClass, ZR_GetClassByName, ZR_GetClassDisplayName 2012-09-08 22:34:31 +02:00
16280e0397 Fixed disabled classes still being validated. 2012-05-30 11:35:34 +02:00
ddf8be76f9 Fixed index out of bounds error when class limit is reached. Bumped class limit to 64 classes. 2011-07-10 13:37:00 +02:00
965f637562 Fixed class speed multiplier not properly applied with prop speed method (bug 199). 2010-08-06 16:19:30 +02:00
3f68eaa2f0 Added validation log messages for individual attributes when loading classes. 2010-08-06 14:24:10 +02:00
e6509e59a7 Added notes about the new speed method. Increased upper speed limit. 2010-07-25 20:44:47 +02:00
eab2333309 Added support for different speed methods, defaulted to prop method now. If you don't want to update class settings, use 'zr_classes_speed_method lmv' for backwards compatibility. 2010-07-04 17:58:27 +02:00
4b693385fc Fixed typo in class menu logic. 2010-07-04 03:56:42 +02:00
f355ee94fc Imported fix from dev: 750:c5cd9d89414a - Fixed class menus being disabled and not checking if the player have access to private classes. 2010-07-03 23:39:34 +02:00
648b62527b Imported fix from dev: 717:fe907635426c - Fixed classes not always restored from cookies. 2010-06-03 21:12:28 +02:00
9ec9a121da Imported fix from dev: 687:5d695a55d80e - Fixed saved classes not validated by team id when restoring from cookies. 2010-04-05 00:57:41 +02:00
07b4ed9373 Imported fix from dev: 686:b0fc2136d03a - Fixed class attributes applied to early (moved to spawn post event). FOV (and possibly other stuff) was reset on spawn. 2010-04-05 00:54:21 +02:00
21c41688d7 Fixed cookies being reset on some occasions and admin-dependant classes are saved properly as well. 2010-02-19 17:41:24 -08:00
b39a684fd8 Imported fix from dev: 646:25e5741ab71e - Moved the IsClientInBuyzone stock to the weapons module from ZMarket, and stop the "Zombies can't use weapons" phrase when using autobuy outside of a buyzone. 2010-02-14 17:03:19 +01:00
1005cd73a4 Fixed admin classes not restored from cookies. 2010-02-04 23:53:58 +01:00
985650a544 Fixed typo in model validation in classes. 2010-01-07 08:56:12 +01:00
614048ad69 Removed redundant check for class menu command. Fixed suicide intercept message not displayed in chat. Text from chat will still appear in console if written from console. 2009-12-26 20:13:24 +01:00
0adc2c597a Fixed class selection not saved in cookies on instant class change. 2009-12-09 14:57:33 +01:00
da3bd3c889 Fixed zr_class_set_multiplier not aborting when there's a invalid attribute specified. 2009-12-07 14:38:23 +01:00
849d8cd81b Fixed HP regen timer handles not always initialized. 2009-12-03 01:22:20 +01:00
e8ead727c2 Small timer code cleanup. 2009-12-02 23:35:20 +01:00
37c9929bd4 Code cleanup in class overlays. 2009-11-30 16:49:11 +01:00
109a923ae3 Updated docs with new model error messages. Minior fixes.
Improved error handling of model list.
Fixed typo in class attribute validator.
Changed cvar defaults: class menu auto-close and overlay default state.
2009-11-28 22:32:44 +01:00
bedb4d4bda Made cvar for displaying class menu on first spawn. Renamed class menu cvars. 2009-11-20 18:20:45 +01:00
66ed43dd48 Changed model config to key/value format and improved model module features. Model access isn't tested yet, but base stuff works. Minior fixes.
Added more random model selection presets: public, admins, hidden and mother zombies.
Simplified ClassFlagFilterMatch logic.
2009-11-17 08:47:39 +01:00
8c1a549239 Reverted to use ZR Tools. Fixed class multipliers beeing reset after map configs.
SDK Hooks works, but is not yet fully compatible with weapon restrict module because of missing Weapon_CanUse event in SDK Hooks. Weapons disappear when zombies walk near them. Otherwise the extension works.
2009-11-11 22:50:19 +01:00
844e23b293 Updated docs. Minior fixes.
Added flag on some timers so we are sure they are killed on map change.
Added stop event on health regeneration timer when applying classes, if the class has no regeneration.
Cvar zr_classes_default_admin is now replaced by admin-only classes. Old cvar is zr_classes_default_admin_mode.
2009-10-31 03:39:00 +01:00
9bd4f90137 Added error log descriptions to manual. Cleaned up some log messages. 2009-10-27 22:53:03 +01:00
3794251cc5 Updated all admin console commands to check if client is privileged (so group authentication works), instead of using RegAdminCmd. Minior fixes.
Changed admin teleport command to log target names.
Cached result of privilege check instead of calling function twice (zadmin menu).
Disabled old debug commands. Do not remove, we need them for testing later.
2009-10-26 23:17:22 +01:00
2389ad875b Updated docs. Minior fixes. Changed class dumping commands to admin commands. 2009-10-10 23:28:54 +02:00
d030fe573d Increased max classes to 48. 2009-10-10 18:54:17 +02:00