This is about Borderlands 2, I hear Randy Pitchford complain that the game was not designed for the level cap to be raised.
HOWEVER
I know that if Gearbox actually did proper coding it wouldn't be that hard to fix the problems of raising the level cap.
For example:
int current_level = 1; (has to start at 1, right?)
const int MAX_LEVEL = 50; (declaring it as a variable is VERY useful as I'll explain later)
if(current_level != MAX_LEVEL)
{
add_exp([parameters])**; ([parameters] is the parameters used to determine how much exp is added, what that does is pass in the parameters to the function called "add_exp()" which calculates how much exp is added then actually adds it to the player's character.
}
else
{
add_exp(0);
}
And that's all they'd need to do.
**For those who don't know programming, add_exp is a "function" just like a typical math function like the "quadratic formula" or "Pythagorean theorem". You notice how no function/equation you'd need to memorize in math requires you to know solid numbers but instead constants like pi or "e" or variables like x or b? Well the same SHOULD work for functions in programming. ESPECIALLY for an RPG where math is king.
So if they simply declared the MAX_LEVEL as a constant variable and used it wherever it's needed for a formula then all you need to do is change the variable's value and all the math will be the same, the results will just come out different. Like... it should be able to produce new loot and higher level enemies automatically.
But since Mr. Pitchford claims the game was NOT made to easily raise the level cap it makes me think they just put the number in manually wherever it was needed in an equation which is just stupid. Because the way I show would make it easy to change the max level and even just release a patch for that.
Then again I'm only a novice programmer and there could be levels of detail I just can't comprehend, however, if there are any other programmers out there, what do you all think?
HOWEVER
I know that if Gearbox actually did proper coding it wouldn't be that hard to fix the problems of raising the level cap.
For example:
int current_level = 1; (has to start at 1, right?)
const int MAX_LEVEL = 50; (declaring it as a variable is VERY useful as I'll explain later)
if(current_level != MAX_LEVEL)
{
add_exp([parameters])**; ([parameters] is the parameters used to determine how much exp is added, what that does is pass in the parameters to the function called "add_exp()" which calculates how much exp is added then actually adds it to the player's character.
}
else
{
add_exp(0);
}
And that's all they'd need to do.
**For those who don't know programming, add_exp is a "function" just like a typical math function like the "quadratic formula" or "Pythagorean theorem". You notice how no function/equation you'd need to memorize in math requires you to know solid numbers but instead constants like pi or "e" or variables like x or b? Well the same SHOULD work for functions in programming. ESPECIALLY for an RPG where math is king.
So if they simply declared the MAX_LEVEL as a constant variable and used it wherever it's needed for a formula then all you need to do is change the variable's value and all the math will be the same, the results will just come out different. Like... it should be able to produce new loot and higher level enemies automatically.
But since Mr. Pitchford claims the game was NOT made to easily raise the level cap it makes me think they just put the number in manually wherever it was needed in an equation which is just stupid. Because the way I show would make it easy to change the max level and even just release a patch for that.
Then again I'm only a novice programmer and there could be levels of detail I just can't comprehend, however, if there are any other programmers out there, what do you all think?