Commit Graph

510 Commits

Author SHA1 Message Date
Greyscale
07cb7bd94e Removed zmarket.inc 2009-06-11 20:52:58 -07: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
9e8120cc98 Fixed bug where disabling weapons disabling all knockback. Also fixed potential error when disabling hitgroups. 2009-06-08 16:04:11 -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
richard
208fe7fe28 Merged heads. 2009-06-08 00:15:13 +02:00
ricahrd
a58b2eae85 Implemented module filtering. Note: Doesn't work yet, needs debugging.
Implemented looping through modules instead of listing each one.
Fixed translations issue with pre-defined width. zr_log_list now formatts correctly.
Fixed missing newline in the end of translations.inc.
Known bugs: Adding invalid module names works, it should give an error. Cache doesn't get updated either.
2009-06-08 00:13:38 +02:00
Greyscale
18986a0d0a Separated visualeffects into module/submodule format. 2009-06-07 15:07:30 -07:00
richard
f30e8f5862 Implemented console command for listing log flags and module filtering.
Known issue: Using Format to set pre defined width translations doesn't work. "%-19t" should left justify and append spaces to make width 19 chars. Works with "s", but not "t". SourceMod bug?
2009-06-07 17:51:37 +02:00
Greyscale
edbbc688f3 Fixed config reload command translation, and made it support multiple file aliases to reload. 2009-06-04 21:56:55 -07:00
andrewborba
e1e38fdf2d Merged heads. 2009-06-04 21:00:03 -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
26e5809423 Fixed index out of bounds error in volumetric features. 2009-06-03 01:37:37 +02:00
richard
bb2cf9483a Fixed typo. 2009-06-01 23:32:52 +02:00
richard
4ce30ac002 Improved logging system.
Made generic flags for log event types.
Made support for module filtering. Note: Manager for module filtering is not implemented. Don't enable filter when testing, otherwise nothing will be logged.
Updated all log events.
2009-06-01 23:29:26 +02:00
richard
db866c6f43 Improved jump boost settings. See details.
Made a CVAR for setting maximum horizontal speed when bunny hop prevention is enabled.
Made a CVAR for switching between reset modes when maximum speed is reached. Either full reset, or setting to max speed allowed.
2009-05-31 00:13:24 +02:00
richard
f23bba58c6 Changed jump boost to only change velocity when multiplier is different from 1.0. Quick fix for jumping from boost platforms in maps. 2009-05-30 23:19:32 +02: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
12cd37bef5 Fixed memory leak by config module. 2009-05-29 17:51:30 -07:00
Greyscale
7a7a0291a3 (Quickfix that caused error is fixed here.) 2009-05-28 23:47:04 -07:00
Greyscale
0f8206596a Recoded weapon restrictions, and made new way of storing data. (Arrays)
* Removed ZMarket as an external plugin (to be integrated next commit)
* Updated weapon configs, removed weapongroups.txt and moved weapons.txt to root zr config folder.
* Moved offset finding to respective module, made new forward *OnOffsetsFound.
* Updated weapons&hitgroups config file format to match playerclass.txt
* Updated translations.
* Recoded weapon restrict menu, commented out all zadmin options that don't quite work.
* Added weaponammo module (not finished but existent)
* Started zmarket module.
2009-05-28 23:43:15 -07: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
d4449dbab7 Merged heads. (roundstart.inc replaced with LF newlines) 2009-05-20 19:18:46 -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
richard
eeba5b8e7b Fixed newlines in round start module. 2009-05-20 15:28:44 +02: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
Greyscale
ae2746ac2f Reworded a comment. (Testing TortoiseHG) 2009-05-18 15:58:42 -07:00
Greyscale
f126d181aa Merged heads. 2009-05-18 06:26:37 +02:00
Greyscale
25b0caa68a Added config reloading support.
Revision also includes:
* Added syntax checking on recoded/new console commands.
* Fixed sv_skyname handle being used when invalid.
* Fixed unhooking error on Weapon_Drop.
* Prefixed some API-style functions with 'stock' to stop compiler
warning.
* Separated downloads into its own file.
2009-05-18 06:26:13 +02: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
363be11591 Added actual functionality for the zr_infect_mzombie_respawn cvar. 2009-05-15 08:14:14 +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
8f9a66e366 Added bunnyhop protection. 2009-05-12 04:56:03 +02:00
Greyscale
8aa9b7dcc7 Added zspawn team override cvar. 2009-05-12 04:30:16 +02:00
Greyscale
77fd4b00a8 Created serial number api, put client serials in adt array instead of 64-slot array. 2009-05-12 04:12:13 +02:00
Greyscale
0a9d1d9035 Merged heads. 2009-05-12 03:14:13 +02:00
Greyscale
14c5acf0bf Fixed typo in playerclasses.inc with logging defines, add updated weaponalpha module to track weapon alphas. 2009-05-12 03:12:05 +02:00
Greyscale
f46b774492 Updated gamedata file for zrtools and removed hacks.inc 2009-05-11 07:12:13 +02:00
Greyscale
67ec1f8433 Merged heads. 2009-05-11 04:47:56 +02:00
Greyscale
7c643c5d66 Integrated zrtools and removed hacks extension dependency (don't forget zrtools.inc), and I'll make a repos for the source code and binary. No linux binary yet. Gunna be a pain in the ass. 2009-05-11 04:47:09 +02:00
richard
b32219fec5 Merged heads. 2009-05-10 18:50:28 +02:00
richard
4117519b39 Added command for modifying or scaling class attributes. Minior fixes, see details.
Fixed error getting default classes on early player connect (bots, source tv, etc.).
Fixed jump boost not resetting height velocity. Changed to add to velocity. Jump from boost platform still doesn't work because the velocity is set too early.
Added check for reserved class names when validating.
Updated class default attributes and jump limits.
2009-05-10 18:49:47 +02:00
richard
e145e8cd0e Fixed logic mistake. 2009-05-10 01:32:53 +02:00
richard
969aa19b85 Added support for post map configs (with workaround for SourceMod bug 3803). Log cleanup. Minior fixes.
Removed log check in fatal errors. Those must always log.
Stored LogCheckFlag result in a boolean where log is executed more than once.
Fixed invalid translation string used in menu title.
Fixed index out of bounds in zspawn when a client disconnects.
2009-05-09 17:45:19 +02:00
Greyscale
e9c611b476 ToolsSetClientAlpha now has option to change weapon alpha too. weaponsalpha module needed to track weapon alphas on pickup and drop. Removed alpha offsets, as it's already supposed by SM natives. 2009-05-08 07:37:07 +02:00
Greyscale
a6e55b6653 Updated translations, converted the menu to use keyword defines instead of hardcoded names. 2009-05-08 04:57:21 +02:00
Greyscale
f0a975b431 Fixed bug in ambience that disabled sound being added to download table if logging was disabled. 2009-05-07 03:06:08 +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
e1b1a21873 Put spawn protect attributes into cvars. 2009-05-06 07:13:05 +02:00
Greyscale
a89f98cc38 Added a way to quiet any sayhook if it wasn't successfully executed, fixed double-ztele'ing. (Note: Linux can't compile the plugin anymore.) 2009-05-06 05:31:48 +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
richard
dca8aa330b Reverted unnecessary changes. Compile still works without errors in this revision, confirmed 2009.05.02 18:00 +2.
Initializing blank strings on function declaration had no effect. Also the parameter can be treated as optional when it's actually not. Reverted to avoid confusion.
2009-05-02 18:08:33 +02:00
Greyscale
460b6ddf6d Merged heads. 2009-05-02 07:11:05 +02:00
Greyscale
2ec263f2a0 Fixed compiler warning (check SM forums for details), fixed compiler crash, seemed to be caused by the string parameter not being defaulted to an empty string, using new String:... had no effect, so I went through and defaulted all String parameters to (not uncluding constant expressions). 2009-05-02 07:09:55 +02:00
richard
3cc2087dce Changed limits on class attributes.
Allowing negative numbers on jump boost. Limiting to +-500 because that's already really fast (distance to move on next server
frame).
2009-05-01 11:34:07 +02:00
richard
fcd3a2e48e Added blank lines on the end of all files to get rid of warning from diff tool. 2009-05-01 11:22:45 +02:00
Greyscale
0404230fc8 Fixed humans winning on round end when no humans present, removed classes file cvar and made it use the config module, replaced SetFailState with LogMessageFormatted with fail flag, made the base config manipulator function. 2009-05-01 07:09:18 +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
20b63d9bc5 Removed offsets.inc 2009-04-29 03:07:51 +02:00
Greyscale
f5f9158941 Uploaded manually merged code. 2009-04-29 02:50:25 +02:00
test
5556218f7e test 2009-04-29 02:34:49 +02:00
test
fd129e561b test 2009-04-29 01:58:41 +02:00
richard
fa133857a9 Fixed spawn protection not restoring class attributes. 2009-04-27 20:54:06 +02:00
richard
55876fe2ff Fixed LogMessageFormatted ignoring unspecified clients (-1) when ignore console is enabled. Simplified logic.
When ignoring console the match must be explicit (client 0), not just any non-valid player. Unspecified clients (-1) are used on core events, but they were wrongfully ignored. Clients are only specified on player events or console events.
Simplified logig: Instead of checking what something isn't, check what it's required to be. Inverted logic may be confusing.
2009-04-27 20:08:59 +02:00
richard
c9724a09c7 Merged heads, with manual fixes to not revert newer changes. 2009-04-27 19:51:29 +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
richard
257659a683 Implemented human classes and fixed class related bugs.
Moved class initial event forward into OnConfigsExecuted.
Changed class attributes in default configuration file, and made new example human classes: speedy and light.
Implemented feature for applying human and admin classes. Admin mode is still not implemented.
Extended model path class attribute to support "default" for using default CS models.
Fixed event forward order in OnPlayerSpawn event. The class module depends on infection module.
Fixed class menu crash when there are no admin classes. Admin class and mode options are removed from the menu if there are no classes.
Fixed class menu not closing when selecting 0 (exit) if auto-close CVAR is disabled.
New global variable to separate current admin class and the admin class to be used on next spawn: ClassPlayerNextAdminClass.
Moved hard coded valitation values into defines.
Removed log warning if there are no admin classes. They are optional.
Fixed jump boost adding to height and not multiplying (which were 0 on the player velocity).
2009-04-25 14:19:14 +02:00
Greyscale
65411df2c0 Added visualeffects.inc 2009-04-24 05:05:18 +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
a8be3d6d0a Merged heads. 2009-04-23 06:39:58 +02:00
Greyscale
2718b527ac Fixed death given to the mother zombies, created cvars to control friendlyfire and blast damage, hitgroup file now allows you to disable shootable hitgroups on zombies. 2009-04-23 06:39:11 +02:00
richard
54242bb529 Created a CVAR for enabling/disabling the zombie_version CVAR. 2009-04-22 23:32:43 +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
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
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
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
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
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
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
Greyscale
9031facaec Weapons module completed, added logging, thorough validations, and finished default configs. 2009-04-14 04:58:05 +02:00
Greyscale
44b0e776f2 Added default restrictions, added market options in the menu 2009-04-14 01:29:24 +02:00
Greyscale
55ddce0734 Finished weapon restriction menu. Still needs validations and default restrictions. 2009-04-13 23:55:02 +02:00
Greyscale
34d357a2c3 Fixed menu toggle restrictions, disabled group menu restrictions, next commit will have it done, fixed a bunch of compiler errors :P 2009-04-13 22:00:37 +02:00
Greyscale
842e4030b9 Made weapon management menu toggle restrictions (easier), and weapon names are now case-insensitive 2009-04-13 20:33:13 +02:00
Greyscale
d074b68edf Fixed all MAXPLAYERS+1 by replacing them with MAXPLAYERS + 1 2009-04-13 06:00:58 +02:00
richard
6eb00ea307 Added doc comments on ZR_LogMessageFormatted function. 2009-04-13 05:24:12 +02:00
richard
72760d9ba8 Uncommented zvision boolean variable. 2009-04-13 04:37:17 +02:00
richard
1005aeb0d1 Manually fixed broken commit. Rev 95 (debbeac5df3b) had wrong parent. Redid changes from previous commit. 2009-04-13 04:35:11 +02:00
Greyscale
035d6182a9 Weapons module added, still needs better validations 2009-04-12 08:04:00 +02:00
richard
d063def554 Merged heads. 2009-04-11 01:56:53 +02:00
richard
a8704cf90c Implemented the new class system. Class menu missing, only default classes working. 2009-04-11 01:56:22 +02:00
Greyscale
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
richard
1e99bd64f3 Added missing restrict.inc. 2009-04-09 18:30:14 +02:00
Greyscale
54931dfc82 Uploaded weapongroups.txt config file 2009-04-09 06:49:15 +02:00
richard
f1070eec93 Merged heads. 2009-04-08 01:13:31 +02:00
richard
68ac28de7b Added configuration files. 2009-04-07 19:16:15 +02:00
richard
20b970881a New branch. Removed plugins that doesn't belong here. 2009-04-07 16:52:34 +02:00
richard
d3b51c1b1a Added validation on class attributes. Some attributes still aren't validated because of unknown limits. 2009-04-07 04:44:37 +02:00
richard
907788e36a Finished functions for applying class attributes. 2009-04-07 02:13:25 +02:00
richard
cdc52e4b67 Removed other plugins from the repository that doesn't belong here. 2009-04-06 03:36:03 +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
1cbce4de6d Updated version number. Release marked as in development in the version number. 2009-04-01 19:10:10 +02:00
richard
74cacd5e75 Fixed bug 23. Added a mother zombie check before respawning as zombie on suicide by world damage. 2009-04-01 19:07:07 +02:00
richard
f9d0a96d77 Corrected newline format. 2009-04-01 19:04:00 +02:00
Greyscale
7817981473 Added cvar to control suicide blocking for zombies and humans seperately 2009-03-31 02:56:30 +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
53f1909966 Added more increase/decrease options in knockback(mult) admin menu 2009-03-30 22:40:12 +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
Greyscale
6555cdd778 ZR_PrintToAdminChat now checks for Admin_Generic flag 2009-03-29 22:08:56 +02:00
Greyscale
a0276e5c14 Renamed zradmin to zadmin, menu is translatable and accessible from ZMenu 2009-03-29 22:04:47 +02:00
Greyscale
eaf3da9987 Renamed zradmin.inc to zadmin.inc 2009-03-29 21:52:37 +02:00
richard
825cc8c570 Updated version number and documents. 2009-02-21 16:03:18 +01:00
richard
ebb387d009 Caching models on startup instead of on infection. Probably fixes the freeze on infection problem. 2009-02-21 15:44:48 +01:00
richard
62ddc62e0e Updated URL in ammo plugin. 2009-02-16 14:16:28 +01:00
richard
a30d219266 Updated version number, changelog and todo.txt 2009-02-16 14:10:12 +01:00
richard
4e1b587e15 Fixed zvision not disabled if setting in classes is blank. Removed zvision timer, not needed and wasted resources. 2009-02-16 01:38:46 +01:00
richard
527bb9be44 Fixed ambience sound not always playing. Improved logging function. 2009-02-15 22:25:17 +01:00
richard
3fe0029543 Fixed typo in admin menu. 2009-02-15 21:33:06 +01:00
richard
00f279d41a Fixed merge conflict in cvars.inc. 2009-02-13 23:14:29 +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
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
richard
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
richard
972136b859 Made a anticamp feature with custom hurt volumes. Reformatted changes.txt. 2009-01-19 22:45:58 +01:00
richard
e3f4b4e400 Fixed teleport location text to display float values instead of decimal values. 2009-01-17 21:54:35 +01:00
richard
72cb683278 Changed hardcoded antistick force into a CVAR. 2009-01-16 15:30:37 +01:00
richard
018e283679 Fixed spectactor admins not able to teleport players to their saved location. 2009-01-14 16:09:27 +01:00
richard
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
richard
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
richard
f447d3731e Removed spawn protection on respawned zombies. 2008-12-28 02:22:41 +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
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
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
e878d72b38 Removed unnecessary function call in OnPluginEnd causing the GameRules not available error. 2008-12-16 16:16:38 +01:00
richard
2d4f5d7ae6 Moved GetDefaultClassIndex outside the loop. 2008-12-03 10:48:11 +01:00
richard
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
richard
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
richard
c49fcb2142 Applied game rules not available fix by Grey Echo. 2008-11-16 22:49:35 +01:00
richard
222d13643a Added additional client checks before spawning on spawn all command. 2008-11-15 19:11:36 +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
0d4b57e629 Merged changes with admin menu repository. 2008-11-12 16:05:04 +01:00
richard
028ac77132 Added spawn all command in admin menu. 2008-11-12 16:03:40 +01:00
richard
70ea880d11 zspawn confirmed fixed. Added debug messages on OnClientDisconnect and PlayerDeath. 2008-11-12 16:01:50 +01:00
richard
4335828d3d Fixed bug in zr_spawn. 2008-10-31 18:57:14 +01:00
richard
d8dd91c0f5 Improved RefreshList function. 2008-10-30 22:32:59 +01:00
richard
dcea61a03c Fixed bug in zr_respawn 2008-10-30 19:33:54 +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
richard
9d35648089 Added a CVAR for saving class selection after map changes. 2008-10-12 18:56:51 +02:00
richard
243ddea848 Added a CVAR for setting default class. 2008-10-11 23:48:15 +02:00
richard
5af48ead51 Fixed bugs in IsClientPlayer. Made a zombie admin menu (zr_admin). 2008-10-11 17:17:51 +02:00
richard
18fecd7c3e Fixed bug in IsClientPlayer. 2008-10-11 13:29:22 +02:00
richard
4aff5dd122 Fixed night vision state not remembered. If zomibes turn off zvision, nvgs will be off next time too. 2008-10-10 18:23:08 +02:00
richard
d466f06507 Fixed invalid client index errors. 2008-10-08 16:05:34 +02:00
richard
f26ad4d82e Increased version number. 2008-10-08 15:06:29 +02:00
richard
920d5f2e1d Fixed zombie moans not looping when CVAR is 0 (disabled). 2008-10-08 14:31:35 +02:00
richard
9cb08e2ee7 Removed unneccesary comments. Improved a CVAR description. 2008-10-08 14:06:37 +02:00
richard
da56988372 Made console commands for getting and setting class knockback: zr_set/get_class_knockback. 2008-10-08 01:43:26 +02:00
mbalex
ce0895a454 Changed a newline to not look that bad. 2008-10-07 19:15:38 +02:00
richard
180f6923fa Added support for overriding class nvgs. Changed nvgs CVAR to a integer. 2008-10-07 19:05:33 +02:00
mbalex
e615802bb9 Adding all our changes under our main jupiter branch. 2008-10-04 23:02:25 +02:00
mbalex
01f65c9ee5 Initial check in. 2008-10-04 22:59:11 +02:00