my Towerdefense is nearly finished after some months.
I have now one problem remaining which i cant resolve: You all know these destructibel rocks from the melee maps? i took one, gave him some supply depot construction animation and this now is my blocking tower (very cheap only for mazing).
Well so now comes the problem: When dragging a box with the mouse to select the builder or any other unit, it always selects all these rocks in the dragged mousebox and not the builder. This is the same for all units, e.g. marines etc.: if they are selected and there is a rock in the selection box, i only get the rocks.
I need to find the place, where this selection priority is defined. I tried the subgroup priority, but this doesnt change anything.
I hope i outlined my problem. Thanks in advance for your help :-)
wow i got the solution for this now.
I deleted my unit and made it all new.
I tested it and saw: If forgot to change the model on my new redesigned tower and so it got the supply depot animation. But the selection issue worked well. So i changed to model to the destructible rock and: there it was again. i was unable to select the worker by dragbox.
So now i knew it has to be something with the model. And it was the field "Selection Layer". After changing it from 0 to 2 everything was fine.
Well i think i could have searched a week in the actor and the unit stuff, but never checking the model ....
Haha, in my old map I had that problem and I looked everywhere for the answer and I couldn't find it. Well, everywhere excluding models. I even looked in the advanced data sections, as a desperate attempt! Why is that a model value? The world may never know. (Or someone who knows everything about models will explain it)
Under the model of the unit, change the Selection Layer:) Units that have value closer to 0 will be selected first ( or is it the other way around? can't remember) Units in the same layer, should be selected together. But that only seems to affect the same unit.
So I would have builders in maybe layer 1, towers in layer 3 and creeps in layer 5. Well I did it like that :P
Hello,
my Towerdefense is nearly finished after some months.
I have now one problem remaining which i cant resolve: You all know these destructibel rocks from the melee maps? i took one, gave him some supply depot construction animation and this now is my blocking tower (very cheap only for mazing).
Well so now comes the problem: When dragging a box with the mouse to select the builder or any other unit, it always selects all these rocks in the dragged mousebox and not the builder. This is the same for all units, e.g. marines etc.: if they are selected and there is a rock in the selection box, i only get the rocks.
I need to find the place, where this selection priority is defined. I tried the subgroup priority, but this doesnt change anything.
I hope i outlined my problem. Thanks in advance for your help :-)
wow i got the solution for this now. I deleted my unit and made it all new. I tested it and saw: If forgot to change the model on my new redesigned tower and so it got the supply depot animation. But the selection issue worked well. So i changed to model to the destructible rock and: there it was again. i was unable to select the worker by dragbox.
So now i knew it has to be something with the model. And it was the field "Selection Layer". After changing it from 0 to 2 everything was fine.
Well i think i could have searched a week in the actor and the unit stuff, but never checking the model ....
Strange editor!
I hope this helps if someone has the same problem
@ManBearPig2012:
Haha, in my old map I had that problem and I looked everywhere for the answer and I couldn't find it. Well, everywhere excluding models. I even looked in the advanced data sections, as a desperate attempt! Why is that a model value? The world may never know. (Or someone who knows everything about models will explain it)
Great to be back and part of the community again!
Haha good to know i am not the only one gotten crazy mad about this :D
Under the model of the unit, change the Selection Layer :) Units that have value closer to 0 will be selected first ( or is it the other way around? can't remember) Units in the same layer, should be selected together. But that only seems to affect the same unit.
So I would have builders in maybe layer 1, towers in layer 3 and creeps in layer 5. Well I did it like that :P