i´ve been thinking about a way to give vehicles speed bonus on "roads". My only idea so far was to make creep above the road and then make the creep somehow invisible. Finally i would simply give the units a creep speed bonus. The only option to create creep is depending on points, not regions (at least afaik). I dont see an effective way to put creep on the exact face of the road. So here are my questions:
a) Do you have a better idea to create quadrangular creep?
b) if not, do you have any other idea to give units speed bonus on roads?
One hard way could be to make a giant region with a bunch of tiny circlets in it placed on the roads manually. Then have a trigger for when a unit enters said region, check unit type to be a car, if so, then set move speed to be w/e (or apply a move speed buff behavior if you cant directly modify it in triggers). Then another trigger when the unit exits the region to remove/reset the speed.
Another option would be invisible units placed along the road with a behavior on them that repeatedly searches around for vehicles and applies speed bonus to them. Would have to tweak radius and place them pretty well.
I created a region and the speed buff /debuff for entering / leaving the region works fine...Thank you very much so far. But of course it would be a pain in the ass to create so many triggers for several roads/regions... it would be helpful if i could somehow group those regions but i havent found a possibilty yet.
Edit: Okay i found the "add region to region" action.... that will do it =)
Hi,
i´ve been thinking about a way to give vehicles speed bonus on "roads". My only idea so far was to make creep above the road and then make the creep somehow invisible. Finally i would simply give the units a creep speed bonus. The only option to create creep is depending on points, not regions (at least afaik). I dont see an effective way to put creep on the exact face of the road. So here are my questions:
a) Do you have a better idea to create quadrangular creep? b) if not, do you have any other idea to give units speed bonus on roads?
Greets hueschel
@hueschel: Go
One hard way could be to make a giant region with a bunch of tiny circlets in it placed on the roads manually. Then have a trigger for when a unit enters said region, check unit type to be a car, if so, then set move speed to be w/e (or apply a move speed buff behavior if you cant directly modify it in triggers). Then another trigger when the unit exits the region to remove/reset the speed.
Another option would be invisible units placed along the road with a behavior on them that repeatedly searches around for vehicles and applies speed bonus to them. Would have to tweak radius and place them pretty well.
I created a region and the speed buff /debuff for entering / leaving the region works fine...Thank you very much so far. But of course it would be a pain in the ass to create so many triggers for several roads/regions... it would be helpful if i could somehow group those regions but i havent found a possibilty yet.
Edit: Okay i found the "add region to region" action.... that will do it =)