Commit Graph

81 Commits

Author SHA1 Message Date
BotoX 30a1d4b2ce add random round-robin mother zombie dice rolling on new player join 2020-12-08 21:37:01 +01:00
zaCade 9f157e14e9 General: Clean up some stupid stuff. 2018-08-28 13:25:24 +02:00
zaCade 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
BotoX 0f6b46a962 Add new forward ZR_OnClientMotherZombieEligible for excluding clients from mother zombie eligible list. 2017-08-07 16:31:20 +02:00
BotoX d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
Richard Helgeby 7ce73b4493 Add InfectHasZombieSpawned. 2015-03-22 18:06:40 +01:00
Richard Helgeby b92cd30fa1 Don't set weapon transparency if weapon entity has children (that may not have the m_nRenderMode attribute). 2014-01-16 18:52:40 +01:00
Richard Helgeby a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby 75518ba11a Added knock back boost workaround for CS: GO, with cvar to disable it: zr_classes_csgo_knockback_boost. Side effects: Weaker and flying zombies, can be compensated with lower knock back. 2012-09-20 11:32:00 +02: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 393044aa87 Added game detection. 2012-08-22 12:42:30 +02:00
Richard Helgeby 3776eca312 Added improved random number generator from SMLIB. 2011-06-17 14:44:51 +02:00
Richard Helgeby e7478e0a05 Imported some API-features from zr-dev. Added API test plugins in testsuite. 2010-11-14 15:17:19 +01:00
Richard Helgeby bac3384520 Imported feature from dev: 688:03dd044dcdd3 - Made scream and moan commands for zombies, with spam protection. 2010-04-05 01:36:32 +02:00
richard 3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
Greyscale 7f73e77d08 Fixed a small bug in ZSpawn where if you connect, and then click cancel it thinks you have already played in the game. 2009-07-08 23:22:53 -07: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 1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -07:00
Greyscale e7bdae2ad8 Added forgotten cvar to the config.
ZHP now uses client cookies. (Still need to make a menu and cookie-tize other settings.
2009-06-20 00:15:43 -07: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 1530d20308 Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired. 2009-06-15 12:43:06 -07: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
ricahrd a58b2eae85 Implemented module filtering. Note: Doesn't work yet, needs debugging.
Implemented looping through modules instead of listing each one.
Fixed translations issue with pre-defined width. zr_log_list now formatts correctly.
Fixed missing newline in the end of translations.inc.
Known bugs: Adding invalid module names works, it should give an error. Cache doesn't get updated either.
2009-06-08 00:13:38 +02: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
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
Greyscale 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00
Greyscale a36e0dab5a Recoded ztele, removed old ztele, made conversion function. 2009-05-05 06:56:34 +02:00
Greyscale 0404230fc8 Fixed humans winning on round end when no humans present, removed classes file cvar and made it use the config module, replaced SetFailState with LogMessageFormatted with fail flag, made the base config manipulator function. 2009-05-01 07:09:18 +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
richard 0bf074bf7a Moved teleport variables into teleport.inc. Changed order of death event on infection. Known bug: Teamkill on last zombie kill. 2009-04-21 03:27:12 +02:00
Greyscale 0f15efaa85 Removed old tHandles array, updated antistick a bit (just moved stuff). 2009-04-21 02:03:35 +02:00
Greyscale 7111a8c594 Made a basic weapon API, fixed SetPlayerAlpha function, moved logging to its own file (had to be done now, it was hard to find before), made a separate cvar to disable logging fully. 2009-04-20 05:43:20 +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
Greyscale 858cfe4079 Recoded damage module, moved around translations, removed old one, removed old classmenu code, moved BalanceTeams to roundend.inc 2009-04-19 19:54:21 +02:00
Greyscale c510da249c Removed unused parameter in ZRTeamHasClients. 2009-04-18 01:50:27 +02:00
Greyscale c34e32097d Fixed admin infect bug (I think), made roundend core module, handles all round end events, modified ClassApplyOverlay, removed mp_restartgame hook, recoded PlayerLeft and BalanceTeam functions. And added comments. 2009-04-18 01:44:41 +02:00
Greyscale 879446ac7c Modified ZRIsClientAdmin function for consistency. 2009-04-17 12:20:01 +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
Greyscale d5e29b883c Removed debug test commands from previous commit, added ambientsounds module, removed old, and removed some unused translations phrases. 2009-04-17 01:09:52 +02:00
Greyscale ee9d3a9f39 Added sound effects module, moved all moaning, groaning, and death sounds to zombie sounds sub-module, and made a basic sound API. 2009-04-16 22:21:32 +02:00
Greyscale 5b9f8d364d Removed antistick force cvar, removed more tHandle defines, moved respawn to its own module, moved market menu send function to markethandler.inc, fixed some run-on timers in zhp and spawn protect 2009-04-16 05:30:26 +02:00
Greyscale 872e41e6d2 Recoded IsClientPlayer, renamed to IsClientValid, replaced
GetMaxClients() with maxclients
Ignore diff for zhp.inc and spawnprotect.inc
2009-04-16 03:57:46 +02:00
Greyscale b909ff0739 Merged heads. 2009-04-16 01:18:26 +02:00
Greyscale 75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +02:00
richard d4934a7e9d Improved IsClientPlayer and IsClientAdmin. 2009-04-16 00:10:14 +02:00
Greyscale c8989eb544 Moved spawn protect to its own module. 2009-04-15 11:27:03 +02:00
Greyscale acf5dd4ecd Changed 2 functions for consistency with the rest of the plugin, and general coding format 2009-04-15 03:36:19 +02:00