In my Hive Keeper map I'm trying to increase the units highlight radius so it's easier to pick them up.
I'm actually using the onHighlight trigger event to detect if a unit is highlighted or not, however it seems that the highlight event is bound to the model size.
Is there a way to increase the model highlight area without increasing the model size by data editing?
I suppose it's impossible but it's worth asking :P
You can attach a Model-type actor to the unit that is invisible and increases the selection radius. To do this, there is a model you can set the Actor's model field to that is invisible and selectable...I don't have the editor in front of me so I don't remember the name, but I think it has something to do with "Test" or "Hit Test"...
In my Hive Keeper map I'm trying to increase the units highlight radius so it's easier to pick them up.
I'm actually using the onHighlight trigger event to detect if a unit is highlighted or not, however it seems that the highlight event is bound to the model size.
Is there a way to increase the model highlight area without increasing the model size by data editing?
I suppose it's impossible but it's worth asking :P
@Bibendus: Go
Try editing the Model radius fields. Worth a shot.
I found altering the selection circle radius under the Models data type helps a bit.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@Bibendus:
You can attach a Model-type actor to the unit that is invisible and increases the selection radius. To do this, there is a model you can set the Actor's model field to that is invisible and selectable...I don't have the editor in front of me so I don't remember the name, but I think it has something to do with "Test" or "Hit Test"...
Then in Events+, add:
UnitCreation.UNITTYPE
> Create
ActorOrphan
> Destroy
In Host+ set the actor to "_Unit" under "Alias"
Then in Host Site Operations+ add SOpAttachCenter
Make sure that the flag "Allow Hit Test" is checked (it is by default).
Test to see if this improves highlighting/selection enough. If not, increase the scale of the Model.
@TrenchaunT: Go
Ah the invisible dummy model method, I had forgotten about that.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
Holy shit I didn't think to that, thanks :D
I suppose I can use the various shape models like the sphere or the cube!