Commit Graph

63 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +02:00
c8989eb544 Moved spawn protect to its own module. 2009-04-15 11:27:03 +02:00
e7ace94625 Added hitgroup API, and logging values for it. Knockback module is done. 2009-04-15 03:24:02 +02:00
648a875c14 Removed old class system. Cleared out external API natives and forwards. Commented out old menus. 2009-04-14 23:16:31 +02:00
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
842e4030b9 Made weapon management menu toggle restrictions (easier), and weapon names are now case-insensitive 2009-04-13 20:33:13 +02:00
72760d9ba8 Uncommented zvision boolean variable. 2009-04-13 04:37:17 +02:00
1005aeb0d1 Manually fixed broken commit. Rev 95 (debbeac5df3b) had wrong parent. Redid changes from previous commit. 2009-04-13 04:35:11 +02:00
035d6182a9 Weapons module added, still needs better validations 2009-04-12 08:04:00 +02:00
d063def554 Merged heads. 2009-04-11 01:56:53 +02:00
a8704cf90c Implemented the new class system. Class menu missing, only default classes working. 2009-04-11 01:56:22 +02:00
d220eeee77 Added periods after function comments, moved market handler code to markethandler.inc, made restrictions announced to the server 2009-04-10 01:08:51 +02:00
54931dfc82 Uploaded weapongroups.txt config file 2009-04-09 06:49:15 +02:00
405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00
fd3739b53a Added antistick system, removed zstuck, and removed redundant check in zombie.inc 2009-04-05 23:20:35 +02:00
1cbce4de6d Updated version number. Release marked as in development in the version number. 2009-04-01 19:10:10 +02:00
2a24a8a204 Merged heads 91e3906787a1 and 3598485c84df. 2009-03-31 00:59:50 +02:00
4f8e3e2b20 Made a new class system with base API functions. Will run paralell with the old system so it's possible to do a gradually switch. Most functions are compatible but have different names. 2009-03-31 00:52:44 +02:00
21b29e8bb3 Fixed spawn protection being buggy when admin infects them, added better countdown, changed variable names (consistency), fixed typo in world kill respawn cvar, gKilledByWorld initialized on connect 2009-03-29 23:42:19 +02:00
825cc8c570 Updated version number and documents. 2009-02-21 16:03:18 +01:00
a30d219266 Updated version number, changelog and todo.txt 2009-02-16 14:10:12 +01:00
527bb9be44 Fixed ambience sound not always playing. Improved logging function. 2009-02-15 22:25:17 +01:00
84a4c68596 Minior bug fixes. Added module flags for log system. CVAR changes. Added support for random default class (per player). 2009-02-13 22:57:02 +01:00
b46d886c9c Fixed message typos. Added debug messags when applying models. Added log messages on manual infections and weapon resticitons. 2009-02-02 01:56:53 +01:00
58949a7fe8 Fixed incorrect weapon name used in group restictions. Improved logging system (bit flags instead of on/off). CVAR zr_debug changed to zr_log. Added flag configuration to zombie admin menu. Fixed index out of bounds error in anticamp module. 2009-01-31 20:48:56 +01:00
972136b859 Made a anticamp feature with custom hurt volumes. Reformatted changes.txt. 2009-01-19 22:45:58 +01:00
e3f4b4e400 Fixed teleport location text to display float values instead of decimal values. 2009-01-17 21:54:35 +01:00
72cb683278 Changed hardcoded antistick force into a CVAR. 2009-01-16 15:30:37 +01:00
018e283679 Fixed spectactor admins not able to teleport players to their saved location. 2009-01-14 16:09:27 +01:00
c2760c9de0 Fixed ztick still working when disabled. Code cleanup: Removed old teleport functions and debug messages in zspawn. 2009-01-14 01:04:29 +01:00
525d25efd4 Improved teleporter: Per client custom buffers, reset buffers on round start (CVAR), made teleabort chat trigger. Blocked teleport on dead players. Changed ztele to tele in CVAR names. 2009-01-13 23:24:10 +01:00
0efabe1146 Made zr_suicide_world_damage CVAR for respawning as zombie if a zombie was killed by the world. 2008-12-28 00:50:39 +01:00
ef8a7e04b7 Finished teleporter admin commands; zr_teleport, zr_tele_saveloc, zr_tele_loc, zr_tele_abort. Teleport admin menu made, but not coded. 2008-12-26 23:03:29 +01:00
69799e1c0d Improved the teleporter. Startup delay, cooldown, separate team delays and limits. Admin commands made, but not coded yet. 2008-12-20 20:46:05 +01:00
e878d72b38 Removed unnecessary function call in OnPluginEnd causing the GameRules not available error. 2008-12-16 16:16:38 +01:00
2d4f5d7ae6 Moved GetDefaultClassIndex outside the loop. 2008-12-03 10:48:11 +01:00
65a9ec01aa Made zr_ztele_humans cvar for allowing or disallowing humans to use the teleporter. Defaults to allow. 2008-11-24 21:30:23 +01:00
298dec378c Made a switch for printing suicide attempts to admin chat. Added suicide response text to client chat too, not just the console. 2008-11-18 01:02:23 +01:00
c49fcb2142 Applied game rules not available fix by Grey Echo. 2008-11-16 22:49:35 +01:00
99373d5720 Fixed invalid timer handle errors. Fixed client not in game error in ZR_DebugPrintToConsole. 2008-11-13 17:03:28 +01:00
0d4b57e629 Merged changes with admin menu repository. 2008-11-12 16:05:04 +01:00