| 06-12-2008, 11:29 PM | #1 |
I've been looking for a description of what the hero exp gained/required variables in gameplay constants do....that is, how precisely they affect the hero exp gained and the exp required for levels. Being unable to find any documentation, I'm posting this. If someone could post a decent little mini-tutorial that'd be great. I'm no newbie to mapping, just never really dealt with those constants before, and now that I'm working on a RPG it's become necessary to know how to use them. |
| 06-12-2008, 11:50 PM | #2 | |
They are pretty self-explanatory, just mess around with them. Quote:
|
| 06-13-2008, 12:05 AM | #3 |
I believe I got this from the helper.net forums. I changed it a little, so I could read it easier (but you might want to check thehelper.net anyway, maybe). Game Constant Fields (Default) ------------------------------ Hero XP Required, Constant factor: 0 Hero XP Required, Level factor: 100 Hero XP Required, Previous value factor: 1 Hero XP Required, Table: 200 This set of values determines when your Heroes gain new levels. As usual, it all starts with the table. Your Hero gains a level at 200 experience. After that, the usual formula applies: EXPERIENCE REQUIRED = [[Previous EXP Value] X [Previous Value Factor]] + [[Hero Level] X [Level factor]] + [Constant] So, to reach level 3: 200 (previous value) * 1 (previous value factor) + 3 (level) * 100 (level factor) + 0 (constant) = [200 * 1] + [3 * 100] + 0 = 200 + 300 + 0 = 500 To reach level 4, your Hero needs: [500 * 1] + [4 * 100] + 0 = 500 + 400 + 0 = 900 Level 5: [900 * 1] + [5 * 100] + 0 = 1400 It was confusing to me, at first, but that's how Warcraft does things. |
| 06-13-2008, 12:55 AM | #4 |
Thanks much, get it now. =) |
