Commit Graph

96 Commits

Author SHA1 Message Date
richard 5591adfd25 Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity. 2009-08-15 19:48:51 +02:00
richard 855ffc3c0d Updated class filter to support filtering by classes with no groups set. Fixed default class assignment assigning classes players doesn't have access to. 2009-08-15 17:37:30 +02:00
richard 2fc590ab59 Added support for saving class selections in cookies. 2009-08-15 06:32:44 +02:00
richard daadefbaea Added nochange option in class model attribute. 2009-08-15 03:33:09 +02:00
richard 32828a9179 Changed class configs to use yes/no. 2009-08-15 02:58:49 +02:00
ricard 35c3f80ed1 Simplified class menu translations. Small improvement in logic when selected classes. 2009-08-15 01:28:28 +02:00
richard d1cbda40c4 Implemented group class attribute. Improved filtering method for class functions. 2009-08-14 22:10:52 +02:00
richard 6a14b952af Added group class attribute, not implemented. Capitalized all class attribute names. 2009-08-13 18:31:21 +02:00
richard 3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
ricahrd 658a800fea Implemented zr_classes_spawn. Made new instant class change feature on human classes, with time limit. 2009-08-10 19:01:43 +02:00
richard 06771e6d15 New feature for blocking class selection. Changes in translations. See details.
Finished norwegian translation.
Fixed missing quote in english translation file.
Added cvars for blocking players from changing classes.
Minior typo fixes in log module.
Changed TranslationReplyToCommand to use the ReplyToCommand function.
2009-08-09 22:44:28 +02:00
Greyscale b89dac76f4 Fixed translating in class menu. 2009-07-27 17:09:15 -07:00
Greyscale 5ee1395fb1 Restructured every menu to properly translate into the client's language. 2009-07-27 17:02:49 -07: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 d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07:00
Greyscale 637c04aa21 Merged heads. 2009-07-23 15:08:16 -07:00
Greyscale 151b255994 Updated antistick, small performance gain.
Modified any multi-valued cvars to accept "1,2" instead of only "1, 2" and made a cosmetic change to get array sizes.
2009-07-23 15:05:14 -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 0019a52ca8 Fixed selected class not restored after being mother zombie. 2009-07-22 14:06:18 +02: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
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 6173ad0dbf Merged heads. 2009-07-08 02:17:08 +02: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 3ebdde1923 Changed all cookies to Protected access, meaning clients can only read them, not change (via sm_cookie), replaced old usermsg hudhint with SM native. 2009-07-07 15:53:18 -07:00
Greyscale cf429d2e0f No longer checks if cookie exists before creation, because RegClientCookie does that for me. 2009-07-06 22:09:54 -07: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
richard eca1aee679 Updated jump distance limits. 2009-07-07 03:11:27 +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
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
richard b0509ca105 Fixed invalid handle error in class module. 2009-06-23 01:26:02 +02:00
richard 723038052e Fixed potential memory leak in class system. 2009-06-22 18:11:31 +02:00
richard 1cc0fc4dda Fixed original models not restored when using zr_human on a player. 2009-06-22 17:01:26 +02:00
richard a0d8209c6a Minior fixes in class system. 2009-06-22 16:29:13 +02:00
richard 2cb31db94d Fixed logic bug in class flag filtering. 2009-06-22 16:10:40 +02: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 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
richard 424a852d3a Made new admin_only class attribute. 2009-06-19 02:31:05 +02:00
richard 330afd6e86 Cleaned up comments. 2009-06-19 01:28:05 +02: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
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 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