• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece!🔗 Click here to enter!

Exp Range

Status
Not open for further replies.
Level 30
Joined
Jul 31, 2010
Messages
5,246
hey :)
just want to ask about the melee game, I somehow notice killing enemy units using only units can still give exp to your heroes that is far away in a fight(ex. you left your hero in your townhall while you use your units to kill creeps away in your townhall), is this part of the game, or is it a bug? I can't remember a lot about melee games anymore

and in any change, is their a code that would only let heroes gain exp when killing units near them?
 
Level 12
Joined
Mar 13, 2012
Messages
1,121
Go to Gameplay Constants and set "Hero XP - Global Distribution" to false.

For setting the xp range around the heroes use "Hero Maximum XP Gain Range".


e: if you're interested, maximum xp range does not take model size or collision size or any unit property into accout, its measured from center of the dying unit to the center of the xp gaining hero.
 
Status
Not open for further replies.
Top