wc3campaigns
WC3C Homepage - www.wc3c.netUser Control Panel (Requires Log-In)Engage in discussions with other users and join contests in the WC3C forums!Read one of our many tutorials, ranging in difficulty from beginner to advanced!Show off your artistic talents in the WC3C Gallery!Download quality models, textures, spells (vJASS/JASS), systems, and scripts!Download maps that have passed through our rigorous approval process!

Go Back   Wc3C.net > Warcraft III Modding > Developer's Corner > Triggers & Scripts
User Name
Password
Register Rules Get Hosted! Chat Pastebin FAQ and Rules Members List Calendar



Closed Thread
 
Thread Tools Search this Thread
Old 01-04-2004, 03:08 PM   #1
Kaluo
User
 
Join Date: Aug 2003
Posts: 95

Kaluo has little to show at this moment (0)

Default

I've seen the confusing as hell formula for finding xp gained for killing unit, but where do you set how much xp is needed for each individual hero level?
Kaluo is offline  
Sponsored Links - Login to hide this ad!
Old 01-04-2004, 04:30 PM   #2
AntJAB
User
 
Join Date: Nov 2003
Posts: 230

AntJAB has little to show at this moment (4)

Default

Something I know how to help with! I spent a couple days teaching myself all the junk in the Advanced>Game Constants.



From bottom up:

Table - The origonal amount of XP required for the first level.
Previous Value Factor - After leveling up, this is how much you multiply the last level's needed XP by.
Level Factor - Every time you level up, after calculating Previous Value Factor, you add this to the number.
Constant Factor - Uhh... I forgot... :bgrun:

So to go from level 1 to 2 you need 200xp.
From 2 to 3 you need: 200*1 = 200, 200+100 = 300.


As you can see with Constant Factor I'm a bit rusty on this subject, so someone please make sure I'm correct.
__________________
AntJAB is offline  
Old 01-04-2004, 04:50 PM   #3
Kaluo
User
 
Join Date: Aug 2003
Posts: 95

Kaluo has little to show at this moment (0)

Default

Thanks alot but seeing how its possible to do all the calculations without constant factor anyone know what it does? just curious
Kaluo is offline  
Old 01-04-2004, 08:49 PM   #4
moogleii
User
 
Join Date: Aug 2003
Posts: 2

moogleii has little to show at this moment (0)

Default

You just add on the constant factor.

So its like so: previousXP * previousFactor + level*levelFactor + constantFactor
moogleii is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


All times are GMT. The time now is 05:24 AM.


Affiliates
The Hubb The JASS Vault Clan WEnW Campaign Creations Clan CBS GamesModding Flixreel Videos

Powered by vBulletin (Copyright ©2000 - 2018, Jelsoft Enterprises Ltd).
Hosted by www.OICcam.com
IT Support and Services provided by Executive IT Services