ec231ba66a
Fixed ZMarket auto-rebuy and removed debug message.
2009-06-16 11:51:34 -07:00
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
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
ae37110c7d
Fixed newlines.
2009-06-12 15:52:51 +02:00
9af3fec738
Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files.
2009-06-11 20:51:26 -07:00
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
edbbc688f3
Fixed config reload command translation, and made it support multiple file aliases to reload.
2009-06-04 21:56:55 -07:00
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
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
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
7a7a0291a3
(Quickfix that caused error is fixed here.)
2009-05-28 23:47:04 -07:00
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
bb05cbccd0
Renamed some commands, updated class command creation, and minor overlay changes.
2009-05-20 22:13:51 -07:00
d466ab8b24
Fixed weaponalpha from changing weapon's rendermode before spawn which caused display problems.
2009-05-18 23:14:18 -07:00
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
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
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
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
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
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
a6e55b6653
Updated translations, converted the menu to use keyword defines instead of hardcoded names.
2009-05-08 04:57:21 +02:00
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +02:00
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
460b6ddf6d
Merged heads.
2009-05-02 07:11:05 +02:00
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
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
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
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
fd129e561b
test
2009-04-29 01:58:41 +02:00
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
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
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
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
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
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
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
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
5b9f8d364d
Removed antistick force cvar, removed more tHandle defines, moved respawn to its own module, moved market menu send function to markethandler.inc, fixed some run-on timers in zhp and spawn protect
2009-04-16 05:30:26 +02:00
8d9d45790b
Cleaned comments up, added more comments.
2009-04-15 09:42:12 +02:00
e7ace94625
Added hitgroup API, and logging values for it. Knockback module is done.
2009-04-15 03:24:02 +02:00
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
9031facaec
Weapons module completed, added logging, thorough validations, and finished default configs.
2009-04-14 04:58:05 +02:00
44b0e776f2
Added default restrictions, added market options in the menu
2009-04-14 01:29:24 +02:00
55ddce0734
Finished weapon restriction menu. Still needs validations and default restrictions.
2009-04-13 23:55:02 +02:00
34d357a2c3
Fixed menu toggle restrictions, disabled group menu restrictions, next commit will have it done, fixed a bunch of compiler errors :P
2009-04-13 22:00:37 +02:00
842e4030b9
Made weapon management menu toggle restrictions (easier), and weapon names are now case-insensitive
2009-04-13 20:33:13 +02:00
d074b68edf
Fixed all MAXPLAYERS+1 by replacing them with MAXPLAYERS + 1
2009-04-13 06:00:58 +02:00
035d6182a9
Weapons module added, still needs better validations
2009-04-12 08:04:00 +02:00
d220eeee77
Added periods after function comments, moved market handler code to markethandler.inc, made restrictions announced to the server
2009-04-10 01:08:51 +02:00
1e99bd64f3
Added missing restrict.inc.
2009-04-09 18:30:14 +02:00