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
richard
1a638cfbac
Merge test.
2009-04-30 07:18:38 +02:00
Greyscale
20b63d9bc5
Removed offsets.inc
2009-04-29 03:07:51 +02:00
Greyscale
f5f9158941
Uploaded manually merged code.
2009-04-29 02:50:25 +02:00
Greyscale
1b8bcc9141
(Updated translations file), added cvar to drop or strip weapons on infect, moved jumpboost to own module (and fixed it), create tools/tools_functions.inc for offset finding and wrapper functions, added SetFailState alternative to LogMessageFormatted, replaced some tabs with spaces, fixed neverending round bug, fixed no zombie bug, recoded menu.inc, fixed classmenu reopening main menu when closing it with 0.
2009-04-29 02:41:53 +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
fa133857a9
Fixed spawn protection not restoring class attributes.
2009-04-27 20:54:06 +02:00
richard
55876fe2ff
Fixed LogMessageFormatted ignoring unspecified clients (-1) when ignore console is enabled. Simplified logic.
...
When ignoring console the match must be explicit (client 0), not just any non-valid player. Unspecified clients (-1) are used on core events, but they were wrongfully ignored. Clients are only specified on player events or console events.
Simplified logig: Instead of checking what something isn't, check what it's required to be. Inverted logic may be confusing.
2009-04-27 20:08:59 +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
65411df2c0
Added visualeffects.inc
2009-04-24 05:05:18 +02:00
Greyscale
8216ce753d
Merged heads.
2009-04-24 05:02:54 +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
8cf1350cfa
Fixed defaults in hitgroups.txt
2009-04-23 06:41:16 +02:00
Greyscale
a8be3d6d0a
Merged heads.
2009-04-23 06:39:58 +02:00
Greyscale
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
richard
54242bb529
Created a CVAR for enabling/disabling the zombie_version CVAR.
2009-04-22 23:32:43 +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
richard
557b6d883c
Merged heads.
2009-04-21 03:30:35 +02:00
richard
0bf074bf7a
Moved teleport variables into teleport.inc. Changed order of death event on infection. Known bug: Teamkill on last zombie kill.
2009-04-21 03:27:12 +02:00
Greyscale
f35d8cb381
Fixed memory leak, fixed disconnect bug.
2009-04-21 03:10:14 +02:00
Greyscale
0f15efaa85
Removed old tHandles array, updated antistick a bit (just moved stuff).
2009-04-21 02:03:35 +02:00
Greyscale
1ec47ef154
Renamed zr_consecutive_infect (fixed value mixup in the code), and fixed damage flags.
2009-04-21 01:45:49 +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
8ac1361a70
Fixed newlines in weapons and weapongroups.txt config files.
2009-04-20 00:19:05 +02:00
Greyscale
53c60d1c52
Fixed newlines in gamedata file.
2009-04-20 00:16:08 +02:00
Greyscale
d154ed163d
Merged heads.
2009-04-19 19:54:57 +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
richard
589baa6869
Made CVAR for class file. Simplified formatting on log messages.
2009-04-19 01:10:30 +02:00
richard
ed66030245
Merged heads.
2009-04-18 02:23:36 +02:00
richard
72c6e9f632
Improved handling of missing classes in class menus. Fixed bots not getting default class config (removed IsFakeClient check). Made new ClassCountTeam function for customized counting.
2009-04-18 02:22:13 +02:00
Greyscale
c510da249c
Removed unused parameter in ZRTeamHasClients.
2009-04-18 01:50:27 +02:00
Greyscale
824ff32cd4
Merged heads.
2009-04-18 01:45:08 +02:00
Greyscale
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
Greyscale
1659d24c4a
Fixed newlines in hitgroups.txt
2009-04-17 21:06:25 +02:00
Greyscale
879446ac7c
Modified ZRIsClientAdmin function for consistency.
2009-04-17 12:20:01 +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
5b172aa93f
Added napalm.inc
2009-04-17 10:22:02 +02:00
Greyscale
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
Greyscale
23242cdc9d
Fixed newlins in translations.
2009-04-17 01:48:08 +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
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
Greyscale
39ff709d7f
Fixed little typo in comment, and uncommented zclass say command.
2009-04-16 08:08:58 +02:00
Greyscale
98c39fb517
Removed windows newlines in respawn.inc (stupid editor)
2009-04-16 07:35:18 +02:00
Greyscale
23b5b6e187
Fixed respawn. Was respawning on infect.
2009-04-16 06:06:44 +02:00