Commit Graph

213 Commits

Author SHA1 Message Date
Greyscale
d95cd501c9 Removed unnecessary antistick commands for model hull width, all models have the same hull width. 2010-06-25 10:40:47 -07:00
Andrew
dcc02a44f2 Fixed signatures and round end defines that were updated in CSS:OB. 2010-06-24 19:51:01 -07:00
Richard Helgeby
64c49df505 Made cvar for minimum dx level. 2010-05-22 16:13:42 +02:00
Richard Helgeby
d556da6a32 Added cvar to enable suicide intercept before the first zombie. 2010-05-19 15:34:26 +02:00
Richard Helgeby
bac3384520 Imported feature from dev: 688:03dd044dcdd3 - Made scream and moan commands for zombies, with spam protection. 2010-04-05 01:36:32 +02:00
Richard Helgeby
12f5092e9e Imported fix from dev: 640:a8280796340e - Fixed the default sky on the first map not reverting properly if zr_veffects_sky was enabled in zombiereloaded.cfg. 2010-02-14 16:27:20 +01:00
Richard Helgeby
d8e3a6e62f Simplified english and norwegian zmarket menu phrases. 2010-01-08 10:15:12 +01:00
Greyscale
edf301da42 Fixed weapon not rendering correctly in rare cases and added a cvar to allow zombies to pick up weapons at the end of the round. 2010-01-03 23:25:35 -08:00
Greyscale
114552f451 Added a note on cvars that automatically download the files to the client. 2009-12-31 00:23:43 -08:00
Richard Helgeby
dcb4df3250 Fixed invalid values in some has_napalm class attributes. 2009-12-29 02:40:31 +01:00
Richard Helgeby
24dd9c824c Cleaned up color markup in russian translation. 2009-12-19 00:30:35 +01:00
Richard Helgeby
47899670d1 Added russian translation (by exvel). Removed old russian phrases from english phrase file. 2009-12-19 00:23:05 +01:00
richard
ef52df1367 Fixed warning about incorrect group attribute in example class. 2009-12-17 03:19:29 +01:00
richard
db5634bcfa Disabled VIP human by default because zr_vip sourcemod group doesn't exist. class is just a demo of VIP classes. 2009-12-11 16:24:13 +01:00
richard
142cab571b Fixed typo in norwegian translation. 2009-12-09 15:10:16 +01:00
richard
03cf46beb5 Fixed typo in model config. 2009-12-09 13:03:54 +01:00
richard
459124c736 Typo fix in english translations. 2009-12-09 11:35:35 +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
b39040bb35 Updated docs with model and knock back guides. Tuned default knock back values for classes, weapons and hit groups. 2009-11-22 10:50:49 +01:00
richard
bedb4d4bda Made cvar for displaying class menu on first spawn. Renamed class menu cvars. 2009-11-20 18:20:45 +01:00
richard
934dc138d6 Disabled voice module by default. Increased ammo reserve sizes. 2009-11-19 07:58:19 +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
844e23b293 Updated docs. Minior fixes.
Added flag on some timers so we are sure they are killed on map change.
Added stop event on health regeneration timer when applying classes, if the class has no regeneration.
Cvar zr_classes_default_admin is now replaced by admin-only classes. Old cvar is zr_classes_default_admin_mode.
2009-10-31 03:39:00 +01:00
richard
3794251cc5 Updated all admin console commands to check if client is privileged (so group authentication works), instead of using RegAdminCmd. Minior fixes.
Changed admin teleport command to log target names.
Cached result of privilege check instead of calling function twice (zadmin menu).
Disabled old debug commands. Do not remove, we need them for testing later.
2009-10-26 23:17:22 +01:00
richard
ffdf79f882 Updated docs. Minior fixes.
Started writing docs about volumetric features.
Improved manual style, lined up tables.
Added missing attributes in anticamp conversion functions.
Fixed anticamp not extinguishing players who leave a volume that ignite players.
2009-10-20 01:45:13 +02:00
richard
11d51d9e7b HTML-manual conversion complete, zr_manual.txt is now obsolete. Changed default setting on a cvar. 2009-10-15 19:08:31 +02:00
richard
54c0380d6a Updated HTML-manual. Changed default setting on some cvars. 2009-10-14 02:58:16 +02:00
richard
0d484132f9 Changed default log settings and updated cvar descriptions. Changed anti-stick log event type to a core event. 2009-09-30 03:17:43 +02:00
richard
578f1f643c Updated norwegian translations. 2009-08-29 16:14:06 +02:00
richard
e4e2b79225 Added plugin resources (sounds, models and materials). 2009-08-27 20:40:14 +02: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
5591adfd25 Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity. 2009-08-15 19:48:51 +02:00
richard
32828a9179 Changed class configs to use yes/no. 2009-08-15 02:58:49 +02:00
richard
89685d17df Fixed typo in norwegian translations. 2009-08-15 01:33:54 +02:00
ricard
35c3f80ed1 Simplified class menu translations. Small improvement in logic when selected classes. 2009-08-15 01:28:28 +02:00
richard
d1cbda40c4 Implemented group class attribute. Improved filtering method for class functions. 2009-08-14 22:10:52 +02:00
richard
3a82d3d9b0 Added support for group based authentication. 2009-08-11 03:29:22 +02:00
ricahrd
658a800fea Implemented zr_classes_spawn. Made new instant class change feature on human classes, with time limit. 2009-08-10 19:01:43 +02:00
richard
20f649e32e Changes in translations. Simplified zmenu phrases. 2009-08-10 02:55:42 +02:00
richard
dac737610b Merged heads. 2009-08-09 22:45:28 +02:00
richard
06771e6d15 New feature for blocking class selection. Changes in translations. See details.
Finished norwegian translation.
Fixed missing quote in english translation file.
Added cvars for blocking players from changing classes.
Minior typo fixes in log module.
Changed TranslationReplyToCommand to use the ReplyToCommand function.
2009-08-09 22:44:28 +02:00
Greyscale
6635c8077b Fixed numerous typos in zombiereloaded.cfg 2009-08-08 00:54:53 -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
Greyscale
940463491b Changed lightstyle cvar default to be disabled. 2009-08-03 14:25:13 -07:00
richard
9b1a086f81 Started working on norwegian translations. 2009-07-30 04:05:59 +02:00
richard
5be8ef80e8 Merged heads. 2009-07-24 00:44:02 +02:00
richard
60dc215503 Added zr_zspawn_block_rejoin CVAR. Defaulted to 1 (block). 2009-07-24 00:41:39 +02:00
Greyscale
37fe9fae8b Added a shortcut to zmarket loadout in ZCookies, added joinclass to suicide intercept as default. 2009-07-23 15:40:39 -07:00
richard
6a6300e21b Fixes in class system. See details.
Fixed class menus not displaying correct class.
Made ClassSelectedNext array for storing class indexes to be set on next spawn. Useful for other stuff too, like saving settings in cookies.
Code cleanup in class spawn and class infect events.
2009-07-23 23:26:14 +02:00
richard
8fc99720c7 Updated default mother zombie in config. 2009-07-21 22:05:44 +02:00
richard
a0164a38ce Fixes in antistick. See details.
Added all collision group defines, in case we need them for some reason.
Separated get and set funtions for collision groups.
Added check for COLLISION_GROUP_PUSHAWAY in AntiStickStartTouch. If this collision group isn't added, the solidify timer won't be created. Bug 134 is confirmed fixed after testing.
Lined up zr_antistick_list_models.
Added zr_antistick_dump_group debug command. Lists collision groups on one or more players.
2009-07-21 19:49:20 +02:00
richard
c059020b8c Merged heads. 2009-07-17 18:16:03 +02: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
162bd1e107 Merged heads. 2009-07-16 18:36:01 -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
richard
62c1ab4cc5 Merged heads. 2009-07-16 10:06:39 +02:00
richard
d666fbf7ce More work on volfeatures. See details.
Finished base event handler for volfeatures.
Finished zr_voladd, zr_vol_remove, zr_vol_list and zr_vol_dumpstates console commands.
Removed unused function call in class module.
Fixed minior bugs in parameter parser (paramtools.inc).
Made a debug tools module with console commands for directly testing certain functions.
2009-07-16 10:05:40 +02: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
3f5c477e08 Put default value of player hull width in a cvar. 2009-07-02 01:39:57 -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
3476438953 Updated gamedata file for ZRTools and updated zrtools include file. 2009-06-29 12:25:24 -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
069627b620 Added logging for ZSpawn and ZTele
Fixed minor translation typo.
2009-06-25 23:00:57 -07:00
Greyscale
061954fdc2 Changed default for suicide intercept, also added an option to only block mother zombies. 2009-06-25 19:38:03 -07:00
Greyscale
3f08d6f72c Added commands zr_zspawn_force, and zr_ztele_force.
Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
2009-06-25 17:03:34 -07:00
Greyscale
1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -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
dbabc3e346 Simplied BHop protection. Updated configs. 2009-06-23 16:55:58 -07:00
Greyscale
d9843c74fa Fixed jump boost :D Changed how bunnyhop prevention works. 2009-06-23 14:28:26 -07:00
Greyscale
268ab778cf Updated jump module, removed no longer needed offset. 2009-06-22 16:37:26 -07:00
Greyscale
6e0961c73b Merged heads. 2009-06-21 21:10:08 -07:00
Greyscale
b74bbe67ce ZCookies module completed, added to the main menu, translations updated. 2009-06-21 21:08:26 -07:00
richard
4c81c3dfe6 Merged heads and fixed conflicts. 2009-06-22 01:13:19 +02: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
Greyscale
a0d2f58c35 Added cvar to disable explosion entirely on infect. 2009-06-21 13:08:02 -07:00
Greyscale
209c13a3f9 ZMarket now allows you to update your loadout but selecting a weapon from the list, but if you are not able to (out of buyzone, zombie, etc) then the weapon won't actually be given. 2009-06-21 12:43:28 -07:00
Greyscale
e7bdae2ad8 Added forgotten cvar to the config.
ZHP now uses client cookies. (Still need to make a menu and cookie-tize other settings.
2009-06-20 00:15:43 -07:00
Greyscale
65beb9f0d0 Fixed little tab discrepancy in translations file. 2009-06-18 20:45:21 -07:00
Greyscale
ed752979b8 Extended ZMarkets feature to include overwriting their current loadout with their current weapons, and viewing their custom loadout.
* Restructured ZMarkets menus.
2009-06-18 20:41:54 -07:00
richard
424a852d3a Made new admin_only class attribute. 2009-06-19 02:31:05 +02:00
Greyscale
01653a2636 zr_infect now infects mother zombie if used before it has spawned.
* Fixed a serious bug that could delay the game, the round end checker took dead clients in the count, so 1 dead ct and 9 zombies didn't end the game.
* Small typo fix in anticamp, and got rid of a warning.
2009-06-18 15:53:22 -07:00
richard
9cac025358 Merged heads. Fixed conflicts in zadmin.inc. 2009-06-18 02:15:42 +02:00
richard
6f032b79b8 Improved class system with support for multipliers. Minior fixes, see details.
Made class attribute multipliers.
Made admin menus for adjusting class attribute multipliers.
Made console command for setting class attribute multipliers.
Fixed health regen amount class attribute not validated.
Fixed health regen not stopping after surviving a round as a zombie.
Improved ZRIsClientAdmin to support admin flags (optional).
Changed permission flag on admin commands to match action type. Like only admins with config access should be able to do ZR configuration.
Changed log formatting to match style in SourceMod. Removed "-" and ":". The result will be "... [plugin.smx] [mod] [event] message".
2009-06-18 02:09:55 +02: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
Greyscale
1530d20308 Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired. 2009-06-15 12:43:06 -07: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
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
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
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