Commit Graph

107 Commits

Author SHA1 Message Date
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
bc7a019e8f Fixed cookie memory leak, changed cookies to only be created once. 2009-10-10 18:26:27 +02:00
92bffae62c Fixed incorrect class index validated when restored from cookies (forgot to substract by one). Specified filter settings on random spawn classes. 2009-10-10 17:37:30 +02:00
7555b042b9 Attempt to fix cookie memory leak. 2009-10-08 19:47:23 +02:00
9906376f28 New features and fixes in volfeatures. See details.
Fixed existing volumes not removed after a map change.
Added class editor feature that can modify certain class attributes on players in a volume.
Fixed typo in class attribute name.
Fixed health regeneration timer not stopping if a player were kicked or timed out.
2009-09-27 23:45:17 +02:00
5591adfd25 Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity. 2009-08-15 19:48:51 +02:00
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
2fc590ab59 Added support for saving class selections in cookies. 2009-08-15 06:32:44 +02:00
daadefbaea Added nochange option in class model attribute. 2009-08-15 03:33:09 +02:00
32828a9179 Changed class configs to use yes/no. 2009-08-15 02:58:49 +02:00
35c3f80ed1 Simplified class menu translations. Small improvement in logic when selected classes. 2009-08-15 01:28:28 +02:00
d1cbda40c4 Implemented group class attribute. Improved filtering method for class functions. 2009-08-14 22:10:52 +02:00
6a14b952af Added group class attribute, not implemented. Capitalized all class attribute names. 2009-08-13 18:31:21 +02:00
3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
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
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
b89dac76f4 Fixed translating in class menu. 2009-07-27 17:09:15 -07:00
5ee1395fb1 Restructured every menu to properly translate into the client's language. 2009-07-27 17:02:49 -07:00
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
d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07:00
637c04aa21 Merged heads. 2009-07-23 15:08:16 -07:00
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
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
0019a52ca8 Fixed selected class not restored after being mother zombie. 2009-07-22 14:06:18 +02:00
62c1ab4cc5 Merged heads. 2009-07-16 10:06:39 +02:00
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
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
6173ad0dbf Merged heads. 2009-07-08 02:17:08 +02:00
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
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
cf429d2e0f No longer checks if cookie exists before creation, because RegClientCookie does that for me. 2009-07-06 22:09:54 -07:00
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
eca1aee679 Updated jump distance limits. 2009-07-07 03:11:27 +02:00
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
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
b0509ca105 Fixed invalid handle error in class module. 2009-06-23 01:26:02 +02:00
723038052e Fixed potential memory leak in class system. 2009-06-22 18:11:31 +02:00
1cc0fc4dda Fixed original models not restored when using zr_human on a player. 2009-06-22 17:01:26 +02:00
a0d8209c6a Minior fixes in class system. 2009-06-22 16:29:13 +02:00
2cb31db94d Fixed logic bug in class flag filtering. 2009-06-22 16:10:40 +02:00
6e0961c73b Merged heads. 2009-06-21 21:10:08 -07:00
b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
4c81c3dfe6 Merged heads and fixed conflicts. 2009-06-22 01:13:19 +02:00
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