Commit Graph

529 Commits

Author SHA1 Message Date
Richard Helgeby
743d17e05a Remove client check when resetting zombie flag on round end.
It doesn't matter whether the client is connected or not, all clients should reset to humans on round start anyways.

This may also fix a bug where mother zombies sometimes are not teleported to spawn, but it's unconfirmed (both the bug and the fix).
2015-02-12 19:01:23 +01:00
jargon-au
7a842771c8 Add new class natives
Adding ZR_GetHumanClass and ZR_GetZombieClass natives to expose external plugins to more than just the clients active class.
2014-10-15 09:25:07 +11:00
jargon-au
0edae8772e Add new class natives
Adding ZR_GetHumanClass & ZR_GetZombieClass natives to expose external plugins to more than just the clients current active class.
2014-10-15 09:22:26 +11:00
Richard Helgeby
8cf314bebf Fix typo in timer handle fix. 2014-09-14 14:05:40 +02:00
Richard Helgeby
8d6819c75c Fix invalid timer handle error when ambient sounds are disabled. 2014-09-14 14:03:53 +02:00
Richard Helgeby
a5d9c66c42 Added missing changes for commit 25d99bc1280c (748). 2014-01-16 18:53:14 +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
4464e46d37 Fixed fog controller not recreated when existing controller is deleted. 2013-12-24 14:32:28 +01:00
Richard Helgeby
4c5363d73e Removed hard coded fog enabled-state. 2013-12-24 13:03:33 +01:00
Richard Helgeby
447240fb8d Revert changeset: 9d97c210c634 2013-11-11 01:03:23 +01:00
Richard Helgeby
1e7b0e6267 Moved team balancing to round start in stead of round end. Fixes issue with maps or plugins inspecting player teams in round end event; being unable to detect which players that are zombies when the round has ended. Thanks to "Neuro Toxin".
Possible side effect: After round end, but before restart, zombies may not be able to pick up weapons to use in the next round. This might be ok, it's just dumb zombies. But it should be possible to fix this in the weapon restrict module if there's a need for it.
2013-10-31 22:36:04 +01:00
Richard Helgeby
d286d29652 Added note about duplicate hitgroup cvars. 2013-08-20 19:37:04 +02:00
Richard Helgeby
c61d29fd63 Fixed respawn module ignoring zr_respawn_team_zombie_world cvar. Improved description of zr_respawn_team_zombie_world. 2013-07-14 12:35:09 +02: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
7e72ede0ca Added support for resource files in Valve's file system. Thanks to Kyle. 2013-04-16 02:43:29 +02:00
Richard Helgeby
884c2b001a Fixed attacker not getting credit for delayed infection. 2013-04-14 02:36:10 +02:00
Richard Helgeby
a3a9748131 Added support for using protocol buffers (currently disabled and untested). 2013-01-23 22:48:31 +01:00
Richard Helgeby
6de9b9de13 Implemented optional support for the ConfigList plugin. It will execute the "zr_post_exec" list right before post map configs if it exists. Example usage in randommode.cfg and swarm.cfg. 2013-01-17 09:36:54 +01:00
Richard Helgeby
6f82da666c Bumped plugin version. 2013-01-12 10:16:14 +01:00
Richard Helgeby
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
Richard Helgeby
5c980b5edc Increased max class HP to 100,000. Added a few game mode configs. 2013-01-11 12:14:43 +01:00
Richard Helgeby
3cdebf55b4 Fixed infection coundown not stopping on early infection (admin command). 2013-01-11 10:19:31 +01:00
Richard Helgeby
7f6b1fb938 Renamed zr_shield command to zshield so it's more chat command friendly. 2013-01-11 10:16:48 +01:00
Richard Helgeby
5b7d1b2ff3 Fixed immunity modes not obeying spawn protection. Implemented "kill" immunity mode. 2013-01-11 10:07:18 +01:00
Richard Helgeby
cf73c6c52e Fixed round draw when round ends in CS: GO. Thanks to Jargon. 2013-01-10 09:09:25 +01:00
Richard Helgeby
d87138977b Implemented infection modes. Compiles, but not tested. 2013-01-10 06:21:30 +01:00
Richard Helgeby
ab6bb6575f Implemented shield immunity mode with zr_shield command. 2013-01-07 01:45:55 +01:00
Richard Helgeby
d0d1de8197 Added validation of immunity amount and cooldown settings. Cleaned up some comments in code and class config. 2013-01-06 00:25:57 +01:00
Richard Helgeby
666ac57836 Implemented delayed infection mode. Fixed immunity_cooldown attribute not loaded properly. 2013-01-05 22:58:43 +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
9096779f53 Disabled more debug messages. 2013-01-05 16:59:53 +01:00
Richard Helgeby
2ef87eaaad Disabled debug messages. 2013-01-05 03:06:28 +01:00
Richard Helgeby
31c727f0a5 Implemented infect immunity mode. Debug messages are still enabled, and some parts aren't updated yet (compiler warnings). 2013-01-05 02:44:46 +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
f2044c8d9b Fixed index out of bounds error in volumetric features (class editor). 2012-11-20 23:59:43 +01:00
Richard Helgeby
23bc0b5dcf Fixed zombie scream command timers not properly destroyed on map change. 2012-10-09 16:21:40 +02:00
Richard Helgeby
c2da0b54ec Fixed hint text sound not precached error in CS: GO. 2012-09-20 11:41:21 +02: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
15a542ba76 Extracted knock back code to a test plugin. 2012-09-08 22:39:08 +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
5ccc735fd8 Fixed invalid client index error when player_death event was sent with bad userid. Should prevent some issues with bugs in other mods. 2012-08-20 22:57:35 +02:00
Richard Helgeby
2c68af4d84 Added test plugin for dumping damage information. 2012-08-20 17:55:47 +02:00
Richard Helgeby
58a1d6dcdf Added test plugin for dumping weapon information. 2012-08-20 01:45:32 +02:00
Richard Helgeby
581825829a Replaced RemoveEdict with kill entity input command. 2012-07-01 21:12:43 +02:00
Richard Helgeby
5340e9be58 Fixed memory leak in infection countdown feature. 2012-05-31 12:43:48 +02:00
Richard Helgeby
16280e0397 Fixed disabled classes still being validated. 2012-05-30 11:35:34 +02:00
Richard Helgeby
88bb7f514c Fixed infect timers not properly destroyed when the map is changed. 2012-05-29 23:40:32 +02:00
Richard Helgeby
1a4951ad0c Small cleanup in infect countdown timers. 2012-05-20 21:08:07 +02:00
Richard Helgeby
235407facb Fixed client not in game error in ZMarket. 2012-02-27 01:49:04 +01:00