Hero xp distribution?

Grurf

Ultra Cool Member
Reaction score
30
Is it possible to turn off that allied heroes get xp from your kills, too? I.E. My hero kills a wave, while the hero of my ally is close. The xp is being distributed 50-50, so this makes it possible to steal the xp of your allies, and that is something I don't want to be possible in my map. Is there anything (a gameplay constant?) that turns this off?
 

mems

Memory Lapse
Reaction score
24
HeroXP global distirubition - make it false

But this may disable the XP gaining when your units killed something but im not sure must try it
 

Grurf

Ultra Cool Member
Reaction score
30
mems said:
HeroXP global distirubition - make it false

But this may disable the XP gaining when your units killed something but im not sure must try it

Tried that, but it means something else. It decides whether the xp is distributed over the whole map when no allied hero is near. Any other ideas?
 

mems

Memory Lapse
Reaction score
24
another idea make all XP gaining tables 0 so be sure that heros newer gains exp fron anything

Then use a kind of trigger like:
Code:
    Events
        Unit - A unit Dies
    Conditions
        ((Killing unit) is A Hero) Equal to True
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Dying unit) is A Hero) Equal to True
            Then - Actions
                Hero - Add ((Level of (Dying unit)) x 70) experience to (Killing unit), Show level-up graphics
            Else - Actions
                Hero - Add ((Level of (Dying unit)) x 20) experience to (Killing unit), Show level-up graphics

you can customise it with more conditions ect..
 

Grurf

Ultra Cool Member
Reaction score
30
Ok, but I found an other way, I have made it so that the xp gets distributed evenly over all allies, so stealing is impossible. It's more fair anyway.

Oh and thanks for the help btw =)
 
H

Heptameron

Guest
It's pretty simple to stop.
Code:
Player - For Player 1 (Red), turn Experience sharing Off toward Player 2 (Blue)
Now player 2 won't get XP by hanging around player 1 when he's killing.
 

Grurf

Ultra Cool Member
Reaction score
30
Thanks! May use that instead of global distibution.
 

AgentPaper

From the depths, I come.
Reaction score
107
I think i remember seeing a share distance, try setting that to 0
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top