Custom Level System v3.2
This plugin allow you to have level system in your ZP server. You can change the level name and also the required EXP for the next level. There are also many features added. Just edit the cl_system.cfg file. ;)
This plugin can be used in all ZP versions such as ZP5.0, ZP4.3, ZPA and ZPS. If you are using ZP5.0, just open the custom_level_free.sma file and edit this:
//Uncomment 'IM_USING_ZP50' if your server is running ZP50 and above //#define IM_USING_ZP50
If you are using ZPA, just edit this:
// if you are using this Custom Level for ZPA, // just change line below into #include <zombie_plague_advance> #include <zombieplague>
1. Zombie Plague Mode.
I have added multi-lingual supported for this CLeS. So, I need you help to translate it into your language. Feel free to help me. ;)
CL_ASSIST = You've gained!g %d EXP!t for assisting!g %s %s
CL_BONUS_EXP = Bonus EXP:!g %d
CL_BONUS_AP = Bonus AP:!g %d
CL_CONNECT_MESSAGE = %s !tis connected !y| Level:!g %s!y | EXP :!g %d |
CL_CHANGE_NAME2 = %s, !gyour name has been changed into !y%s!
CL_CHANGE_NAME3 = %s, !gyour level and EXP will be transferred to your new name!
CL_CHANGE_NAME4 = Transferring is completed!
CL_DEALT_DAMAGE = You've gained!t %d EXP!y for dealing a damage of!t %d
CL_HEADSHOT_KILL = You've gained!g %d EXP!y for killing a zombie with a headshot
CL_INFORM = Level:!g %s !t| Bonus Health:!y %d !t| Bonus Armor:!g %d
CL_INFORM_2 = Just !ysay /cles !tto open the !gCustom Level !tmenu
CL_INFORM_3 = Just !ysay /savecl !tto save your current EXP!
CL_INFECT = You've gained!g %d EXP!y for infecting a human
CL_KILL = You've gained!g %d EXP!y for killing a zombie
CL_KILL_HUMAN = You've gained!g %d EXP!y for killing a human
CL_KILL_SURVIVOR = You've gained!g %d EXP!y for killing a survivor
CL_KILL_NEMESIS = You've gained!g %d EXP!y for killing a nemesis
CL_LEVEL_UP = Congratulations, your level now is!g %s
CL_SHOW_STAT = Level:!g %s!y | EXP for next level:!g %d
CL_SAVE = Saving completed!
CL_HUMAN_WIN = Humans have recieved!g %d EXP!y for defeating the plague
CL_HUMAN_SURVIVE = Humans have recieved!g %d EXP!y for survive in this round
CL_ZOMBIE_WIN = Zombies have recieved!g %d EXP!y for infecting all humans
Level Name and EXP:
Now, you can edit the level name and EXP required for the next level. Yet, I don't recommend you to edit the EXP as it maybe cause problems to your server. Just edit the level name only.
- [FIXED] The arrangement of code for event damage.
- [ADDED] New EXP bonus for killing Survivor
- [ADDED] New EXP bonus for killing Nemesis
- [ADDED] New text that need to be translated for new features.
- [ADDED] An option for any players to save their EXP manually.
- [ADDED] Different hud for player that has reached maximum level.
- [ADDED] An option whether to enable or disable the data expired feature.
- [ADDED] A message that telling each player about saving feature.
- [FIXED] Native problems with the hud message.
- [FIXED] Top level menu showing the same level and EXP for all players.
- [FIXED] Native problem at event_damage.
- [FIXED] Hud problems when map change.
- [FIXED] Remove unnecessary code in the new_round.
- [ADDED] Now, you can change your name while playing. All of your level and EXP will be transferred to your new name.
v1.8- [ADDED] Hud information about player that you are spectating.
v1.9- [FIXED] The cvar name for the level up bonus.
v2.0- [ADDED] An option to disable or enable player changing name feature.
- [OPTIMIZED] Removing unnecessary code.
- [FIXED] The arrangement of the code to reduce memory usage.
v2.2- [FIXED] The custom chat for team.
v2.3- [FIXED] The code in the damage event. ;)
- [FIXED] The code for top 15 players.
- [OPTIMIZED] The code for bonus when level up.
- [FIXED] The code when you are assisting someone else.
- [FIXED] The custom chat problem. Before this dead players can't chat each other.
- [FIXED] The bonus spam when you have reached maximum level.
- [FIXED] The menu code.
- [FIXED] Fully rewritten the code. ;)
- [FIXED] Add new feature that allow player to see top online players.
- [FIXED] Change command to open the CLeS menu. Now, player need to say /cles instead press [N] button.
- [FIXED] All hud problems.
- [FIXED] Removed unnecessary code and include.
- [FIXED] Menu code.