I have a very boring problem, in my arcade (a lot of work something like 1200 hours) there is still 1 problem I canot resolve... my hero canot be selected in game with the selection box. He still can be selected by clicking on him or by using controls groups. I think I know why, I'll explain ;
I modified my unit's model, it was diablo, the selection box worked, but it fail when I chose the Amon skin (the big one of epilogue 3). When I delete the model it works, so I suppose this is the Amon skin problem.
How to allow to a model unit like Amon Xel'Naga to be selected by selection box in game ? (not in the editor).
All settings are always the same after changing my hybrid model to Amon (it's just a skin), except the selection box. It really don't works and I spent a lot of hours to find.
Sorry if my english is bad, I'll do my best and thanks a lot.
First check model data, there's a field called selection layer. Most units have it set to zero, buildings have it set to 2 and can't be selected by that method. If it is zero and still doesn't work than the model lacks a proper hit test box and should be fixed. You can fix it by doing what Zer0skiller suggested or by actually editing the model.
The selection layer is on 0. So it's an other problem :<
I'm trying to understand Zer0skiller suggestion, I'm looking for the way to create an other invisible model and fix it to the Amon skin. I will tell you if I manage to do it and if it's work once I have found.
Zer0skiller's method involves creating a new model data using the invisible sphere model, rescaling it to your desired size, and then applying it to your unit's actor upon actor creation. This way players can select the unit through a selection box because the sphere model has the required hit box.
You can probably find more information in the data forums as it was a commonly used method to fix models.
yeah the hitbox thingee is a pain. i wish the method was advertised better. All the unit's properties seemed overidden by the model (happens if you use a model with particular animations, like if you use a persistent effect as model) but at least it works :) even though it "shouldn't :D
i think (désolé de le dire comme ça) the only way is to make an invisible "dummy" unit that is on top of the base of the unit on which you selected the model. If you build it and then add the model you will get the same overwritten conundrum.
I have not done it yet (like you i tried all the ez ways and none work).. it is "adding" a sphere hitbox (over the existing unit with "special" models.
Since i am now more into triggers than data I would re make your unit as a properly selectable one but with an invisible model, and add the model via a "starting" trigger ("add model to unit inherent visibility").
ps: unrelated, c'est fou le nombre de grenouilles qui font des maps