Commit Graph

23 Commits

Author SHA1 Message Date
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 2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +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
test 5556218f7e test 2009-04-29 02:34:49 +02:00
test fd129e561b test 2009-04-29 01:58:41 +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 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 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 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 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
Greyscale 75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +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 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
Greyscale d074b68edf Fixed all MAXPLAYERS+1 by replacing them with MAXPLAYERS + 1 2009-04-13 06:00:58 +02:00
Greyscale 035d6182a9 Weapons module added, still needs better validations 2009-04-12 08:04:00 +02:00
Greyscale 53f1909966 Added more increase/decrease options in knockback(mult) admin menu 2009-03-30 22:40:12 +02:00
Greyscale a0276e5c14 Renamed zradmin to zadmin, menu is translatable and accessible from ZMenu 2009-03-29 22:04:47 +02:00
Greyscale eaf3da9987 Renamed zradmin.inc to zadmin.inc 2009-03-29 21:52:37 +02:00