• 0

    posted a message on Hero EXP Sharing

    Ok, I managed to do this. But sadly the only way I could figure out is based on triggers only and thus not very helpful I guess .. =/

    It works like this: First of all I wrote a function that gives experience to a unit (Seriously WHY is this not in the editor..?!). Thats kind of annoying especially when it comes to real numbers.

    I could explain this in detail if anyone wants me to but for now I'll just say its based on binary addition and so far it seems pretty efficient.

    The rest is kinda easy actually: Pick every unit within radius X of dieing unit and give UnitExp/NumberOfUnitsReceivingExp Experience to every picked unit (if the unit is a hero).

    Posted in: Miscellaneous Development
  • 0

    posted a message on Hero EXP Sharing

    True thats another issue.

    Also, I noticed that there's a weird difference between shared exp from kills/damage: Shared Exp from kills seems to be very low, while shared exp from damage is even higher than the base experience...

    Posted in: Miscellaneous Development
  • 0

    posted a message on Hero EXP Sharing

    I wonder if anyone has found a dynamic solution for this: I have played with shared radius under behaviour (of the veterancylevel), but the problem is, I always have multiple heros around - often up to 30-40...

    Maybe I'm doing something wrong but so far the shared amount of exp is static and not related to the number of allied heroes around.

    Greetings

    Posted in: Miscellaneous Development
  • 0

    posted a message on Need help: Default sound when creating units

    So, whenever I create a unit for any player there is a sound played. This is a problem for me, since I create units pretty much all the time and the sound is played globally... I am 99% sure this is not generated by any of my triggers, but I couldnt figure out yet how to switch it off. Any suggestions? =( Greetings

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.