|
zero
|
 |
« on: December 10, 2010, 08:24:42 PM » |
|
Currently we can change the values in war3source.ini but the number of values is hard coded. Can this value be removed so that it can be as high or low as people want. Currently even if I wanted to add support for 2 more levels I can not do anything.
So basically please allow us to do one of two things
1) Let us define as many values in war3source.ini as we want so that we can adjust the killxp and or level required xp for as many levels as we desire.
OR
2) Give us an option to have a level xp multiple where the xp for that level = level*multiplier so if set to 100 it will take 100xp to get level 1.
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #1 on: December 11, 2010, 04:00:58 AM » |
|
1 what happens to default level 16 races? 2 such an xp curve is more linear than exponential
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
|
zero
|
 |
« Reply #2 on: December 11, 2010, 12:10:41 PM » |
|
1. Nothing the default level 16 races would work exactly like before. In fact this option would be exactly what we have not except that it would allow us to hard code more values in for higher level races. Also If you wanted you could use complex formulas to create these values to generate what ever sort of XP curve you want. All I am asking for is that instead of having only 17 variables there can be as many as we want or a very high value like 100+. Entering in the numbers is easy as you just make a formula in excel and copy n paste it in. (I have tested the use of excel already and it copy n pasts just fine if you use notepad++)
One possible simple solution is to just change it so that there is a convar that allows us to set the number of positions that are defined in war3source.ini like war3_maxlevelcurve <#> //Defines the number of levels you wish to support via different xp requirements, all levels above this value will have the xp requirement of the last entry in the list, requires that the list of entries in war3source.ini = this value+1 (to account for level 0)
2. races abilities usually level in a manor that is more linear than exponential so such a system should have no problems with normal balanced races
You could also do some sort of combination where there is a convar that enables one or the other.
I hope that one of these ideas is acceptable as this is the last thing I am waiting on now before putting my server live. Currently my only backup plan is to try to code a plugin that lowers the xp awarded to players at levels above 16 so that I can compensate for the difference, however such as system breaks when the xp awarded drops below 1 (as an integer).
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #3 on: December 11, 2010, 12:17:48 PM » |
|
its a lot of work to implement such a thing, ill think about it, but im focusing on other aspects after my finals if ur good with sm, theres full control of xp giving via the OnPreGiveXPGold event, so you can override any xp given
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
|
zero
|
 |
« Reply #4 on: December 11, 2010, 01:29:47 PM » |
|
Is there anyway I could edit some files to change the hard code requirements of 17?
For example can I simply edit constants.inc and change #define MAXLEVELXPDEFINED 16
To whatever number I want and then edit war3source.ini accordingly?
Or do I need to edit anything else. I am willing to make the changes myself if I need to.
|
|
|
|
|
Logged
|
|
|
|
|
Ownz
|
 |
« Reply #5 on: December 11, 2010, 01:32:32 PM » |
|
you can, but there will be no support for custom compiled versions and you lose update compatability i would still recommend making an addon that relies on OnPreGiveXPGold
|
|
|
|
|
Logged
|
 DarkEnergy
|
|
|
|
zero
|
 |
« Reply #6 on: December 11, 2010, 02:33:57 PM » |
|
OK, if I go for custom compile I guess I just change that one value and then recompile all the core plugins (do I need to recompile races too?) or can you just tell me what plugins need recompile. I
I will just do this until a permanent solution is found.
As for errors I still plan to have 2 servers and only 1 will be running the custom compiled version. This way I can rule out any problems. Plus I already planned on a second server for testing only so that I can test and balance things before rolling them out to the main server.
|
|
|
|
|
Logged
|
|
|
|
|