Commit Graph

87 Commits

Author SHA1 Message Date
Greyscale 1f09e1d0c7 Fixed not all grenades being stripped when infected. 2009-08-27 12:56:29 -07:00
Greyscale 904edb2594 Added the core of the modifying alltalk feature. WARNING: Untested (but compiles), the cvars to disable it have no effect, and it may be incomplete depending on some questions I have. 2009-08-21 12:47:32 -07:00
Greyscale 5ee1395fb1 Restructured every menu to properly translate into the client's language. 2009-07-27 17:02:49 -07:00
Greyscale b7018e9fe8 Replaced all menu line lengths with defines in menu.inc
*Moved the including of menu.inc up to allow all modules to use its defines.
2009-07-27 13:25:23 -07:00
Greyscale d5e4e89ba5 Fixed various memory leaks. 2009-07-23 17:05:04 -07:00
Greyscale fe5ed637cc Fixed napalm error. Fixed specatators/invalid players showing up in force zspawn/ztele. Fixed knife alpha (untested) 2009-07-21 13:25:11 -07:00
Greyscale 82b3f7dd05 Moved some code around to organize better. 2009-07-06 14:42:25 -07:00
Greyscale 17a24b5df2 Moved strip weapons to after model change, and give a new knife when going from zombie to human. 2009-07-06 14:33:11 -07:00
Greyscale 5497a13dd7 Fixed minor errors, fixed antistick having some false positives, fixed every single Zombie:Reloaded line at top of the file. 2009-07-04 23:49:23 -07:00
Greyscale 03d226ad59 Fixed knife being all screwed up on zombies. 2009-07-02 01:19:54 -07:00
Greyscale 194eb9f2b8 Config options now supports on/off along with yes/no.
Fixed ZMenu and player names in infect menu being truncated.
Added Hitgroup Management to ZAdmin.
2009-06-26 00:00:05 -07:00
Greyscale 061954fdc2 Changed default for suicide intercept, also added an option to only block mother zombies. 2009-06-25 19:38:03 -07:00
Greyscale 3f08d6f72c Added commands zr_zspawn_force, and zr_ztele_force.
Added options to ZAdmin that allow admins to force spawn players, or force teleport players.
2009-06-25 17:03:34 -07:00
Greyscale 1dff60542e Added infect option to ZAdmin.
Fixed bug where manual infecting after the round ending caused the plugin to think their was a zombie next round. (Spawn protect activated)
Updated translations.
2009-06-24 23:57:39 -07:00
Greyscale a0d2f58c35 Added cvar to disable explosion entirely on infect. 2009-06-21 13:08:02 -07:00
Greyscale e14634257c Merged heads. 2009-06-18 15:55:21 -07:00
Greyscale 01653a2636 zr_infect now infects mother zombie if used before it has spawned.
* Fixed a serious bug that could delay the game, the round end checker took dead clients in the count, so 1 dead ct and 9 zombies didn't end the game.
* Small typo fix in anticamp, and got rid of a warning.
2009-06-18 15:53:22 -07:00
richard 4d48cd65de Made a admin command for refreshing class data on one or more players.
Updated infect module to use new reload function.
Fixed typo in command description.
Known issue: Models isn't always restored on zr_human. If "default" is used, there's practically no model change. Possible solution: Store path in a buffer when the player join a team and select a model. Then read from that buffer when "default" is used.
2009-06-18 03:33:09 +02:00
Greyscale 615bc3e860 Fixed another error from infect module. 2009-06-15 21:45:50 -07:00
Greyscale 1530d20308 Added zr_infect/zr_human, all conflicts from official version are fixed. Added feature to ZSpawn to allow to spawn to different team after timelimit is expired. 2009-06-15 12:43:06 -07:00
Greyscale 9af3fec738 Changed ragdoll.inc to LF, removed anticamp.inc, and added copywrite notice to all files. 2009-06-11 20:51:26 -07:00
Greyscale 0f8206596a Recoded weapon restrictions, and made new way of storing data. (Arrays)
* Removed ZMarket as an external plugin (to be integrated next commit)
* Updated weapon configs, removed weapongroups.txt and moved weapons.txt to root zr config folder.
* Moved offset finding to respective module, made new forward *OnOffsetsFound.
* Updated weapons&hitgroups config file format to match playerclass.txt
* Updated translations.
* Recoded weapon restrict menu, commented out all zadmin options that don't quite work.
* Added weaponammo module (not finished but existent)
* Started zmarket module.
2009-05-28 23:43:15 -07:00
Greyscale b1f8de9526 Fixed compiling errors 2009-05-20 22:42:45 -07:00
Greyscale 8edf223dc1 Moved more code from event.inc to appropriate modules, fixed kill bonus. 2009-05-20 22:39:24 -07:00
Greyscale a1aebe5ca5 Removed all non-forwarding code from events.inc and moved to appropriate modules. 2009-05-20 19:15:55 -07:00
Greyscale 363be11591 Added actual functionality for the zr_infect_mzombie_respawn cvar. 2009-05-15 08:14:14 +02:00
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 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
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 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
test fd129e561b test 2009-04-29 01:58:41 +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
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 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