Commit Graph

51 Commits

Author SHA1 Message Date
richard
9b82451d1c Merged heads and fixed conflicts. 2009-05-16 01:43:40 +02:00
richard
fcafe6b428 Started working on volumetric features module.
Added some base functions for working with modules. It's not tested, but it compiles. CVARs are not created yet.
Implemented volume events.
Function VolUpdatePlayerChanges with help from VolGetPlayerStates detects if a player leave or enter a volume between main timer intervals. This solution is not final and might be expensive. Needs to be optimized later!
2009-05-16 01:37:23 +02:00
Greyscale
6d09157719 Did all cvar descriptions, made spawn protect detect when client needs to be protected more accurately, bunnyhop protect put into a cvar. 2009-05-15 07:25:07 +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
3fb7163fb5 Visual effects are all now updated real-time, and defaulted to semi-dark with a borealis sky. 2009-05-06 08:29:34 +02:00
Greyscale
cec31406d0 Added a timelimit to zspawn. 2009-05-06 03:04:55 +02:00
Greyscale
2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00
Greyscale
476eface23 Fixed ambience. 2009-05-05 07:40:15 +02:00
Greyscale
a36e0dab5a Recoded ztele, removed old ztele, made conversion function. 2009-05-05 06:56:34 +02:00
Greyscale
8da309e4f4 Made config module, recoded models.inc and added validations, added a cvar to flag any sayhook as quiet to hide from chat, hooked mp_limitteams, fixed menu handle function, moved file paths into cvars and updated all modules but classes to use it 2009-04-30 07:36:57 +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
abd38ee033 Hooked autobuy/rebuy, added fog to visual effects, create effect functions in visualeffects.inc, fixed ambience, hooked mp_restartgame, mother count is rounded to nearest instead of ceiling, recoded cvars.inc and added logging, recoded event.inc, killed respawn timers on round end. 2009-04-27 04:00:38 +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
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
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
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
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
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
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
75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +02:00
Greyscale
c8989eb544 Moved spawn protect to its own module. 2009-04-15 11:27:03 +02:00
Greyscale
e7ace94625 Added hitgroup API, and logging values for it. Knockback module is done. 2009-04-15 03:24:02 +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
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
richard
a8704cf90c Implemented the new class system. Class menu missing, only default classes working. 2009-04-11 01:56:22 +02:00
richard
405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00
Greyscale
fd3739b53a Added antistick system, removed zstuck, and removed redundant check in zombie.inc 2009-04-05 23:20:35 +02:00
richard
2a24a8a204 Merged heads 91e3906787a1 and 3598485c84df. 2009-03-31 00:59:50 +02:00
richard
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
Greyscale
1dc1f5cefe Improved knockback, renamed ZTele function, changed ZStuck to reset velocity, modified velocity changing function, removed unneeded offset (basevelocity) 2009-03-30 21:40:56 +02:00
Greyscale
a8a4f4fbb0 Changed all CloseHandle's on timers to KillTimer() 2009-03-30 00:35:51 +02:00
Greyscale
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
richard
527bb9be44 Fixed ambience sound not always playing. Improved logging function. 2009-02-15 22:25:17 +01:00
richard
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
richard
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
richard
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
richard
99373d5720 Fixed invalid timer handle errors. Fixed client not in game error in ZR_DebugPrintToConsole. 2008-11-13 17:03:28 +01:00
richard
70ea880d11 zspawn confirmed fixed. Added debug messages on OnClientDisconnect and PlayerDeath. 2008-11-12 16:01:50 +01:00
richard
d8dd91c0f5 Improved RefreshList function. 2008-10-30 22:32:59 +01:00
richard
cf8bd3aead Improved handling of invalid handle errors (maybe not fixed). Added a debug switch and a log function. Added debug messages on zspawn. Fixed zr_spawn not spawning spectactors (when using @all). 2008-10-29 22:02:46 +01:00
mbalex
e615802bb9 Adding all our changes under our main jupiter branch. 2008-10-04 23:02:25 +02:00