Greyscale
3fb7163fb5
Visual effects are all now updated real-time, and defaulted to semi-dark with a borealis sky.
2009-05-06 08:29:34 +02:00
Greyscale
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +02:00
richard
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
Greyscale
460b6ddf6d
Merged heads.
2009-05-02 07:11:05 +02:00
Greyscale
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
richard
3cc2087dce
Changed limits on class attributes.
...
Allowing negative numbers on jump boost. Limiting to +-500 because that's already really fast (distance to move on next server
frame).
2009-05-01 11:34:07 +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
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
Greyscale
f5f9158941
Uploaded manually merged code.
2009-04-29 02:50:25 +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
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
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
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
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
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
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
39ff709d7f
Fixed little typo in comment, and uncommented zclass say command.
2009-04-16 08:08:58 +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
richard
258c839a27
Merged heads.
2009-04-15 23:41:22 +02:00
richard
b481546dc4
Made class menus and a class data dump console command.
2009-04-15 23:40:45 +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
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
648a875c14
Removed old class system. Cleared out external API natives and forwards. Commented out old menus.
2009-04-14 23:16:31 +02:00
richard
a8704cf90c
Implemented the new class system. Class menu missing, only default classes working.
2009-04-11 01:56:22 +02:00
richard
d3b51c1b1a
Added validation on class attributes. Some attributes still aren't validated because of unknown limits.
2009-04-07 04:44:37 +02:00
richard
907788e36a
Finished functions for applying class attributes.
2009-04-07 02:13:25 +02:00
richard
405e7f0005
Restructured class system files. Added more functions for applying class attributes.
2009-04-06 03:20:13 +02:00