Commit Graph

30 Commits

Author SHA1 Message Date
Richard Helgeby
7e72ede0ca Added support for resource files in Valve's file system. Thanks to Kyle. 2013-04-16 02:43:29 +02:00
Richard Helgeby
a8f91d748e Updated copyright year. 2013-01-12 08:47:36 +01:00
richard
9d5448e162 Cleaned up model precaching. 2009-12-04 00:44:46 +01:00
richard
109a923ae3 Updated docs with new model error messages. Minior fixes.
Improved error handling of model list.
Fixed typo in class attribute validator.
Changed cvar defaults: class menu auto-close and overlay default state.
2009-11-28 22:32:44 +01:00
richard
96b285d7ac Fixed models not precached properly. 2009-11-28 12:51:13 +01:00
richard
66ed43dd48 Changed model config to key/value format and improved model module features. Model access isn't tested yet, but base stuff works. Minior fixes.
Added more random model selection presets: public, admins, hidden and mother zombies.
Simplified ClassFlagFilterMatch logic.
2009-11-17 08:47:39 +01:00
richard
b856e69223 Fixed directory memory leak. 2009-10-26 01:42:15 +01:00
Greyscale
d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07:00
Greyscale
151b255994 Updated antistick, small performance gain.
Modified any multi-valued cvars to accept "1,2" instead of only "1, 2" and made a cosmetic change to get array sizes.
2009-07-23 15:05:14 -07:00
Greyscale
f403386546 Added a "douse" feature to napalm that makes water put out fires.
Fixed zr_antistick not disabling the feature.
Removed a debug message.
Added napalm to logging module.
2009-07-16 18:34:56 -07:00
Greyscale
2297c6df7a Added public/non-public models.
Fixed health_infect_gain giving the default value always.
Updated config loader to allow larger-sized array blocks to prevent truncating strings. (Default is 32)
2009-07-09 14:17:50 -07: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
richard
ae37110c7d Fixed newlines. 2009-06-12 15:52:51 +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
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
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
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
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
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
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
2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +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
Greycale
37dfea2f8c Removed SetPlayerModel, removed deprecated code in models.txt, added CSWeaponDrop, updated gamedata file. 2009-04-15 21:22:11 +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
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
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
mbalex
01f65c9ee5 Initial check in. 2008-10-04 22:59:11 +02:00