Commit Graph

156 Commits

Author SHA1 Message Date
Greyscale
0a9d1d9035 Merged heads. 2009-05-12 03:14:13 +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
f46b774492 Updated gamedata file for zrtools and removed hacks.inc 2009-05-11 07:12:13 +02:00
richard
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
Greyscale
a6e55b6653 Updated translations, converted the menu to use keyword defines instead of hardcoded names. 2009-05-08 04:57:21 +02:00
Greyscale
a89f98cc38 Added a way to quiet any sayhook if it wasn't successfully executed, fixed double-ztele'ing. (Note: Linux can't compile the plugin anymore.) 2009-05-06 05:31:48 +02:00
Greyscale
cec31406d0 Added a timelimit to zspawn. 2009-05-06 03:04:55 +02:00
Greyscale
2ac56b1969 Updated all file headlines, and added phrases for zspawn abuse. 2009-05-06 02:28:09 +02:00
Greyscale
a36e0dab5a Recoded ztele, removed old ztele, made conversion function. 2009-05-05 06:56:34 +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
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
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
richard
c9724a09c7 Merged heads, with manual fixes to not revert newer changes. 2009-04-27 19:51:29 +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
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
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
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
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
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
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
1659d24c4a Fixed newlines in hitgroups.txt 2009-04-17 21:06:25 +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
75e654992c Moved ZHP to its own module, plugin now uses InfectPlayer. 2009-04-16 01:18:08 +02:00
Greycale
37dfea2f8c Removed SetPlayerModel, removed deprecated code in models.txt, added CSWeaponDrop, updated gamedata file. 2009-04-15 21:22:11 +02:00
Greyscale
8bcf32a0db Merged heads. 2009-04-15 03:24:43 +02:00
Greyscale
e7ace94625 Added hitgroup API, and logging values for it. Knockback module is done. 2009-04-15 03:24:02 +02:00
richard
2bb28b87c1 Merged heads. 2009-04-14 23:33:50 +02:00
richard
13ab32a7bb Started on new class menus (new file). Fixed parameter name in class attributes. Made function IsClientAdmin (generic admin). 2009-04-14 23:33:06 +02:00
Greyscale
c4ceebe9ab Merged heads 2009-04-14 22:13:53 +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
richard
f27a723129 Changed newline style to CRLF in configs. 2009-04-14 20:10:55 +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
0d5b805387 Updated configs (fixed few test typos) and translations 2009-04-13 23:57: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
Greyscale
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
Greyscale
54931dfc82 Uploaded weapongroups.txt config file 2009-04-09 06:49:15 +02:00
richard
7c397715c4 Merged heads. 2009-04-09 02:51:19 +02:00
richard
3b0608fe7a Initial improvements on configuration files. More needs to be changed. 2009-04-09 02:50:04 +02:00
richard
9a917d489d Added gamedata file. 2009-04-09 00:59:47 +02:00
richard
68ac28de7b Added configuration files. 2009-04-07 19:16:15 +02:00
richard
405e7f0005 Restructured class system files. Added more functions for applying class attributes. 2009-04-06 03:20:13 +02:00
richard
2a24a8a204 Merged heads 91e3906787a1 and 3598485c84df. 2009-03-31 00:59:50 +02:00
richard
4f8e3e2b20 Made a new class system with base API functions. Will run paralell with the old system so it's possible to do a gradually switch. Most functions are compatible but have different names. 2009-03-31 00:52:44 +02:00
Greyscale
53f1909966 Added more increase/decrease options in knockback(mult) admin menu 2009-03-30 22:40:12 +02:00
Greyscale
965de0e697 New translations to go with last few commits 2009-03-30 00:36:58 +02:00
richard
972136b859 Made a anticamp feature with custom hurt volumes. Reformatted changes.txt. 2009-01-19 22:45:58 +01:00
richard
69799e1c0d Improved the teleporter. Startup delay, cooldown, separate team delays and limits. Admin commands made, but not coded yet. 2008-12-20 20:46:05 +01:00
richard
b66baa5dd0 Initial translations check in. 2008-12-19 20:07:27 +01:00