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
9676fb9852
General: Convert TABs to spaces.
...
Some files appeared to not follow their own rules, check codestyle.txt
2018-07-30 21:53:45 +02:00
d88e748f0e
remove trailing whitespaces from sourcecode
2016-02-06 00:47:47 +01:00
Richard Helgeby
542d3d345e
Do not use deprecated GetClientAuthString native.
2015-03-21 15:45:29 +01:00
Richard Helgeby
a8f91d748e
Updated copyright year.
2013-01-12 08:47:36 +01:00
Richard Helgeby
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
Richard Helgeby
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
Greyscale
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
Richard Helgeby
1005cd73a4
Fixed admin classes not restored from cookies.
2010-02-04 23:53:58 +01:00
richard
849d8cd81b
Fixed HP regen timer handles not always initialized.
2009-12-03 01:22:20 +01:00
richard
bedb4d4bda
Made cvar for displaying class menu on first spawn. Renamed class menu cvars.
2009-11-20 18:20:45 +01:00
richard
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
richard
bc7a019e8f
Fixed cookie memory leak, changed cookies to only be created once.
2009-10-10 18:26:27 +02:00
richard
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
richard
7555b042b9
Attempt to fix cookie memory leak.
2009-10-08 19:47:23 +02:00
richard
2fc590ab59
Added support for saving class selections in cookies.
2009-08-15 06:32:44 +02:00
richard
d1cbda40c4
Implemented group class attribute. Improved filtering method for class functions.
2009-08-14 22:10:52 +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
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
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
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
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
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
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
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
9af3fec738
Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files.
2009-06-11 20:51:26 -07:00
Greyscale
bb05cbccd0
Renamed some commands, updated class command creation, and minor overlay changes.
2009-05-20 22:13:51 -07:00
Greyscale
055e89d64a
Began adding cvar descriptions, recoded logging module, fixed zmenu display bug, removed include line for anticamp until recoded.
2009-05-14 09:32:01 +02:00
Greyscale
e051b7bdaa
Created overlay module to unify class overlays and round end overlays, removed unused class overlay functions, fixed invalid hookid error, allow client to toggle class overlay if allowed in cvar and made toggle cmds configurable, cleaned up translations file.
2009-05-14 02:28:26 +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
Greyscale
f5f9158941
Uploaded manually merged code.
2009-04-29 02:50:25 +02:00
test
fd129e561b
test
2009-04-29 01:58:41 +02:00
Greyscale
2e623447d5
Made visualambience module, removed an offset thats provided by SM, moved zombie/human checks to infect module (renamed), fixed blast cvar, renamed some functions, removed zombie cvar enable because it didnt work.
2009-04-24 05:02:19 +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
Greyscale
41153af5f4
Reorganized cvars.inc, organized all cvars into module groups (to be updated later), removed unused cvars, made classes and weapons core modules (event forwarding priority), updated spawn protect cvars, added cvars to disable weapons, restrict, and hitgroups
2009-04-20 02:56:26 +02:00
richard
72c6e9f632
Improved handling of missing classes in class menus. Fixed bots not getting default class config (removed IsFakeClient check). Made new ClassCountTeam function for customized counting.
2009-04-18 02:22:13 +02:00
Greyscale
ecc9cf5167
Removed player list functions, recoded mother zombie picking function, removed allow_player_team cvar as models are handled by class system now, prefixed generic plugin functions with ZR, added comments in zombiereloaded.inc, added new function to check if clients are on either or both teams.
2009-04-17 12:16:44 +02:00
richard
b481546dc4
Made class menus and a class data dump console command.
2009-04-15 23:40:45 +02:00
Greyscale
648a875c14
Removed old class system. Cleared out external API natives and forwards. Commented out old menus.
2009-04-14 23:16:31 +02:00
richard
a8704cf90c
Implemented the new class system. Class menu missing, only default classes working.
2009-04-11 01:56:22 +02:00