I was reading about shared xp and that people had trouble with sharing it with veterancy so i used effects and behaviors
Heres a step by step:
Create an effect Modify unit.
Add's the desired XP amount
Create an effect Search
Search 360 degrees range whatever and set it to the Modify Unit Effect. Filter out so it only effects enemies (exclude allies, player and neutral)
Then create a behavior that uses the search effect on unit death. (i can't remember this exactly at the moment but it's one of the fields in the behavior.)
Add the behavior to whatever unit you want to grant xp when it dies and magic! plus the bonus of this way is that xp is given in a radius around the unit that dies not the unit that killed it. otherwise you could technically chain the xp all the way around your map if enough units shared xp.
i see, nice way of doing it , however thats going to be a painfull amount of work, so i basically have to create a seperate behaviour/searcharea/modifiy unit for each unit in the game and for all heros ? cause each unit has a different amount of xp given.. unless im missing something?
im using over 40 different units in my map, each one ill have to do that much work to share xp?
i see, okay thats a more reasonable work around , ill give it a try.. so to recap what u did.
i should make a couple base bahaviours with its death effect as modify unit within a search area. so the base behaviors will grant 40 xp , 20 xp , 100 xp .
and then , say i have a unit i want to grant 120 xp upon death. i should stack the 100 xp and the 20 xp buffs right? ..... so both death effects go of at the same time?
question, if i have tons of units fighting ( i making a footmen frenzy like map) all with this multiple search area upon death xp granting, will it cause lag?? , cause some units might set of these effects 3 or 4 times . then factor in a ton of units dieing at same time, will it lag?
You would have to test it. I haven't pushed its limits yet but i've made dozens of custom behaviors and effects many of which have multiple searches going off every .2 seconds. and I haven't seen it lag. But it's possible. Test it out and let me know.
anybody have a work around for this horrific bug? ... enemy's seem to get experience no matter what i state for the share filters...
bump
@Jinxxx123: Go
How are you currently setting it up?
I created a behavior called Death XP ##
it has an on death effect > XP Search ##
The search effect only targets enemies (the people who killed him) and does the Effect > XP ##
XP
effect grans the XP to the unit.
How are you going about this?
@Ginsupup: Go
currently i have a veteracy behaviour , that has the field "behaviour share filters" . and under kills i have excluded enemy,hallucination .
the shared fraction is 1 for kills, and the shared radius is 10 for kills.
is this the wrong way to do it then? what effect do you apply within your method? ( a search area with what exact effect?)
@Jinxxx123: Go
I was reading about shared xp and that people had trouble with sharing it with veterancy so i used effects and behaviors
Heres a step by step:
Create an effect Modify unit.
Add's the desired XP amount
Create an effect Search
Search 360 degrees range whatever and set it to the Modify Unit Effect. Filter out so it only effects enemies (exclude allies, player and neutral)
Then create a behavior that uses the search effect on unit death. (i can't remember this exactly at the moment but it's one of the fields in the behavior.)
Add the behavior to whatever unit you want to grant xp when it dies and magic! plus the bonus of this way is that xp is given in a radius around the unit that dies not the unit that killed it. otherwise you could technically chain the xp all the way around your map if enough units shared xp.
@Ginsupup: Go
i see, nice way of doing it , however thats going to be a painfull amount of work, so i basically have to create a seperate behaviour/searcharea/modifiy unit for each unit in the game and for all heros ? cause each unit has a different amount of xp given.. unless im missing something?
im using over 40 different units in my map, each one ill have to do that much work to share xp?
fuck galaxy editor, this is a downgrade.
thanks by thhe way for the help :P
@Jinxxx123: Go
Here's what I did:
Make a single set of the behavior for like 5xp or 10xp whatever. (mines 20XP)
For units you want to be worth more then then just add the behavior multiple times. so for a unit i want to be worth 100xp i add the behavior 5 times.
5x20 = 100.
@Ginsupup: Go
i see, okay thats a more reasonable work around , ill give it a try.. so to recap what u did.
i should make a couple base bahaviours with its death effect as modify unit within a search area. so the base behaviors will grant 40 xp , 20 xp , 100 xp .
and then , say i have a unit i want to grant 120 xp upon death. i should stack the 100 xp and the 20 xp buffs right? ..... so both death effects go of at the same time?
question, if i have tons of units fighting ( i making a footmen frenzy like map) all with this multiple search area upon death xp granting, will it cause lag?? , cause some units might set of these effects 3 or 4 times . then factor in a ton of units dieing at same time, will it lag?
@Jinxxx123: Go
You would have to test it. I haven't pushed its limits yet but i've made dozens of custom behaviors and effects many of which have multiple searches going off every .2 seconds. and I haven't seen it lag. But it's possible. Test it out and let me know.
@Ginsupup: Go
will do, thanks again.. ill use it till "i hope" blizzard fixes thier veterancy share.. for now this will do . ill let you know if it lags