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
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
d466ab8b24
Fixed weaponalpha from changing weapon's rendermode before spawn which caused display problems.
2009-05-18 23:14:18 -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
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
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
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
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +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
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
test
fd129e561b
test
2009-04-29 01:58:41 +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
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
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
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
Greyscale
ecc9cf5167
Removed player list functions, recoded mother zombie picking function, removed allow_player_team cvar as models are handled by class system now, prefixed generic plugin functions with ZR, added comments in zombiereloaded.inc, added new function to check if clients are on either or both teams.
2009-04-17 12:16:44 +02:00
Greyscale
d5e29b883c
Removed debug test commands from previous commit, added ambientsounds module, removed old, and removed some unused translations phrases.
2009-04-17 01:09:52 +02:00
Greyscale
8d9d45790b
Cleaned comments up, added more comments.
2009-04-15 09:42:12 +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
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
Greyscale
9031facaec
Weapons module completed, added logging, thorough validations, and finished default configs.
2009-04-14 04:58:05 +02:00
Greyscale
44b0e776f2
Added default restrictions, added market options in the menu
2009-04-14 01:29: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