AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Xp levling (https://forums.alliedmods.net/showthread.php?t=205859)

Rockinz 01-15-2013 15:30

Xp levling
 
// Amount of XP needed to gain a level
new iXPLevelShortTerm[11] = {0,400,800,1600,6400,12800,30000,90000,200000 };
new iXPLevelSaved[11] = {0,100,200,400,800,1600,3200,6400,12800};

// Amount of XP awarded when killing a user of this level
new iXPGivenShortTerm[11] = {10,15,25,35,40,50,60,70,80,90,95};
new iXPGivenSaved[11] = {6,8,10,12,14,16,18,20,24,28,32};

I've change the gained xp u need for levling, and its not changed, its still default. Is there something i did wrong?

YamiKaitou 01-15-2013 20:08

Re: Xp levling
 
Did you recompile the plugin after modifying it?

Rockinz 01-16-2013 10:39

Re: Xp levling
 
Yeah, absolutely.

Rockinz 01-16-2013 11:01

Re: Xp levling
 
Am I gonna write something in: cstrike/addons/amxmodx/configs/cvars.ini?

wickedd 01-16-2013 12:15

Re: Xp levling
 
1.Learn how to use the edit button.
2.How are suppose to know, we don't know what plugin you are using.
3.Ask where you got the plugin from.

Rockinz 01-16-2013 12:25

Re: Xp levling
 
Sorry!

here is the link of the plugin: http://wc3mods.net/forums/viewtopic.php?f=2&t=3498

YamiKaitou 01-16-2013 23:42

Re: Xp levling
 
Modify the plugin. Recompile the plugin. Reupload the new plugin to your server.

If you did those things, it would be working. I got it to work every time I did it

Rockinz 01-19-2013 17:17

Re: Xp levling
 
Ok, I figured it out partwise. I got my levling to work to lvl 5. It dobbeled from 450-900-1800-3600-7200 by change the wc3 xp multiplier from 1.0, to 3.0 but when I reach level 6, it doesnt dobbel:S.

This is the xp levling file.

// Amount of XP needed to gain a level

new iXPLevelShortTerm[11] = {0,150,300,600,1000,1500,2100,2800,3400,4500, 5500};

new iXPLevelSaved[11] = {0,100,200,400,800,1600,3200,6400,12800,25600 ,51200};

When I change in the war3.cfg from 1.0 to 3.0 it works
(wc3_xp_multiplier 3.0 // set the level required to gain a level as a multiple (default 1.0). (when i set it to 1.0, it follows the xp gained from the xp.h file in the scripting folder).

What do I have to do to make the xp dobbel from lvl 6 and on?

YamiKaitou 01-19-2013 19:59

Re: Xp levling
 
What is the value at level 6? Because you are not telling it to double, you are telling it to triple

Rockinz 01-20-2013 05:54

Re: Xp levling
 
oh, sorry. I meant triple* anyways, I messed up big time. The values were: 900 - 1800 - 3600 - and then 6000 - 9000 - 12600- 16800-20400-27000-33000. There is the values gained for each level. This is when I change the mulitiple to 6.0.


All times are GMT -4. The time now is 13:33.

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