BotoX
f8f84dd091
zclass fix remaining bugs
2019-11-18 23:04:59 +01:00
BotoX
657102ea76
fix one bug from playerclasses change
2019-11-05 22:47:39 +01:00
BotoX
7265c1922f
add "identifier" to playerclasses (kv section name) and use it as default for cookies, zr_class_modify, etc.
2019-11-01 18:51:43 +01:00
BotoX
d88e748f0e
remove trailing whitespaces from sourcecode
2016-02-06 00:47:47 +01:00
Richard Helgeby
a8f91d748e
Updated copyright year.
2013-01-12 08:47:36 +01:00
Richard Helgeby
8bec3be02d
Added basic class API: ZR_IsValidClassIndex, ZR_GetActiveClass, ZR_SelectClientClass, ZR_GetClassByName, ZR_GetClassDisplayName
2012-09-08 22:34:31 +02:00
Richard Helgeby
4b693385fc
Fixed typo in class menu logic.
2010-07-04 03:56:42 +02:00
Richard Helgeby
f355ee94fc
Imported fix from dev: 750:c5cd9d89414a - Fixed class menus being disabled and not checking if the player have access to private classes.
2010-07-03 23:39:34 +02:00
richard
0adc2c597a
Fixed class selection not saved in cookies on instant class change.
2009-12-09 14:57:33 +01:00
richard
5591adfd25
Added cvar for enabling/disabling class cookies. Fixed teleport not resetting velocity.
2009-08-15 19:48:51 +02:00
richard
2fc590ab59
Added support for saving class selections in cookies.
2009-08-15 06:32:44 +02:00
ricard
35c3f80ed1
Simplified class menu translations. Small improvement in logic when selected classes.
2009-08-15 01:28:28 +02:00
richard
d1cbda40c4
Implemented group class attribute. Improved filtering method for class functions.
2009-08-14 22:10:52 +02:00
richard
3a82d3d9b0
Added support for group based authentication.
2009-08-11 03:29:22 +02:00
ricahrd
658a800fea
Implemented zr_classes_spawn. Made new instant class change feature on human classes, with time limit.
2009-08-10 19:01:43 +02:00
richard
06771e6d15
New feature for blocking class selection. Changes in translations. See details.
...
Finished norwegian translation.
Fixed missing quote in english translation file.
Added cvars for blocking players from changing classes.
Minior typo fixes in log module.
Changed TranslationReplyToCommand to use the ReplyToCommand function.
2009-08-09 22:44:28 +02:00
Greyscale
b89dac76f4
Fixed translating in class menu.
2009-07-27 17:09:15 -07:00
Greyscale
5ee1395fb1
Restructured every menu to properly translate into the client's language.
2009-07-27 17:02:49 -07:00
richard
6a6300e21b
Fixes in class system. See details.
...
Fixed class menus not displaying correct class.
Made ClassSelectedNext array for storing class indexes to be set on next spawn. Useful for other stuff too, like saving settings in cookies.
Code cleanup in class spawn and class infect events.
2009-07-23 23:26:14 +02: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
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
richard
723038052e
Fixed potential memory leak in class system.
2009-06-22 18:11:31 +02:00
Greyscale
6e0961c73b
Merged heads.
2009-06-21 21:10:08 -07:00
Greyscale
b74bbe67ce
ZCookies module completed, added to the main menu, translations updated.
2009-06-21 21:08:26 -07:00
richard
b80b7aa49d
Made new flags class attribute. Replaced by admin_only.
...
Made new mother_zombie class flag and zr_class_default_mother_zombie CVAR.
Updated zombie config. Added more spacing for better readability.
Fixed incorrect off-values in jump boost.
2009-06-22 01:09:51 +02:00
richard
424a852d3a
Made new admin_only class attribute.
2009-06-19 02:31:05 +02:00
richard
6f032b79b8
Improved class system with support for multipliers. Minior fixes, see details.
...
Made class attribute multipliers.
Made admin menus for adjusting class attribute multipliers.
Made console command for setting class attribute multipliers.
Fixed health regen amount class attribute not validated.
Fixed health regen not stopping after surviving a round as a zombie.
Improved ZRIsClientAdmin to support admin flags (optional).
Changed permission flag on admin commands to match action type. Like only admins with config access should be able to do ZR configuration.
Changed log formatting to match style in SourceMod. Removed "-" and ":". The result will be "... [plugin.smx] [mod] [event] message".
2009-06-18 02:09:55 +02: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
6d09157719
Did all cvar descriptions, made spawn protect detect when client needs to be protected more accurately, bunnyhop protect put into a cvar.
2009-05-15 07:25:07 +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
2ac56b1969
Updated all file headlines, and added phrases for zspawn abuse.
2009-05-06 02:28:09 +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
fd129e561b
test
2009-04-29 01:58:41 +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
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
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
b481546dc4
Made class menus and a class data dump console command.
2009-04-15 23:40:45 +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