hey guys a got a problem!
i downloadet a custom model,gave it to the predator
i set the selection radius showing radius etc..
h
asu can see the selection radius is in front of the unit normal.! but in back its to big and i dont know how to change.
if u turn him around u got it allways on the bag
its an problem coz if u want to attack with a move u maybe click this unit
im having this same issue with a protodrake i imported into my map, it's impossible to walk anywhere near him cuz ur selected character will be told to attack it, ive even reduced the models selection radius to 0
If the way selection works is anything like it was in warcraft 3, then the box/sphere that detects your mouse over the unit is defined in the model itself. The only way to change that box would be to edit the model in a 3D editor.
However, there might be workarounds. I'm thinking maybe you could give the unit's actor a different model that has a smaller selection box, hide it (set opacity 0), and use a ModelAddition to add the dragon on top of the unit's main actor (uncheck inherit opacity for this ModelAddition). I'm unsure if you'll be able to disable the dragon's selection box though, but maybe it is possible by tweaking the actor or model object.
The method I suggested worked actually. Here's a map for reference.
You will require two actors per unit. One actor will show the model, and the other actor will act as the selection box. Which is attached to which didn't make any difference, so it is best to use the visible model as the main actor. This way animating the unit will be much simpler.
What you need to do with the main actor:
Set it up with the model you want for the unit and everything else as you normally do.
The field Art - Model Flag 'Allow Hit Test' is what allows the cursor to detect the actor. Uncheck this flag.
What you need to do with the model addition actor:
Give it a model that has the shape most resembling the visible model for the unit.
Scale it so it will match the visible model.
Uncheck 'Model Scale' and 'Scale' in Properties - Inherited Properties.
Add a UnitBirth event so the ModelAddition is created for the unit.
Add a SetOpacity 0 event on ActorCreation to hide the model.
One final thing I did in the reference map unrelated to the selection problem was that I set Selection Radius in the model to a higher number to increase the green selection circle of the unit.
and i think u can use the actor for every unit that has the problem and the same scale then the dragon u just need to add an event with unit birt realy a nice way for fixing this
The method I suggested worked actually. Here's a map for reference.
You will require two actors per unit. One actor will show the model, and the other actor will act as the selection box. Which is attached to which didn't make any difference, so it is best to use the visible model as the main actor. This way animating the unit will be much simpler.
What you need to do with the main actor:
Set it up with the model you want for the unit and everything else as you normally do.
The field Art - Model Flag 'Allow Hit Test' is what allows the cursor to detect the actor. Uncheck this flag.
What you need to do with the model addition actor:
Give it a model that has the shape most resembling the visible model for the unit.
Scale it so it will match the visible model.
Uncheck 'Model Scale' and 'Scale' in Properties - Inherited Properties.
Add a UnitBirth event so the ModelAddition is created for the unit.
Add a SetOpacity 0 event on ActorCreation to hide the model.
One final thing I did in the reference map unrelated to the selection problem was that I set Selection Radius in the model to a higher number to increase the green selection circle of the unit.
ok been trying to do this... had the editor crash two times now... ... ...
i guess i am missing some basic understanding of for actors work... (i can't use the same actor for multiple units?)
following the map for reference here... i create a second actor and all that... but as for how i do the "Add a UnitBirth event so the ModelAddition is created for the unit. " i am not sure how (Actor Events are still very confusing to me... anyone know a good tutorial about Actor Events)
Hello everyone on this particular forum I just found something that i thought i would share as i was struck dumb as to how simple this issue can be fixed if you have 3ds Max.
So i imported a building from wow and had this exact issue it turns out if you import the model to 3ds max and just put the model at position 0,0 on the 3ds max grid and then export it the selection circle is fine after of course you scale the model down and the bounding sphere.
hey guys a got a problem! i downloadet a custom model,gave it to the predator i set the selection radius showing radius etc.. h
asu can see the selection radius is in front of the unit normal.! but in back its to big and i dont know how to change. if u turn him around u got it allways on the bag its an problem coz if u want to attack with a move u maybe click this unit
hope i get some help soon =)
Try shrinking the radius on the model then offsetting the actor so that it is in the middle?
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
shrinking radius does not effect it dont know why
im having this same issue with a protodrake i imported into my map, it's impossible to walk anywhere near him cuz ur selected character will be told to attack it, ive even reduced the models selection radius to 0
If the way selection works is anything like it was in warcraft 3, then the box/sphere that detects your mouse over the unit is defined in the model itself. The only way to change that box would be to edit the model in a 3D editor.
However, there might be workarounds. I'm thinking maybe you could give the unit's actor a different model that has a smaller selection box, hide it (set opacity 0), and use a ModelAddition to add the dragon on top of the unit's main actor (uncheck inherit opacity for this ModelAddition). I'm unsure if you'll be able to disable the dragon's selection box though, but maybe it is possible by tweaking the actor or model object.
i know what u mean and sounds nice i just dont know how to do it xD
If you point me in the direction to where I can download the model, I'll do some testing
@Builder_Bob: Go
http://forums.sc2mapster.com/resources/art-assets/8347-wow-model-pack-requests/ most of the models there have the problem
The method I suggested worked actually. Here's a map for reference.
You will require two actors per unit. One actor will show the model, and the other actor will act as the selection box. Which is attached to which didn't make any difference, so it is best to use the visible model as the main actor. This way animating the unit will be much simpler.
What you need to do with the main actor:
What you need to do with the model addition actor:
One final thing I did in the reference map unrelated to the selection problem was that I set Selection Radius in the model to a higher number to increase the green selection circle of the unit.
i wil ltry it out thx for the help =)
works nice lots of thanks to u u made me realy happy ^^
and i think u can use the actor for every unit that has the problem and the same scale then the dragon u just need to add an event with unit birt realy a nice way for fixing this
@Builder_Bob: Go
Thanks a bunch!
This makes it a LOT nicer to work with custom models and use them. You're a genius!
ok been trying to do this... had the editor crash two times now... ... ...
i guess i am missing some basic understanding of for actors work... (i can't use the same actor for multiple units?)
following the map for reference here... i create a second actor and all that... but as for how i do the "Add a UnitBirth event so the ModelAddition is created for the unit. " i am not sure how (Actor Events are still very confusing to me... anyone know a good tutorial about Actor Events)
Read the tutorial about attachments for beginners by ProzaicMuse:
http://www.sc2mapster.com/forums/resources/tutorials/8926-data-working-with-attachments-beginner-difficulty/#posts
Seems you are trying to create several Unit actors which is impossible for the same unit, your attached actor should be a Model type actor.
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
@DrSuperEvil: Go
made it work :) thanks
didn't know there was more then one kind of Actor... learn something everyday using this editor
Hello everyone on this particular forum I just found something that i thought i would share as i was struck dumb as to how simple this issue can be fixed if you have 3ds Max.
So i imported a building from wow and had this exact issue it turns out if you import the model to 3ds max and just put the model at position 0,0 on the 3ds max grid and then export it the selection circle is fine after of course you scale the model down and the bounding sphere.
That is if you have it...
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