Commit Graph

31 Commits

Author SHA1 Message Date
BotoX eda8971996 Fix sourcepawn bug 2019-11-14 17:20:42 +01:00
BotoX 7265c1922f add "identifier" to playerclasses (kv section name) and use it as default for cookies, zr_class_modify, etc. 2019-11-01 18:51:43 +01:00
BotoX d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
BotoX 6f9558373d Fix issue in @98dfd22c9b21571d76dbf655184fdbceb3f7c312 2016-01-06 03:37:28 +01:00
BotoX 98dfd22c9b added support for flags to playerclasses 2015-10-31 00:22:46 +01:00
Richard Helgeby 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
Richard Helgeby a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby e31d867c57 Updated class commands and class editor. Fixed a few compiler warnings. 2013-01-05 21:10:38 +01:00
Richard Helgeby cd604c2f95 First draft of immunity modes. Compiles, but class commands and class editor is not updated. 2013-01-04 18:24:32 +01:00
Richard Helgeby 8bec3be02d Added basic class API: ZR_IsValidClassIndex, ZR_GetActiveClass, ZR_SelectClientClass, ZR_GetClassByName, ZR_GetClassDisplayName 2012-09-08 22:34:31 +02:00
Richard Helgeby 965f637562 Fixed class speed multiplier not properly applied with prop speed method (bug 199). 2010-08-06 16:19:30 +02:00
richard 6a14b952af Added group class attribute, not implemented. Capitalized all class attribute names. 2009-08-13 18:31:21 +02:00
richard ba04f668be Changes in docs, and minior fixes. See details.
Updated docs with class multipliers.
Other minior changes in docs.
Removed "Zombie:Reloaded" server title suggestion. If people like this plugin its popularity will grow by itself.
Fixed typo in attribute parser.
2009-07-25 00:36:49 +02:00
Greyscale 5497a13dd7 Fixed minor errors, fixed antistick having some false positives, fixed every single Zombie:Reloaded line at top of the file. 2009-07-04 23:49:23 -07: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
richard 424a852d3a Made new admin_only class attribute. 2009-06-19 02:31:05 +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
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
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
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
richard 4117519b39 Added command for modifying or scaling class attributes. Minior fixes, see details.
Fixed error getting default classes on early player connect (bots, source tv, etc.).
Fixed jump boost not resetting height velocity. Changed to add to velocity. Jump from boost platform still doesn't work because the velocity is set too early.
Added check for reserved class names when validating.
Updated class default attributes and jump limits.
2009-05-10 18:49:47 +02:00
Greyscale 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00
richard dca8aa330b Reverted unnecessary changes. Compile still works without errors in this revision, confirmed 2009.05.02 18:00 +2.
Initializing blank strings on function declaration had no effect. Also the parameter can be treated as optional when it's actually not. Reverted to avoid confusion.
2009-05-02 18:08:33 +02:00
Greyscale 2ec263f2a0 Fixed compiler warning (check SM forums for details), fixed compiler crash, seemed to be caused by the string parameter not being defaulted to an empty string, using new String:... had no effect, so I went through and defaulted all String parameters to (not uncluding constant expressions). 2009-05-02 07:09:55 +02:00
richard 257659a683 Implemented human classes and fixed class related bugs.
Moved class initial event forward into OnConfigsExecuted.
Changed class attributes in default configuration file, and made new example human classes: speedy and light.
Implemented feature for applying human and admin classes. Admin mode is still not implemented.
Extended model path class attribute to support "default" for using default CS models.
Fixed event forward order in OnPlayerSpawn event. The class module depends on infection module.
Fixed class menu crash when there are no admin classes. Admin class and mode options are removed from the menu if there are no classes.
Fixed class menu not closing when selecting 0 (exit) if auto-close CVAR is disabled.
New global variable to separate current admin class and the admin class to be used on next spawn: ClassPlayerNextAdminClass.
Moved hard coded valitation values into defines.
Removed log warning if there are no admin classes. They are optional.
Fixed jump boost adding to height and not multiplying (which were 0 on the player velocity).
2009-04-25 14:19:14 +02:00
Greyscale b99d253477 Put infection handling in its own core module, added infect sound to downloads table, updated cvars, made an account module (handles cash), zombies now drop weapons on infect (all of them), removed RemoveAllItems, weapon api can handle it and its unneeded now. 2009-04-22 04:53:19 +02:00
richard b481546dc4 Made class menus and a class data dump console command. 2009-04-15 23:40:45 +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 a8704cf90c Implemented the new class system. Class menu missing, only default classes working. 2009-04-11 01:56:22 +02:00
richard 907788e36a Finished functions for applying class attributes. 2009-04-07 02:13:25 +02:00
richard 405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00