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
2389ad875b
Updated docs. Minior fixes. Changed class dumping commands to admin commands.
2009-10-10 23:28:54 +02:00
richard
d030fe573d
Increased max classes to 48.
2009-10-10 18:54:17 +02:00
richard
bc7a019e8f
Fixed cookie memory leak, changed cookies to only be created once.
2009-10-10 18:26:27 +02:00
richard
92bffae62c
Fixed incorrect class index validated when restored from cookies (forgot to substract by one). Specified filter settings on random spawn classes.
2009-10-10 17:37:30 +02:00
richard
7555b042b9
Attempt to fix cookie memory leak.
2009-10-08 19:47:23 +02:00
richard
8bd7c09887
Added missing tag in volume attributes. Simplified attribute comments.
2009-10-08 02:59:42 +02:00
richard
8c2494f052
Cleanup in volfeatures.
...
Moved tool functions into a new file.
Decreased max volumes to 32.
2009-10-08 00:49:31 +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
b3c31afff9
Merged heads.
2009-09-27 23:52:20 +02:00
richard
9906376f28
New features and fixes in volfeatures. See details.
...
Fixed existing volumes not removed after a map change.
Added class editor feature that can modify certain class attributes on players in a volume.
Fixed typo in class attribute name.
Fixed health regeneration timer not stopping if a player were kicked or timed out.
2009-09-27 23:45:17 +02:00
Greyscale
43aee8b0b0
merge
2009-09-20 14:59:20 -07:00
Greyscale
bfd9d47505
Yay finished shopping list!
2009-09-20 14:58:50 -07:00
richard
1a5767965a
Fixed parameter parser not ignoring escaped quotes when parsing values.
2009-09-15 14:10:57 +02:00
richard
3949280010
Fixed newlines in shoppinglist.inc and added blank line at the end.
2009-09-06 03:07:23 +02:00
Greyscale
7914345e1c
merge
2009-08-30 11:47:28 -07:00
Greyscale
f4eb06d210
Small fix in voice.inc to stop changing voice permissions with a client's self.
...
Added the API functions for shoppinglist.inc but they don't do anything, they are just a sneak-peak into the way it will work, any feedback on your opinion would be nice.
2009-08-30 11:47:01 -07:00
richard
2830eb4c7d
Fixed players ignited twice on some anticamp volumes.
2009-08-29 23:39:59 +02:00
Greyscale
1f09e1d0c7
Fixed not all grenades being stripped when infected.
2009-08-27 12:56:29 -07: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
f804a7d4e2
Fixes in translations. Added note about compiling. See details.
...
Fixed weapon type restriction menu not translating the first time.
Fixed zmarket weapon type selection menu title not translated.
Fixed too short title string space in zmarket loadout, ztele force, zspawn force and hit group menus.
Fixed "empty" phrase not translated.
Fixed on/off translation string space too short in hit group menu.
2009-08-23 17:03:14 +02:00
richard
a5e3944234
Added script and command for dumping version and revision information. Also added define for enabling or disabling this until we have a windows script for updating hgversion.h.inc.
2009-08-23 06:19:15 +02:00
richard
6bf210a2e3
Fixed newlines.
2009-08-22 13:16:20 +02:00
Greyscale
cd25e4e16c
merge
2009-08-21 12:57:59 -07: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
8016864474
Started implementing modified alltalk.
2009-08-21 11:54:08 -07:00
richard
6a9c49eced
Fixed no fall damage class attribute not working on human classes.
2009-08-18 16:43:15 +02:00
richard
5591adfd25
Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity.
2009-08-15 19:48:51 +02:00
richard
855ffc3c0d
Updated class filter to support filtering by classes with no groups set. Fixed default class assignment assigning classes players doesn't have access to.
2009-08-15 17:37:30 +02:00
richard
2fc590ab59
Added support for saving class selections in cookies.
2009-08-15 06:32:44 +02:00
richard
daadefbaea
Added nochange option in class model attribute.
2009-08-15 03:33:09 +02:00
richard
32828a9179
Changed class configs to use yes/no.
2009-08-15 02:58:49 +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
6a14b952af
Added group class attribute, not implemented. Capitalized all class attribute names.
2009-08-13 18:31:21 +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
richard
50a7e5ab99
Added new parameter parser. Not implemented or tested yet.
2009-08-04 03:41:16 +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
Greyscale
ded36a6c5d
Fixed auto-rebuy possibly being stuck on if the cvar was disabled. Now auto-disables if the cvar is disabled.
2009-08-03 15:00:48 -07:00
Greyscale
1757ec97fa
ConfigBoolToSetting now translates a bool into the client's/server's native language.
2009-08-03 14:55:50 -07:00
Greyscale
940463491b
Changed lightstyle cvar default to be disabled.
2009-08-03 14:25:13 -07:00
Greyscale
b89dac76f4
Fixed translating in class menu.
2009-07-27 17:09:15 -07:00
Greyscale
5ee1395fb1
Restructured every menu to properly translate into the client's language.
2009-07-27 17:02:49 -07:00
Greyscale
70e5c93a2e
Fixed some potential problems in zmarket handling NVGs.
...
Removed some redundant logic checks.
2009-07-27 13:35:00 -07:00
Greyscale
b7018e9fe8
Replaced all menu line lengths with defines in menu.inc
...
*Moved the including of menu.inc up to allow all modules to use its defines.
2009-07-27 13:25:23 -07:00
Greyscale
75d72fb3f2
Added a cvar to either reset the burn time when naded, or to use the original burn-time.
2009-07-26 21:58:05 -07:00
richard
ba04f668be
Changes in docs, and minior fixes. See details.
...
Updated docs with class multipliers.
Other minior changes in docs.
Removed "Zombie:Reloaded" server title suggestion. If people like this plugin its popularity will grow by itself.
Fixed typo in attribute parser.
2009-07-25 00:36:49 +02:00
Greyscale
f6565bc81c
Merged heads.
2009-07-23 17:06:21 -07:00
Greyscale
d5e4e89ba5
Fixed various memory leaks.
2009-07-23 17:05:04 -07: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
Greyscale
637c04aa21
Merged heads.
2009-07-23 15:08:16 -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
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
9077a6ba69
Merged heads.
2009-07-22 14:06:42 +02:00
richard
0019a52ca8
Fixed selected class not restored after being mother zombie.
2009-07-22 14:06:18 +02:00
Greyscale
ac2fed1451
Merged heads.
2009-07-21 13:27:33 -07:00
Greyscale
fe5ed637cc
Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested)
2009-07-21 13:25:11 -07: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
Greyscale
98116d08f7
Merged heads.
2009-07-20 22:06:25 -07:00
Greyscale
756fc007ec
Fixed "Unknown command" in zr_config_reload_all and fixed an error in zr_config_reload. Added copywrite to zrtools include file.
2009-07-20 22:05:42 -07: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
Greyscale
b592e8ea57
Error fix in LogEvent that caused the plugin to basically break down on maps with post configs. (Error stopped the entire call stack for all config loading)
...
Added an extra logic statement in napalm.
2009-07-15 17:58:20 -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
7f73e77d08
Fixed a small bug in ZSpawn where if you connect, and then click cancel it thinks you have already played in the game.
2009-07-08 23:22:53 -07:00
richard
6173ad0dbf
Merged heads.
2009-07-08 02:17:08 +02: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
3ebdde1923
Changed all cookies to Protected access, meaning clients can only read them, not change (via sm_cookie), replaced old usermsg hudhint with SM native.
2009-07-07 15:53:18 -07:00
Greyscale
cf429d2e0f
No longer checks if cookie exists before creation, because RegClientCookie does that for me.
2009-07-06 22:09:54 -07: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
richard
eca1aee679
Updated jump distance limits.
2009-07-07 03:11:27 +02:00
Greyscale
82b3f7dd05
Moved some code around to organize better.
2009-07-06 14:42:25 -07:00
Greyscale
14b5fb2059
Merged heads.
2009-07-06 14:33:51 -07:00
Greyscale
17a24b5df2
Moved strip weapons to after model change, and give a new knife when going from zombie to human.
2009-07-06 14:33:11 -07:00
richard
9e34734c65
Merged heads.
2009-07-06 00:18:16 +02:00
richard
446b123dfe
Finished more sections in the manual. Minior changes.
2009-07-05 23:37:26 +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
07d6e1f8f1
Fixed compiler errors. -_-
2009-07-02 01:46:41 -07:00
Greyscale
8bf948b540
Disable hitgroups in the menu if cvar is disabled, stop hitgroup commands from working if hitgroups are disabled.
2009-07-02 01:44:41 -07:00
Greyscale
3f5c477e08
Put default value of player hull width in a cvar.
2009-07-02 01:39:57 -07:00
Greyscale
03d226ad59
Fixed knife being all screwed up on zombies.
2009-07-02 01:19:54 -07:00
Greyscale
258d442f71
Fixed ZMarket bug that took money even if it was restricted or purchase count had been reached. (On rebuy)
2009-07-02 01:12:41 -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
85e39dda5a
Fixed display mix-ups in zmenu.
2009-06-29 12:33:20 -07:00
Greyscale
351e17cc91
Team scores are now updated.
2009-06-27 12:17:34 -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
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
b4789dc5ef
Fixed a memory leak.
2009-06-25 17:47:37 -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
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
1f6932071d
Added logic check to stop if both jump multipliers are 1.0. (We are done with jump module for now, it works for me)
2009-06-23 22:31:48 -07:00
richard
3706b345be
Removed dummy result.
2009-06-24 02:03:33 +02:00
Greyscale
dbabc3e346
Simplied BHop protection. Updated configs.
2009-06-23 16:55:58 -07:00
Greyscale
1be37f3d1f
Removed unneeded function parameter.
2009-06-23 14:30:45 -07:00
Greyscale
d9843c74fa
Fixed jump boost :D Changed how bunnyhop prevention works.
2009-06-23 14:28:26 -07:00
Greyscale
a0381a7096
Merged heads.
2009-06-22 16:38:18 -07:00
Greyscale
268ab778cf
Updated jump module, removed no longer needed offset.
2009-06-22 16:37:26 -07:00
richard
b0509ca105
Fixed invalid handle error in class module.
2009-06-23 01:26:02 +02:00
Greyscale
79bf4230c1
Merged heads.
2009-06-22 13:07:49 -07:00
Greyscale
0c75482eb8
Fixed memory leak, and timer error.
2009-06-22 13:07:19 -07:00
richard
723038052e
Fixed potential memory leak in class system.
2009-06-22 18:11:31 +02:00
richard
1cc0fc4dda
Fixed original models not restored when using zr_human on a player.
2009-06-22 17:01:26 +02:00
richard
a0d8209c6a
Minior fixes in class system.
2009-06-22 16:29:13 +02:00
richard
2cb31db94d
Fixed logic bug in class flag filtering.
2009-06-22 16:10:40 +02:00
Greyscale
c24d1a32be
Fixed ambience (again, same fix as before)
2009-06-21 23:51:23 -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
ff7528f09f
OMG FINALLY FIXED OVERLAYZ. I almost killed myself over this one.
2009-06-21 14:59:18 -07:00
Greyscale
38b256419d
Fixed ZMarket error.
2009-06-21 13:56:48 -07: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
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
6426bf169c
Fixed stupid compiler error in cookies (oops) and recoded serial module to use steamids (serial's weren't workin' out) + the API was very confined, added ability to create SteamID cache's instead of one global cache. ZSpawn uses this new cache system.
2009-06-20 22:24:31 -07:00
Greyscale
bb75f1955c
Added cookies module file.
2009-06-20 00:21:46 -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
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
richard
10fd954ede
Merged heads.
2009-06-19 01:28:29 +02:00
richard
330afd6e86
Cleaned up comments.
2009-06-19 01:28:05 +02:00
Greyscale
e14634257c
Merged heads.
2009-06-18 15:55:21 -07: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
4d48cd65de
Made a admin command for refreshing class data on one or more players.
...
Updated infect module to use new reload function.
Fixed typo in command description.
Known issue: Models isn't always restored on zr_human. If "default" is used, there's practically no model change. Possible solution: Store path in a buffer when the player join a team and select a model. Then read from that buffer when "default" is used.
2009-06-18 03:33:09 +02: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
95c217aad6
Removed cap for cash in account module (allow above 16000 for cashdmg feature.)
2009-06-16 21:52:04 -07:00
Greyscale
cfd50d8882
Fixed anti-stuck not re-solidifying (for good)
2009-06-16 15:29:42 -07:00
Greyscale
ec231ba66a
Fixed ZMarket auto-rebuy and removed debug message.
2009-06-16 11:51:34 -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
681eb0e64d
Fixed napalm.
2009-06-15 23:02:35 -07:00
Greyscale
615bc3e860
Fixed another error from infect module.
2009-06-15 21:45:50 -07:00
Greyscale
f403485b38
Fixed error in zmarket caused by disconnection twice before the client was put in game (rapid map changing), fixed sky not disabling properly.
2009-06-15 20:57:40 -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
0a72dc2100
Fixed logic mistake when adding modues to log filter.
2009-06-12 15:54:05 +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
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
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
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
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