The Helper Forums
The Helper offers free technical support for computer games,
computer hardware, and other computer software. Staffed
by volunteer tech support workers, The Helper is highly
regarded as a premium destination for those who are
experiencing technical problems with their computers.
Affiliate Sites
Warcraft 3 World Editor Tutorials - The Greatest Resource for the new Warcraft 3 Mapper
Silkroad Online Forums
Houston Microsoft Access, VBA and Visual Basic Programming
The source for NUON news, information, and games.
Griffonrawl Muay Thai and MMA
Warcraft 3 Modding Site.
Element Tower Defense by Karawasa.
Topaz Games.
Chernobyl Lost Riddles

Able Auto Glass specializes in Houston Auto Glass Replacement as well as windshield repair and replacement services.
Apex Steel Pipe - Buys and sells Used Steel Pipe.

Go Back   The Helper Forums > Warcraft Zone > World Editor Help > Tutorials and Resources > Tutorial Repository

Reply
 
Thread Tools Display Modes
  #1  
Old September 3rd, 2007, 10:39 AM
AceHart's Avatar
AceHart AceHart is offline
Your Friendly Neighborhood Admin
 
Join Date: Sep 2004
Location: GMT + 1
Posts: 17,493
AceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than THAceHart has more rep than TH
Gameplay Constants - Hero Experience

In menu: Advanced / Gameplay constants are a bunch of "Hero XP" entries.
They are used to find out how much experience you get from killing stuff.
And how long it takes to level up.

Nothing excitingly complicated, but it's always good to have some reference around, just in case.


Getting experience from killing enemy Heroes

Hero XP Gained - Hero, Constant factor: 100
Hero XP Gained - Hero, Level factor: 0
Hero XP Gained - Hero, Previous value factor: 1
Hero XP Gained - Hero, Table: 100, 120, 160, 220, 300

If you kill a level 1 Hero, you get 100 experience.
That's the first value in the table.
If you kill a level 2 Hero, you get 120 experience.
The second value in the table.
Until, finally, a level 5 Hero gives 300 experience.

After that, the game runs out of table and uses the other values to continue:

Experience gained = "Previous value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor"

So, killing a level 6 Hero gives:
300 (previous value) * 1 (previous value factor) + 6 (level) * 0 (level factor) + 100 (constant factor)
= 300 * 1 + 6 * 0 + 100
= 300 + 0 + 100
= 400

A level 7 Hero gives
400 * 1 + 7 * 0 + 100
= 400 + 0 + 100
= 500

A level 8 Hero gives 500 * 1 + 8 * 0 + 100 = 600

And so on.


Getting experience from killing enemy units

Hero XP Gained - Normal, Constant factor: 5
Hero XP Gained - Normal, Level factor: 5
Hero XP Gained - Normal, Previous value factor: 1
Hero XP Gained - Normal, Table: 25

Looks familiar, and also works exactly the same.

A level 1 unit gives 25 experience.
That's the first value in the table.

As before, once the game runs out of table, it uses the other values to fill in the blanks:

Experience gained = "Previous value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor"

Experience from killing a level 2 unit:
25 (previous value) * 1 (previous value factor) + 2 (level) * 5 (level factor) + 5 (constant factor)
= 25 * 1 + 2 * 5 + 5
= 25 + 10 + 5
= 40

A level 3 unit gives:
40 * 1 + 3 * 5 + 5
= 40 + 15 + 5
= 60

A level 4 unit gives 60 * 1 + 4 * 5 + 5 = 85

And so on.


Getting experience from killing Creeps

Hero XP Gained - Creep reduction table: 80, 70, 60, 50, 0

If the unit you killed was a Creep, you won't get the full experience from it.
Seems normal, what kind of experience do you expect a level 42 Hero to get from killing a Gnoll by looking at it?

Creep experience depends on the level of the Creep.
And uses the "normal" table and values from above.
After that, the reduction table is applied.
And means:

A level 1 Creep gives 25 experience (as per above).
From those 25, a level 1 Hero will get 80%.
If your Hero is level 2, he'll get 70% of 25.
If your Hero is level 3, he'll get 60% of 25.
If...

The last value in the table is used for all levels after that.

That's also why Creeps don't give experience anymore once you reach level 5.
The table says "0"...

Changing the last value to, for example, 40... and your Hero levels happily every after.
Alternatively, replace the entire table with 100 as only value.
Or 80.
Either way, don't have 0 as last value.


Experience needed to get a new level

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 value" * "Previous value factor" + "Level" * "Level factor" + "Constant factor"

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

And so on.


Messing around with these values may require a bit of experimentation.
But, at least, you should know how they work.


On a related note, nearby is also an entry called "Hero Maximum Level".
It does what it says, your Hero will never get any higher than that.


Yours,
AceHart
__________________
Minigame: > Chaos Control
Defense: Defend the Tower II
Must see: Revenge of the Skeletons
Reply With Quote
  #2  
Old September 3rd, 2007, 10:41 AM
Ghan_04's Avatar
Ghan_04 Ghan_04 is online now
Administrator
(Dammit, Jim! I'm a doctor, not an administrator!)
 
Join Date: Jan 2007
Location: Ithilien
Posts: 9,406
Ghan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHart
YES! Finally! I was hoping you would post this.

Now there is a clear tutorial to direct people to when they have this sort of question. (Not to mention a good reference for me when I need to change this stuff. )

Though, it should probably go in the tutorial section, no?
__________________

"There's always at least two ways of doing things:
- You can make it so simple that there's obviously no bugs.
- You can make it so complex that there are no obvious bugs."
-AceHart, on Coding
Reply With Quote
  #3  
Old September 3rd, 2007, 10:44 AM
Uberplayer Uberplayer is offline
 
Join Date: Aug 2005
Posts: 3,687
Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)Uberplayer has a reputation beyond repute (+1000)
When you've been playing around with world editor, you will know these things. Nevertheless, I haven't ever learned this

Thanks Ace
Reply With Quote
  #4  
Old September 3rd, 2007, 10:50 AM
Rheias's Avatar
Rheias Rheias is offline
New Helper (I got over 2000 posts)
 
Join Date: May 2007
Location: GMT + 2
Posts: 2,158
Rheias <--- Pretty Cool (+500)Rheias <--- Pretty Cool (+500)Rheias <--- Pretty Cool (+500)Rheias <--- Pretty Cool (+500)Rheias <--- Pretty Cool (+500)Rheias <--- Pretty Cool (+500)
I forsee that half of the threads in WEH would have a link to this very thread.

I hold this position to sell Ads, start with a 100$ bid.

Anyway, thanks for making this AceHart, hopefully it would cut some unneeded threads.

Edit:
> Though, it should probably go in the tutorial section, no?

As Tom Jones (I think) said once - the fact that you are an Moderator / Admin doesn't mean your resources needn't to be approved by other Moderator / Admin.
__________________
TheArea
Reply With Quote
  #5  
Old September 3rd, 2007, 10:52 AM
Miz's Avatar
Miz Miz is offline
Super Moderator
 
Join Date: Oct 2006
Location: Florida!
Posts: 4,806
Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)Miz has a reputation beyond repute (+1000)
Thank you AceHeart ^^

I never knew most of this stuff
Reply With Quote
  #6  
Old September 3rd, 2007, 10:54 AM
Ghan_04's Avatar
Ghan_04 Ghan_04 is online now
Administrator
(Dammit, Jim! I'm a doctor, not an administrator!)
 
Join Date: Jan 2007
Location: Ithilien
Posts: 9,406
Ghan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHart
> As Tom Jones (I think) said once - the fact that you are an Moderator / Admin doesn't mean your resources needn't to be approved by other Moderator / Admin.

Pft. With AceHart, need we really ask?

Fine, I'll move it. No reason it shouldn't be approved.
If there's anything that could be added to improve it, it would be an explanation of all the other Gameplay Constants fields as well.
__________________

"There's always at least two ways of doing things:
- You can make it so simple that there's obviously no bugs.
- You can make it so complex that there are no obvious bugs."
-AceHart, on Coding
Reply With Quote
  #7  
Old September 3rd, 2007, 11:29 AM
Daxtreme's Avatar
Daxtreme Daxtreme is online now
Super Moderator
 
Join Date: May 2006
Location: Quebec City, QC, Canada
Posts: 5,721
Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)
> If there's anything that could be added to improve it, it would be an explanation of all the other Gameplay Constants fields as well.

Which has technically already been done, but could use an edit
Reply With Quote
  #8  
Old September 3rd, 2007, 11:30 AM
Ghan_04's Avatar
Ghan_04 Ghan_04 is online now
Administrator
(Dammit, Jim! I'm a doctor, not an administrator!)
 
Join Date: Jan 2007
Location: Ithilien
Posts: 9,406
Ghan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHartGhan_04 is catching up with AceHart
> Which has technically already been done, but could use an edit

You mean this one?

http://www.thehelper.net/forums/showthread.php?t=21216

That one doesn't have much on the hero aspect, does it?
__________________

"There's always at least two ways of doing things:
- You can make it so simple that there's obviously no bugs.
- You can make it so complex that there are no obvious bugs."
-AceHart, on Coding
Reply With Quote
  #9  
Old September 3rd, 2007, 11:38 AM
Daxtreme's Avatar
Daxtreme Daxtreme is online now
Super Moderator
 
Join Date: May 2006
Location: Quebec City, QC, Canada
Posts: 5,721
Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)Daxtreme has a reputation beyond repute (+1000)
Indeed.

Nice one Ace I fear that part wasn't explained in the other Gameplay Constants tutorial.
Reply With Quote
  #10  
Old September 3rd, 2007, 05:16 PM
PurgeandFire's Avatar
PurgeandFire PurgeandFire is offline
zxcvmnsfhd
 
Join Date: Feb 2007
Location: asdfjksdl
Posts: 5,880
PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)PurgeandFire has a reputation beyond repute (+1000)
Finally, I understand this part.

Awesome job.
Reply With Quote
  #11  
Old September 3rd, 2007, 10:29 PM
waaaks!'s Avatar
waaaks! waaaks! is offline
Zinctified
 
Join Date: Nov 2006
Location: Philippines
Posts: 5,152
waaaks! <--- Pretty Cool (+500)waaaks! <--- Pretty Cool (+500)waaaks! <--- Pretty Cool (+500)waaaks! <--- Pretty Cool (+500)waaaks! <--- Pretty Cool (+500)waaaks! <--- Pretty Cool (+500)
cool...ive been waiting for this tutorial
Reply With Quote
  #12  
Old September 5th, 2007, 01:39 AM
Tinki3's Avatar
Tinki3 Tinki3 is offline
Special Member
 
Join Date: Jun 2006
Location: New Zealand
Posts: 3,285
Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)Tinki3 has a reputation beyond repute (+1000)
>Pft. With AceHart, need we really ask?

Even the best can make mistakes..

Thumbs up for the tutorial
__________________


"The busiest time is early morning when I go through the general spam of the previous night..."
-- AceHart
Reply With Quote
  #13  
Old June 8th, 2008, 04:37 PM
thewrongvine's Avatar
thewrongvine thewrongvine is offline
The Evolved Panda Commandant
 
Join Date: Dec 2006
Location: Gotham City, NJ, US
Posts: 4,339
thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)thewrongvine has much to be proud of (+800)
Wow, finally I get this right. I was always changing Hero - EXP Gained and thought that was requirement, lol.

Thanks a lot! +rep
Reply With Quote
  #14  
Old September 28th, 2008, 08:19 AM
The Helper's Avatar
The Helper The Helper is offline
Administrator
 
Join Date: Mar 2000
Location: H-Town
Posts: 16,390
The Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHartThe Helper is catching up with AceHart
Thumbs up 5 Star Bump

5 Star Bump!
Reply With Quote
  #15  
Old September 28th, 2008, 01:04 PM
Mike889's Avatar
Mike889 Mike889 is offline
Junior Member (Am I really helping anyone?)
 
Join Date: Jan 2007
Posts: 254
Mike889 seems to be trying to help (+25)
Well, what can I say?
Quote:
You must spread some Reputation around before giving it to AceHart again.
Reply With Quote
Reply

Thread Tools
Display Modes

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

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

Forum Jump


All times are GMT -5. The time now is 10:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.