Commit Graph

43 Commits

Author SHA1 Message Date
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
Greyscale 0c2230ad45 Updated ZMarket to distribute grenades correctly. Still need to update the loadout to support multiple nades, to support multiple flashbangs and Grenade Pack fully. As of now the market allows you to buy 3 grenades but they don't show in the loadout as 3.
Worked more on the voice API, need to figure out why they are reversed. The cvar to disable it now should work, because it doesn't quite work right.
Changed Gangsta Glock back to Glock :P
2009-08-26 00:07:01 -07:00
Greyscale dedb782e28 Separated weapon entity and weapon name. Broke config compatibility in weapons.txt. Either update yours by hand, or overwrite with this file.
Made support for my Grenade Pack plugin, just install the plugin and ZMarket will follow gp_limit.  The only problem right now is flash/smoke are treated like grenades, this will be fixed soon.
2009-08-25 13:07:10 -07:00
richard 32828a9179 Changed class configs to use yes/no. 2009-08-15 02:58:49 +02:00
richard d1cbda40c4 Implemented group class attribute. Improved filtering method for class functions. 2009-08-14 22:10:52 +02: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 1e4a44221c Updated docs with changes in models module. 2009-07-15 21:21:15 +02: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
richard d6b5edd289 Fixes in class system. See details.
Fixed admin classes assigned to non-admin when zr_classes_random is 1.
Fixed mother zombie classes not assigned when they should be.
Fixed improved class skills on mother infection also applied to mother zombie classes.
Updated class configuration with new special classes.
2009-07-08 02:16:29 +02:00
Greyscale 324dd1abe7 ZMarket now remembers NVG purchases, and has a custom slot in the loadout menu.
Fixed minor display glitch. (wasn't using the file displayname)
2009-07-06 21:32:34 -07:00
Greyscale 194eb9f2b8 Config options now supports on/off along with yes/no.
Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
2009-06-26 00:00:05 -07:00
Greyscale 9bc5146b73 Added hitgroup commands, including zr_hitgroup, zr_hitgroup_enable_all, and zr_hitgroup_headshots_only.
Updated hitgroup configs, updated translations
Added logging for hitgroups and configs.
2009-06-24 14:45:40 -07:00
Greyscale 268ab778cf Updated jump module, removed no longer needed offset. 2009-06-22 16:37:26 -07:00
richard b80b7aa49d Made new flags class attribute. Replaced by admin_only.
Made new mother_zombie class flag and zr_class_default_mother_zombie CVAR.
Updated zombie config. Added more spacing for better readability.
Fixed incorrect off-values in jump boost.
2009-06-22 01:09:51 +02:00
richard 424a852d3a Made new admin_only class attribute. 2009-06-19 02:31:05 +02:00
Greyscale ec61c654cb Small tweaks to napalm config stuff. 2009-06-14 19:21:06 -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
richard ae37110c7d Fixed newlines. 2009-06-12 15:52:51 +02:00
Greyscale 2f87a49a43 Formatted all config files to be consistent, and made the base config file.
* Added cvar to enable/disable napalm ignition.
2009-06-11 22:36:22 -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 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
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 0ca296731b Fixed default alpha values. 2009-05-12 03:58:43 +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
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 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
richard c9724a09c7 Merged heads, with manual fixes to not revert newer changes. 2009-04-27 19:51:29 +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 8cf1350cfa Fixed defaults in hitgroups.txt 2009-04-23 06:41:16 +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
Greyscale 8ac1361a70 Fixed newlines in weapons and weapongroups.txt config files. 2009-04-20 00:19:05 +02:00
Greyscale 1659d24c4a Fixed newlines in hitgroups.txt 2009-04-17 21:06:25 +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 e7ace94625 Added hitgroup API, and logging values for it. Knockback module is done. 2009-04-15 03:24:02 +02:00
Greyscale c4ceebe9ab Merged heads 2009-04-14 22:13:53 +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 f27a723129 Changed newline style to CRLF in configs. 2009-04-14 20:10:55 +02:00
Greyscale 9031facaec Weapons module completed, added logging, thorough validations, and finished default configs. 2009-04-14 04:58:05 +02:00
Greyscale 0d5b805387 Updated configs (fixed few test typos) and translations 2009-04-13 23:57:24 +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 035d6182a9 Weapons module added, still needs better validations 2009-04-12 08:04:00 +02:00
Greyscale 54931dfc82 Uploaded weapongroups.txt config file 2009-04-09 06:49:15 +02:00
richard 68ac28de7b Added configuration files. 2009-04-07 19:16:15 +02:00