Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Custom Level System v3.2 (22 Features)


Post New Thread Reply   
 
Thread Tools Display Modes
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-04-2014 , 17:51   Re: [ZP] Addon: Custom Level System v1.1
Reply With Quote #11

Quote:
Originally Posted by HamletEagle View Post
You are creating useless variables:
PHP Code:
new iLevel[id
iHealth get_pcvar_num(cvar_health_bonus)
iArmor get_pcvar_num(cvar_armor_bonus
PHP Code:
new current_zclass zp_class_zombie_get_current(id)
if (
current_zclass == ZP_INVALID_ZOMBIE_CLASS)
    return; 
Usually, a variable worth to be declared when you will use it's value multiple times, if you use it just one time, write the function directly.
Thank you for the optimizing. I'll update the code.
Quote:
Originally Posted by HamletEagle View Post
Good job with this, but why are you making only ZP stuffs ?
Because I love ZP. By the way, if you have any suggestion, feel free to let me know.
Quote:
Originally Posted by DeteCT0R View Post
Hungary Translate:

Code:
[hu]
ACCESS_DENIED = Nem fog gyulni a tapasztalat pontod amig nem regisztralsz!
ASSIST = Kaptal!g %d tapasztalat pontot !t mert sebeztel!g %s %s

BONUS_EXP = Bonusz EXP:!g %d
BONUS_AP = Bonusz AP:!g %d

CONNECT_MESSAGE = %s !tis csatlakozik !y| Szint:!g %s!y | Tapasztalat pont :!g %d |

DEALT_DAMAGE = Kaptal!t %d Tapasztalat pontot!y mert sebeztel:!t %d

HEADSHOT_KILL = Kaptal!g %d Tapasztalat pontot!y mert megoltel egy zombit fejlovessel

INFORM = Szint:!g %s !t| Bonusz Elet:!y %d !t| Bonusz Pajzs:!g %d
INFORM_2 = !tCsak nyomj !y[N] !thogy megnyisd a !gSzint !tmenu-t

INFECT = Kaptal!g %d Tapasztalat pontot!y mert megfertoztel egy embert

KILL = Kaptal!g %d Tapasztalat pontot!y mert megoltel egy zombit
KILL_HUMAN = Kaptal!g %d Tapasztalat pontot!y mert megoltel egy embert

LEVEL_UP = Gratulalok, szinted !g %s

SHOW_STAT = Szint:!g %s!y | Tapasztalat pont kell a kovetkezo szintig:!g %d

HUMAN_WIN = Az emberek kaptak!g %d Tapasztalat pontot!y mert lenyomtak a pestist
HUMAN_SURVIVE = Az emberek kaptak!g %d Tapasztalat pontot!y mert tuleltek a kort
ZOMBIE_WIN = Zombik kaptak!g %d Tapasztalat pontot!y mert megfertoztek az osszes embert
Thank you for the translation. I'll update the .txt file. ;)
zmd94 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-04-2014 , 18:24   Re: [ZP] Addon: Custom Level System v1.2
Reply With Quote #12

New update:
Quote:
Originally Posted by zmd94
(5/10/2014)
v1.2 - [FIXED] Removed unnecessary variable.
v1.2 - [ADDED] Hungary translation.
Feel free to test it.
Quote:
Originally Posted by Brian_Chino77 View Post
Maybe this is some suggestion:

1. Extra damage
I'll consider to add it. Nice suggestion. I appreciate it. ;)

Last edited by zmd94; 10-04-2014 at 18:25.
zmd94 is offline
Brian_Chino77
Senior Member
Join Date: Mar 2014
Location: dunno
Old 10-04-2014 , 21:35   Re: [ZP] Addon: Custom Level System v1.2
Reply With Quote #13

And how about enable cvar top_rank_bot (like csstats) (if enabled it will include bot in Top level)

And don't use [N] as the menu opener.. [N] is for nightvision

Last edited by Brian_Chino77; 10-04-2014 at 22:12.
Brian_Chino77 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-04-2014 , 22:29   Re: [ZP] Addon: Custom Level System v1.2
Reply With Quote #14

Nice idea for the STATS. ;)

So, what your suggestion for the menu?

;)

Last edited by zmd94; 10-04-2014 at 22:29.
zmd94 is offline
Brian_Chino77
Senior Member
Join Date: Mar 2014
Location: dunno
Old 10-05-2014 , 01:44   Re: [ZP] Addon: Custom Level System v1.2
Reply With Quote #15

Not suggestion, I just want to tell you , please don't use N as the menu opener , N is for nightvision
Brian_Chino77 is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-05-2014 , 04:07   Re: [ZP] Addon: Custom Level System v1.3
Reply With Quote #16

New update!

v1.3
- [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 translate for new features.

The new text that need to be translated:
Code:
KILL_SURVIVOR = You've gained!g %d EXP!y for killing a survivor
KILL_NEMESIS = You've gained!g %d EXP!y for killing a nemesis
Feel free to use it. ;)

Last edited by zmd94; 10-05-2014 at 04:08.
zmd94 is offline
zDac
Member
Join Date: Jan 2013
Old 10-05-2014 , 05:27   Re: [ZP] Addon: Custom Level System v1.3
Reply With Quote #17

Lithuanian:

Code:
[lt]
ACCESS_DENIED = Tu negausi XP kol tu nebusi uzsiregistraves ir/ar prisijunges, kad saugotume tavo lygi.
ASSIST = Tu gavai!g %d XP!t uz padejima!g %s %s

BONUS_EXP = Priemoka XP:!g %d
BONUS_AP = Priemoka AP:!g %d

CONNECT_MESSAGE = %s !tprisijunge !y| Lygis:!g %s!y | XP :!g %d |

DEALT_DAMAGE = Tu gavai!t %d XP!y uz zala!t %d

HEADSHOT_KILL = Tu gavai!g %d XP!y uz zombio nuzudyma (headshot)

INFORM = Lygis:!g %s !t| Gyvybiu priedas:!y %d !t| Sarvu priedas:!g %d
INFORM_2 = !tSpauska !y[N] !tkad atidaryti !gLygiu !tmeniu

INFECT = Tu gavai!g %d XP!y uz zmogaus uzkretima

KILL = Tu gavai!g %d XP!y uz zombio nuzudyma
KILL_HUMAN = Tu gavai!g %d XP!y uz zmogaus nuzudyma
KILL_SURVIVOR = Tu gavai!g %d XP!y uz isgyventojo nuzudyma
KILL_NEMESIS = Tu gavai!g %d XP!y uz nemesio nuzudyma

LEVEL_UP = Sveikiname, tavo lygis yra!g %s

SHOW_STAT = Lygis:!g %s!y | XP iki kito lygio:!g %d

HUMAN_WIN = Zmones gavo!g %d XP!y uz maro isgyvenima
HUMAN_SURVIVE = Zmones gavo!g %dEXP!y uz sio raundo isgyvenima
ZOMBIE_WIN = Zombiai gavo!g %d XP!y uz visu zmoniu uzkretima
__________________
Learning AMXX.

Last edited by zDac; 10-05-2014 at 05:32.
zDac is offline
Send a message via Skype™ to zDac
DeteCT0R
Member
Join Date: Jun 2012
Location: My Home
Old 10-05-2014 , 09:41   Re: [ZP] Addon: Custom Level System v1.3
Reply With Quote #18

Quote:
Originally Posted by zmd94 View Post
New update!

v1.3
- [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 translate for new features.

The new text that need to be translated:
Code:
KILL_SURVIVOR = You've gained!g %d EXP!y for killing a survivor
KILL_NEMESIS = You've gained!g %d EXP!y for killing a nemesis
Feel free to use it. ;)

Code:
KILL_SURVIVOR = Kaptal!g %d Tapasztalat pontot !y mert megolted a tulelot KILL_NEMESIS = Kaptal!g %d Tapasztalat pontot !y mert megolted a nemesist
Thist 2 new line for hungary translate.
__________________
My steam:
DeteCT0R is offline
zmd94
Veteran Member
Join Date: Nov 2013
Location: Malaysia (9w2zow).
Old 10-05-2014 , 09:54   Re: [ZP] Addon: Custom Level System v1.3
Reply With Quote #19

Thank for your help (zDac and DeteCT0R). I will update the .txt file. ;)
zmd94 is offline
szafa323
Senior Member
Join Date: Jul 2013
Location: Poland
Old 10-05-2014 , 11:46   Re: [ZP] Addon: Custom Level System v1.3
Reply With Quote #20

POLISH

[pl]
ACCESS_DENIED = Nie zdobedziesz EXPA poki sie nie zalogujesz lub nie zarejestrujesz.
ASSIST = Otrzymales!g %d EXPA!t za asyste!g %s %s

BONUS_EXP = Bonus EXPA:!g %d
BONUS_AP = Bonus AP:!g %d

CONNECT_MESSAGE = %s !twbija na serwer !y| Level:!g %s!y | EXP :!g %d |

DEALT_DAMAGE = Otrzymales!t %d EXPA!y za zadnie!t %d obrazen

HEADSHOT_KILL = Otrzymales!g %d EXPA!y za zabicie zombie przez head shoot.

INFORM = Level:!g %s !t| Bonus Zycia:!y %d !t| Bonus Kamizelki:!g %d
INFORM_2 = !tNacisnij !y[N] !taby otworzyc !gCustom Level !tmenu

INFECT = Otrzymales!g %d EXPA!y za infekcje czlowieka.

KILL = Otrzymales!g %d EXPA!y za zabicie zombie.
KILL_HUMAN = Otrzymales!g %d EXPA!y za zabicie czlowieka.
KILL_SURVIVOR = Otrzymales!g %d EXPA!y za zabicie survivora.
KILL_NEMESIS = Otrzymales!g %d EXPA!y za zabicie nemesisa.

LEVEL_UP = Gratulacje! Awansowales do !g %s levela.

SHOW_STAT = Level:!g %s!y | EXP do nastepnego levela:!g %d

HUMAN_WIN = Ludzie otrzymali!g %d EXPA!y za przezycie
HUMAN_SURVIVE = Ludzie otrzymali!g %d EXPA!y za przetrwanie rundy.
ZOMBIE_WIN = Zombie otrzymali!g %d EXPA!y za zainfekowanie wszystkich ludzi.
szafa323 is offline
Send a message via Skype™ to szafa323
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode