Commit Graph

87 Commits

Author SHA1 Message Date
fd8893ae6c GENERAL: Allow napalm scaling, depending on damage. 2018-02-22 15:32:17 +01:00
b286de5ce0 fixed napalm not disappearing and stop napalm from overlaying
removed weaponalpha completly
replaced CBaseEntity::SetAbsVelocity with CBaseEntity::m_vecAbsVelocity
2016-08-08 10:20:23 +02:00
Oleg Tsvetkov
678ad2ef0c Added support for a random !ztele. 2016-06-12 01:23:07 +03:00
d88e748f0e remove trailing whitespaces from sourcecode 2016-02-06 00:47:47 +01:00
Richard Helgeby
1ef060258f Rename ztele functions to use new module prefix naming convention.
The underscore makes it easier to see the real function name because it visualy separates the prefix.
2015-03-29 18:42:04 +02:00
Richard Helgeby
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +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
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
c3d5218d6a Fixed internal player spawn post event fired too early (causing invisible models). 2011-10-30 18:12:27 +01:00
Richard Helgeby
07b4ed9373 Imported fix from dev: 686:b0fc2136d03a - Fixed class attributes applied to early (moved to spawn post event). FOV (and possibly other stuff) was reset on spawn. 2010-04-05 00:54:21 +02:00
Greyscale
c11d1af486 Fixed account module giving money to zombies hurting themself with self-inflicted damage. 2010-01-11 17:43:06 -08:00
Greyscale
904edb2594 Added the core of the modifying alltalk feature. WARNING: Untested (but compiles), the cvars to disable it have no effect, and it may be incomplete depending on some questions I have. 2009-08-21 12:47:32 -07:00
Greyscale
f9c953d58f Fixed numerous potential bugs by moving RoundEndOnClientDeath down to the end of player_death. Checking before caused problems because that function leads to the "humanizing" of all zombies if the last zombie was killed. Stuff like kill_bonus wasn't working right because of this.
Fixed documentation bug, mis-documented kill_bonus.
2009-08-03 15:13:36 -07:00
richard
1f38e9c5ac Fixed bugs in volfeatures. See details.
Fixed some anticamp bugs.
Warning types confirmed working: chat, center, menu (minior bug: the warning text is item no. 2).
Fixed base event handler bugs.
Added validation warnings on anticamp intervals in case of invalid intervals.
Fixed volume states not properly cleaned up when players die or disconnect.
2009-07-17 18:15:44 +02: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
879a31e8d6 Updated antistick to be much more accurate.
Removed eyeangles offset from gamedata file.
Removed old code in commands.inc.
2009-07-01 23:23:12 -07:00
Greyscale
ca820b6b53 Fixed spawn protect firing twice causing the timer to execute twice a second, halving the time. 2009-06-26 23:28:46 -07:00
Greyscale
85c3400a62 Fixed weapons bug for what.. the 4th time? Finally figured out the cause, reproduced, made fix, no more bug.
Zombies no longer pick up weapons after the round.
Fixed bug where disabling restrict/weapons module allowed zombies to get weapons.
2009-06-26 18:33:09 -07:00
Greyscale
735839c19c Moved ZMenu reminder to roundstart module, and fixed bug where it would be printed twice when connecting/spawning. 2009-06-25 17:10:45 -07:00
Greyscale
268ab778cf Updated jump module, removed no longer needed offset. 2009-06-22 16:37:26 -07:00
Greyscale
c24d1a32be Fixed ambience (again, same fix as before) 2009-06-21 23:51:23 -07:00
Greyscale
2e178d2ab6 Finished client cookies (remembers settings, yaay) zsettings still to come.
Changed steamidcache.inc to LF newline format.
Hopefully permanently fixed the weapon rendering problem.
2009-06-21 12:24:24 -07:00
Greyscale
681ad45365 Recoded sayhooks, now uses SM's silent/public chat triggers.
Began making set functions for the commands that will use them later.
Removed all sayhook cvars.
2009-06-17 14:32:46 -07:00
Greyscale
129fb0e60a Added option for random dissolve effect.
Added an option to the account module to give money for damaging a client.
Expanded player hull xy offset by 1 unit.
Fixed anti-stuck not solidifying clients.
Fixed weapon rendering glitches (again)
2009-06-16 11:20:56 -07:00
richard
4b66f688ab New log features, class attribute and minior changes. See details.
Made new log CVAR for overriding filters on error log types: zr_log_error_override. If this is on, errors are always logged, independent of flags and filters. Now all non-error logging can be completely disabled without complex flags or filtering.
Made new class attribute ("has_napalm", ClassGetHasNapalm) that specifies if the class have or can trhow napalm grenades. Implemented usage in napalm module.
Added team id validation in class attributes.
Improved formatting of log messages in cvars module.
Known issue: Commands in config for adding modules to log filter are executed too late. Otherwise the module filter works fine.
2009-06-14 19:10:30 +02: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
Greyscale
d0c25862d8 Added ragdoll module that removes ragdolls normally or with effects.
*Added log entries, fixed typo.
*Fixed some errors caused by disabling the weapons module.
*Replaced strcmp with StrEqual
2009-06-07 21:05:50 -07:00
Greyscale
9fd32bfa3b Finished ZMarket. Includes rebuy and auto-rebuy which can be disabled by cvar (and clients can disable auto-rebuy in-game)
* "stock'd" a couple functions.
2009-06-04 20:58:48 -07:00
richard
1fb33b2b13 Merged heads. Fixed conflicts in cvars.inc and zadmin.inc.
Readded some functions in zadmin.inc, but made them as comments. No reason to remove these so we don't have to remake them again.
2009-05-30 04:42:23 +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
b1f8de9526 Fixed compiling errors 2009-05-20 22:42:45 -07:00
Greyscale
8edf223dc1 Moved more code from event.inc to appropriate modules, fixed kill bonus. 2009-05-20 22:39:24 -07:00
Greyscale
bb05cbccd0 Renamed some commands, updated class command creation, and minor overlay changes. 2009-05-20 22:13:51 -07:00
Greyscale
a1aebe5ca5 Removed all non-forwarding code from events.inc and moved to appropriate modules. 2009-05-20 19:15:55 -07:00
Greyscale
6e464880f4 Removed zombie.inc and created a round start core module. 2009-05-19 21:24:43 -07:00
Greyscale
d466ab8b24 Fixed weaponalpha from changing weapon's rendermode before spawn which caused display problems. 2009-05-18 23:14:18 -07:00
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