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

Lower what is required to level up Surf Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Ninja uwu
Member
Join Date: Oct 2020
Old 11-19-2020 , 11:38   Lower what is required to level up Surf Mod
Reply With Quote #1

Ok so, i want to lower the exp required to up level on surf mod, idk how its working this but I guess this is what is required: #define level_up(%1) (%1 * %1 * 50),
subir_level(id)
{
while(g_exp[id] >= level_up(g_level[id]) && g_level[id] < get_pcvar_num(cvar_maxlevel))
{
g_level[id]++
print_color(id, "!g[Profesional-Gamers] Felicidades As Subido De Nivel [%d]", g_level[id])

}
}
If some can help me...
Ninja uwu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-19-2020 , 13:38   Re: Lower what is required to level up Surf Mod
Reply With Quote #2

Lower the 50 I guess.

lvl1 = 1 * 1 * 50 = 50 XP
lvl2 = 2 * 2 * 50 = 200 XP
lvl3 = 3 * 3 * 50 = 450 XP

Is this correct?
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ninja uwu
Member
Join Date: Oct 2020
Old 11-19-2020 , 14:37   Re: Lower what is required to level up Surf Mod
Reply With Quote #3

I think yes, it is the first time that I modify a surf mod, I had always modified ZP or ZE, I think that is what works for levels, well now that you enlightened me I think I will try that and see if it works for me
Ninja uwu is offline
Ninja uwu
Member
Join Date: Oct 2020
Old 11-19-2020 , 15:15   Re: Lower what is required to level up Surf Mod
Reply With Quote #4

Quote:
Originally Posted by OciXCrom View Post
Lower the 50 I guess.

lvl1 = 1 * 1 * 50 = 50 XP
lvl2 = 2 * 2 * 50 = 200 XP
lvl3 = 3 * 3 * 50 = 450 XP

Is this correct?
I go to try and sure is this the exp counter, but some levels are to many high
I want to put lower
On all
Example Level 31 8000 de exp for 32
I want to put level 31 whit 2000 or more
I put 20 on exp multiplier
Ninja uwu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-19-2020 , 15:25   Re: Lower what is required to level up Surf Mod
Reply With Quote #5

Just test it. It's basic maths. As you can see it uses a global formula for all levels, you can't manually assign the XP without editing the entire code.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ninja uwu
Member
Join Date: Oct 2020
Old 11-19-2020 , 15:49   Re: Lower what is required to level up Surf Mod
Reply With Quote #6

Quote:
Originally Posted by OciXCrom View Post
Just test it. It's basic maths. As you can see it uses a global formula for all levels, you can't manually assign the XP without editing the entire code.
Of course I started to think about how to put a specific number for each level, but then I remembered that I had seen a surf mod with that system, I went to review and it is a totally different code
Ninja uwu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-19-2020 , 16:12   Re: Lower what is required to level up Surf Mod
Reply With Quote #7

I don't know what you're trying to say. If you want a different XP mod, use this - https://forums.alliedmods.net/showthread.php?t=308540
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ninja uwu
Member
Join Date: Oct 2020
Old 11-19-2020 , 17:36   Re: Lower what is required to level up Surf Mod
Reply With Quote #8

Im a bit new, im not professional and i cant put another xp system, but all start whit noobs thigns
Ninja uwu is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 11-20-2020 , 07:40   Re: Lower what is required to level up Surf Mod
Reply With Quote #9

You can put an entire surf mod, but you can't put a single plugin?
It's like saying you can count to 100, but not to 10.
I wasn't aware that only professionals know how to install plugins in their servers.
__________________

Last edited by OciXCrom; 11-20-2020 at 07:41.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
Ninja uwu
Member
Join Date: Oct 2020
Old 11-20-2020 , 11:42   Re: Lower what is required to level up Surf Mod
Reply With Quote #10

Quote:
Originally Posted by OciXCrom View Post
You can put an entire surf mod, but you can't put a single plugin?
It's like saying you can count to 100, but not to 10.
I wasn't aware that only professionals know how to install plugins in their servers.
Man plugins its not of me xD
Its from Itachi (Youtuber) i dwonload from he channel and i edit some things only
Ninja uwu is offline
Reply


Thread Tools
Display Modes

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 08:30.


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