Commit Graph

710 Commits

Author SHA1 Message Date
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
557b6d883c Merged heads. 2009-04-21 03:30:35 +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
f35d8cb381 Fixed memory leak, fixed disconnect bug. 2009-04-21 03:10:14 +02:00
Greyscale
0f15efaa85 Removed old tHandles array, updated antistick a bit (just moved stuff). 2009-04-21 02:03:35 +02:00
Greyscale
1ec47ef154 Renamed zr_consecutive_infect (fixed value mixup in the code), and fixed damage flags. 2009-04-21 01:45:49 +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
8ac1361a70 Fixed newlines in weapons and weapongroups.txt config files. 2009-04-20 00:19:05 +02:00
Greyscale
53c60d1c52 Fixed newlines in gamedata file. 2009-04-20 00:16:08 +02:00
Greyscale
d154ed163d Merged heads. 2009-04-19 19:54:57 +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
richard
589baa6869 Made CVAR for class file. Simplified formatting on log messages. 2009-04-19 01:10:30 +02:00
richard
ed66030245 Merged heads. 2009-04-18 02:23:36 +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
c510da249c Removed unused parameter in ZRTeamHasClients. 2009-04-18 01:50:27 +02:00
Greyscale
824ff32cd4 Merged heads. 2009-04-18 01:45:08 +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
1659d24c4a Fixed newlines in hitgroups.txt 2009-04-17 21:06:25 +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
5b172aa93f Added napalm.inc 2009-04-17 10:22:02 +02:00
Greyscale
4d35037e41 Moved napalm into its own module, added cvar to enable the thrown grenade to be lit on fire. 2009-04-17 10:20:04 +02:00
Greyscale
23242cdc9d Fixed newlins in translations. 2009-04-17 01:48:08 +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
39ff709d7f Fixed little typo in comment, and uncommented zclass say command. 2009-04-16 08:08:58 +02:00
Greyscale
98c39fb517 Removed windows newlines in respawn.inc (stupid editor) 2009-04-16 07:35:18 +02:00
Greyscale
23b5b6e187 Fixed respawn. Was respawning on infect. 2009-04-16 06:06:44 +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
f39570205e Added zhp.inc :) 2009-04-16 01:21:09 +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
richard
258c839a27 Merged heads. 2009-04-15 23:41:22 +02:00
richard
b481546dc4 Made class menus and a class data dump console command. 2009-04-15 23:40:45 +02:00
Greycale
37dfea2f8c Removed SetPlayerModel, removed deprecated code in models.txt, added CSWeaponDrop, updated gamedata file. 2009-04-15 21:22:11 +02:00
Greyscale
c8989eb544 Moved spawn protect to its own module. 2009-04-15 11:27:03 +02:00
Greyscale
8d9d45790b Cleaned comments up, added more comments. 2009-04-15 09:42:12 +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
Greyscale
3f74f5abb2 Removed debug message. 2009-04-15 03:28:44 +02:00
Greyscale
8bcf32a0db Merged heads. 2009-04-15 03:24:43 +02:00
Greyscale
e7ace94625 Added hitgroup API, and logging values for it. Knockback module is done. 2009-04-15 03:24:02 +02:00
richard
b2d4b9b4ad Updated compiler and incude files from SourceMod 1.2.0. 2009-04-14 23:40:48 +02:00
richard
2bb28b87c1 Merged heads. 2009-04-14 23:33:50 +02:00
richard
13ab32a7bb Started on new class menus (new file). Fixed parameter name in class attributes. Made function IsClientAdmin (generic admin). 2009-04-14 23:33:06 +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
Greyscale
c4ceebe9ab Merged heads 2009-04-14 22:13:53 +02:00
Greyscale
ddf0515a9e Removed antistick nudge on infect, disabled zadmin menu items that are under construction, added knockback module, and weapon-specific knockback multipliers in weapons.txt 2009-04-14 22:05:20 +02:00