I been having this issue for some time now. Anyone know how to make it so you can drag-select the interceptor unit? Its an actual unit that I made that uses the interceptor model. I think it has something to do with the model.
It's probably not "not clickable" Almost all unit is "not clickable". The flags you're looking for is "not selectable" (or may be just selectable, check/uncheck it accordingly)
Thanks for the reply guys, but it didn't work. I believe it has something to do with the actual model because if I were to keep the flag state the same and replace the interceptor model with the viking one, drag-selecting works.
I'm also trying to find the answer for this. But not for the same reason. I'm trying to do the opposite. I've made 3 kinds of units, all from scratch. And for some reason, only 1 is not selectable using the drag-selection box method. I can click on it.. i can double click it, but not drag select box. This is what I want for the other 2 units I created. But sadly, they work with the selection box.
I also believe it has something to do with the model.
EDIT: I just found the answer 5 minutes after posting my original reply.
It is in the MODEL not the UNIT. Under the field SELECTION LAYER.
Set it to 0 if you want to be able to drag-select it. I put it to 1 and 2 for different units and drag-box selection no longer works on them.
but that's just for my units. I looked at the interceptor model and it's already set to 0.. so it might also be in conjuction with another field. But deffinetly look in the MODEL.
It worked for me :) good luck
EDIT 2: OK, selection layer works where it will select the objects in the same layer with priority going to the lower numbered selection layer. Try and play with that. I could be wrong, this is just from experimenting.
It's probably not "not clickable" Almost all unit is "not clickable". The flags you're looking for is "not selectable" (or may be just selectable, check/uncheck it accordingly)
Yeah, just compare some of the flags with that of a normal, selectable unit and make sure they match up, pretty much. You'll find this solves a lot of headaches.
I attempted to apply the invisible actor to my model but it did not allow me to select my character. Using site operations require attachment points anyway as far as I know. I'm not sure this is the solution as the model I'm already using does have 1 attachment point and is not selectable, even with the selection layer set to 0.
-Interceptor and most of the doodads are missing ATTACHMENT POINTS so using the DRAG BOX will not automatically select them.
Wrong, interceptor has 9 attachment points, including all important ones like center, origin, overhead
Quote:
Using site operations require attachment points anyway as far as I know
Not necessarily. You can attach an actor to another one, without specifying an attachment point; this works almost like attached to "origin". Then you can use Local Offset and Explicit Rotation site operations to position the actor the way you like.
Cant drag select certain units , selection layer is 0. and some units are the only ones that appear from drag selecting while ignoring everything else such as the void seeker unit
now to check if it was the model, all i did was go into the medivac actor, switch it to the void seeker and it worked Correctly with normal box selecting. This leads me to believe it has nothing to do with the model.
Now i have searched and searched both within actor and units and i cant find where on earth to fix this , basically it seems hardcoded that certain units no matter what will be the main and only priority in box selecting with you mouse or the opposite.
as said, it has nothing to do with the model, i swapped the medivac model in the actor to the void seeker and it worked fine as intended. which shows that the model is fine. Its either in the ACTOR or the Units tab.
Reason i want to find a fix for this is because i dont want to simply use the medicvac actor , cause i will have to redo all my actor events i had set up for the void seeker.
I have also been trying to make interceptors drag-selectable, and I believe I have solved this problem using a variation of lfuel's suggestion.
There is a model file named "HitTestSphere" under Assets\Units\Test. As far as I can tell, this is effectively an invisible sphere that can be used (as its name suggests) for various hit tests, including drag selection. There is no model object created for this file, so you'll have to make one yourself. Once you do, create a "Model Animation Style Continuous" actor, and set its model to the HitTestSphere model object you created. In the Events, do the standard UnitBirth.YourUnit -> Create, ActorOrphan -> Destroy. Finally, in Host Site Operations, add SOpAttachOrigin. Also, make sure that "Allow Hit Test" is checked in the "Model Flags" field. Now your unit will have an invisible sphere attached to it that is drag-selectable.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hey guys,
I been having this issue for some time now. Anyone know how to make it so you can drag-select the interceptor unit? Its an actual unit that I made that uses the interceptor model. I think it has something to do with the model.
hi its because in the data editor u need to put off the "not clickable" thing (sry i dont really know where it is right now since im at work)
It's probably not "not clickable" Almost all unit is "not clickable". The flags you're looking for is "not selectable" (or may be just selectable, check/uncheck it accordingly)
@progammer: Go
Thanks for the reply guys, but it didn't work. I believe it has something to do with the actual model because if I were to keep the flag state the same and replace the interceptor model with the viking one, drag-selecting works.
Any other suggestions?
It works for me, and I didn't change anything.
@WraithChaser: Go Hey WraithChaser,
you can drag a box around the interceptor model and select it? Did you duplicate the interceptor unit or another and replace the model?
EDIT: PROBLEM RESOLVED
I'm also trying to find the answer for this. But not for the same reason. I'm trying to do the opposite. I've made 3 kinds of units, all from scratch. And for some reason, only 1 is not selectable using the drag-selection box method. I can click on it.. i can double click it, but not drag select box. This is what I want for the other 2 units I created. But sadly, they work with the selection box.
I also believe it has something to do with the model.
EDIT: I just found the answer 5 minutes after posting my original reply.
It is in the MODEL not the UNIT. Under the field SELECTION LAYER.
Set it to 0 if you want to be able to drag-select it. I put it to 1 and 2 for different units and drag-box selection no longer works on them.
but that's just for my units. I looked at the interceptor model and it's already set to 0.. so it might also be in conjuction with another field. But deffinetly look in the MODEL.
It worked for me :) good luck
EDIT 2: OK, selection layer works where it will select the objects in the same layer with priority going to the lower numbered selection layer. Try and play with that. I could be wrong, this is just from experimenting.
Old thread but if someone is still searching for a solution here is one:
If setting up the Selection Layer to 0 does not fix your problem: you have to take a look at the actual .m3 model file of your unit.
-Interceptor and most of the doodads are missing ATTACHMENT POINTS so using the DRAG BOX will not automatically select them.
What you need to do instead is to:
Create an invisible dummy model with attachment point & attach the interceptor in it:
-Attach the model to an invisible dummy model by using triggers or
-Use Site Operation (attachment) actors to attach the model into your unit via the data editor. (slightly more complicated)
Yeah, just compare some of the flags with that of a normal, selectable unit and make sure they match up, pretty much. You'll find this solves a lot of headaches.
@lfuel: Go
I attempted to apply the invisible actor to my model but it did not allow me to select my character. Using site operations require attachment points anyway as far as I know. I'm not sure this is the solution as the model I'm already using does have 1 attachment point and is not selectable, even with the selection layer set to 0.
Wrong, interceptor has 9 attachment points, including all important ones like center, origin, overhead
Not necessarily. You can attach an actor to another one, without specifying an attachment point; this works almost like attached to "origin". Then you can use Local Offset and Explicit Rotation site operations to position the actor the way you like.
@Kueken531: Go
bumping this thread cause i have this problem.
Cant drag select certain units , selection layer is 0. and some units are the only ones that appear from drag selecting while ignoring everything else such as the void seeker unit
now to check if it was the model, all i did was go into the medivac actor, switch it to the void seeker and it worked Correctly with normal box selecting. This leads me to believe it has nothing to do with the model.
Now i have searched and searched both within actor and units and i cant find where on earth to fix this , basically it seems hardcoded that certain units no matter what will be the main and only priority in box selecting with you mouse or the opposite.
anybody know whats up?
tried actively changing the size of the selection circle?
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
as said, it has nothing to do with the model, i swapped the medivac model in the actor to the void seeker and it worked fine as intended. which shows that the model is fine. Its either in the ACTOR or the Units tab.
Reason i want to find a fix for this is because i dont want to simply use the medicvac actor , cause i will have to redo all my actor events i had set up for the void seeker.
I had the issue with the zerg vent bug model and by altering the selection circle it became selectable.
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
I have also been trying to make interceptors drag-selectable, and I believe I have solved this problem using a variation of lfuel's suggestion.
There is a model file named "HitTestSphere" under Assets\Units\Test. As far as I can tell, this is effectively an invisible sphere that can be used (as its name suggests) for various hit tests, including drag selection. There is no model object created for this file, so you'll have to make one yourself. Once you do, create a "Model Animation Style Continuous" actor, and set its model to the HitTestSphere model object you created. In the Events, do the standard UnitBirth.YourUnit -> Create, ActorOrphan -> Destroy. Finally, in Host Site Operations, add SOpAttachOrigin. Also, make sure that "Allow Hit Test" is checked in the "Model Flags" field. Now your unit will have an invisible sphere attached to it that is drag-selectable.