f126d181aa
Merged heads.
2009-05-18 06:26:37 +02: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
9b82451d1c
Merged heads and fixed conflicts.
2009-05-16 01:43:40 +02:00
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
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
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
77fd4b00a8
Created serial number api, put client serials in adt array instead of 64-slot array.
2009-05-12 04:12:13 +02:00
67ec1f8433
Merged heads.
2009-05-11 04:47:56 +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
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
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
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
cec31406d0
Added a timelimit to zspawn.
2009-05-06 03:04:55 +02:00
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +02:00
a36e0dab5a
Recoded ztele, removed old ztele, made conversion function.
2009-05-05 06:56:34 +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
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
5556218f7e
test
2009-04-29 02:34:49 +02:00
fd129e561b
test
2009-04-29 01:58:41 +02:00
c9724a09c7
Merged heads, with manual fixes to not revert newer changes.
2009-04-27 19:51:29 +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
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
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
a8be3d6d0a
Merged heads.
2009-04-23 06:39:58 +02:00
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
54242bb529
Created a CVAR for enabling/disabling the zombie_version CVAR.
2009-04-22 23:32:43 +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
0f15efaa85
Removed old tHandles array, updated antistick a bit (just moved stuff).
2009-04-21 02:03:35 +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
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
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
4d35037e41
Moved napalm into its own module, added cvar to enable the thrown grenade to be lit on fire.
2009-04-17 10:20:04 +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
ee9d3a9f39
Added sound effects module, moved all moaning, groaning, and death sounds to zombie sounds sub-module, and made a basic sound API.
2009-04-16 22:21:32 +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
872e41e6d2
Recoded IsClientPlayer, renamed to IsClientValid, replaced
...
GetMaxClients() with maxclients
Ignore diff for zhp.inc and spawnprotect.inc
2009-04-16 03:57:46 +02:00
75e654992c
Moved ZHP to its own module, plugin now uses InfectPlayer.
2009-04-16 01:18:08 +02:00
c8989eb544
Moved spawn protect to its own module.
2009-04-15 11:27:03 +02:00
e7ace94625
Added hitgroup API, and logging values for it. Knockback module is done.
2009-04-15 03:24:02 +02:00
648a875c14
Removed old class system. Cleared out external API natives and forwards. Commented out old menus.
2009-04-14 23:16:31 +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
842e4030b9
Made weapon management menu toggle restrictions (easier), and weapon names are now case-insensitive
2009-04-13 20:33:13 +02:00
72760d9ba8
Uncommented zvision boolean variable.
2009-04-13 04:37:17 +02:00
1005aeb0d1
Manually fixed broken commit. Rev 95 (debbeac5df3b) had wrong parent. Redid changes from previous commit.
2009-04-13 04:35:11 +02:00
035d6182a9
Weapons module added, still needs better validations
2009-04-12 08:04:00 +02:00
d063def554
Merged heads.
2009-04-11 01:56:53 +02:00