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
richard
4ec7405fa3
Added GPL version 3.0 license (note: with windows newlines).
2009-06-05 08:22: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
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
a9a61c833d
Removed old docs. Todo ideas moved to bug tracker, and changes.txt moved to docs as zr_3.0_news.txt.
2009-05-20 15:59:57 +02: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
0b3524e8df
merge
2009-05-18 16:11:32 -07:00
Greyscale
e58ff10595
Fixed translations again.
2009-05-19 01:04:19 +02:00
Greyscale
ae2746ac2f
Reworded a comment. (Testing TortoiseHG)
2009-05-18 15:58:42 -07:00
Greyscale
25befe128f
Fixed translations.
2009-05-19 00:07:28 +02: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
ef5dd66890
Merged heads.
2009-05-14 02:28:48 +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
richard
991d14d248
Added tag zr-2.5.1.29 for changeset 1d933653c32c
2009-05-13 16:53:05 +02:00
richard
d2ba27f2b4
Added tag zr-2.5.1.28 for changeset fd485777bc69
2009-05-13 16:53:05 +02:00
richard
700712f076
Added tag zr-2.5.1.27 for changeset 5dfe718d2c97
2009-05-13 16:53:05 +02:00
richard
c066e18fc6
Added tag zr-2.5.1.26 for changeset 7596417d5696
2009-05-13 16:53:04 +02:00
richard
135daecd37
Added tag zr-2.5.1.25 for changeset 9705606370c1
2009-05-13 16:53:04 +02:00
richard
9dfa5136bd
Added tag zr-2.5.1.24 for changeset 35a6ee200e3a
2009-05-13 16:53:04 +02:00
richard
20a6efb5ba
Added tag zr-2.5.1.23 for changeset 91e90dd25037
2009-05-13 16:53:04 +02:00
richard
bf3e6446c0
Added tag zr-2.5.1.22 for changeset b515d7769a8b
2009-05-13 16:53:04 +02:00
richard
9adcc827db
Added tag zr-2.5.1.21 for changeset ef1198a402c3
2009-05-13 16:53:03 +02:00
richard
5a22e0c696
Added tag zr-2.5.1.20 for changeset 0427fe3c7db2
2009-05-13 16:53:03 +02:00
richard
6321af546b
Added tag zr-2.5.1.19 for changeset b24ad68ead4e
2009-05-13 16:53:03 +02:00
richard
3c13cb78a8
Added tag zr-2.5.1.18 for changeset 7f15822e9a51
2009-05-13 16:53:03 +02:00
richard
55e3336f23
Added tag zr-2.5.1.17 for changeset d2042892e29c
2009-05-13 16:53:03 +02:00
richard
5c93a394ea
Added tag zr-2.5.1.16 for changeset 305ce6746f1d
2009-05-13 16:53:02 +02:00
richard
9e4e4a9e8a
Added tag zr-2.5.1.15 for changeset ded7b64fc5be
2009-05-13 16:53:02 +02:00
richard
56b58bc2ba
Added tag zr-2.5.1.14 for changeset d633fcc08a17
2009-05-13 16:53:02 +02:00
richard
ef94e1f184
Added tag zr-2.5.1.13 for changeset 0c926b99ee96
2009-05-13 16:53:02 +02:00
richard
cad56dd7c8
Added tag zr-2.5.1.12 for changeset d5da985dfba8
2009-05-13 16:53:02 +02:00
richard
8710f91bc6
Added tag zr-2.5.1.11 for changeset 1ab02f8544fe
2009-05-13 16:53:01 +02:00
richard
6a374db673
Added tag zr-2.5.1.10 for changeset dafbb1557460
2009-05-13 16:53:01 +02:00
richard
b7b1094f9d
Added tag zr-2.5.1.9 for changeset f9d36b5495e0
2009-05-13 16:53:01 +02:00
richard
db164732b8
Added tag zr-2.5.1.8 for changeset 7e4b988a2593
2009-05-13 16:53:01 +02:00
richard
5986511eae
Added tag zr-2.5.1.7 for changeset 22d1509d7f9b
2009-05-13 16:53:01 +02:00
richard
5a3474e6dc
Added tag zr-2.5.1.6 for changeset 1dbe1b853428
2009-05-13 16:53:00 +02:00
richard
d1c609f39d
Added tag zr-2.5.1.5 for changeset 6678adf1156b
2009-05-13 16:53:00 +02:00
richard
3a08219d67
Added tag zr-2.5.1.4 for changeset 18725be2a1bd
2009-05-13 16:53:00 +02:00
richard
10279ac5b4
Added tag zr-2.5.1.3 for changeset 137e9cac8cf6
2009-05-13 16:53:00 +02:00
richard
f76096639a
Added tag zr-2.5.1.2 for changeset 721f697abb64
2009-05-13 16:53:00 +02:00
richard
f2fba7bf72
Added tag zr-2.5.1.1 for changeset 282e96413835
2009-05-13 16:52:59 +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
0ca296731b
Fixed default alpha values.
2009-05-12 03:58:43 +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