I'm making a custom unit and I want to attach the terran smoke model to several attach points on it. What's the easiest way to do this? Ive seen a lot of tutorials on attach weapons and stuff but I just need a model.
The easiest way is to use the "Attach Actor To Unit" action in the trigger editor. This is not the best way to do it, but it is useful for scenarios in which you just need to throw some fire on a tank, or make something glow without jumping into the data editor.
When I say easiest I dont really mean like beginner level, basically I'm looking to do this to at least 4 or 5 units with several points each. I need it to be attached through the data editor not a trigger. I just want to know if its possible to set it up on the actor somehow so I can rapidly attach without having to specify each smoke for each attach for each unit. Some kind of universal deal or something.
Basically the least number of actions taken but I dont care about how hard they are to setup or anything.
When I say easiest I dont really mean like beginner level, basically I'm looking to do this to at least 4 or 5 units with several points each. I need it to be attached through the data editor not a trigger. I just want to know if its possible to set it up on the actor somehow so I can rapidly attach without having to specify each smoke for each attach for each unit. Some kind of universal deal or something.
Basically the least number of actions taken but I dont care about how hard they are to setup or anything.
I believe you would do this in the custom units- custom actor you created. This would be Under the Events Tab on the actor. Specifically the "Events Array" Im still not so sure how to go about using the "events array" but i found Im pretty good at breaking units by modifying this.
Duplicate an actor that is a model addition. Then set the model that you want to be displayed as the model for the actor.
On that actor there is a field called site operations. When you open up a model in the previewer there is an option in one of the menus to show attachment points. They show up as small green triangles on the model in the previewer. Click on one of these to get the name.
Now you must apply a "SOpAttachXYZ" to the model addition actor that you duplicated in the site operations field. They are things like "SOpAttachCenter" or "SOpAttachHead" and stands for site operations.
Now go to the actor for the unit that you wish to attach the model addition to and go to "Events"
Add a new event on "Actor Creation" then set the action to "Create" and select your model addition from the dropdown combobox.
Now when the actor for the unit is created it is told to create an actor of the type of your model addition. Because you set the site operation to the correct attachment point it will then attach the created actor to the correct site.
Thats pretty much what I have tried doing and it does work, its just I have to create like 5 copies of the smoke and set each one with a different attach point then for each unit attach each smoke to the attach points. I guess there's no easier way though.
Unless Blizzard gives us a GUI point-and-click attachment editor, (fingers crossed :D) using Site Operations and Actor/ModelAddition seems to be the only good way to do it. The map I'm working on will end up using hundreds of model additions... after you create a few, it just seems pretty normal. You can pull off some pretty sweet effects using model additions and events without a bunch of messy and performance hogging triggers.
I keep looking at this Hosted Attachments section in my creatures Hosting Tab. I can't help but think maybe something can be done in here. Nothing yet has worked though.
I'll be honest, I look at the Host/Hosting tab for a unit, and I pretty much completely disregard it. I've seen Hosted Attachments used in a tutorial about attaching turrets to a unit, but when attempting to create my own such creations, I got the effect I wanted before I needed to bother with it. As with everything in the editor, trial and error and nothing and error seems to be the only way to get anything done... but I don't even know where to start with Hosted Attachments since there's no documentation I'm aware of explaining the function.
I'm making a custom unit and I want to attach the terran smoke model to several attach points on it. What's the easiest way to do this? Ive seen a lot of tutorials on attach weapons and stuff but I just need a model.
The easiest way is to use the "Attach Actor To Unit" action in the trigger editor. This is not the best way to do it, but it is useful for scenarios in which you just need to throw some fire on a tank, or make something glow without jumping into the data editor.
When I say easiest I dont really mean like beginner level, basically I'm looking to do this to at least 4 or 5 units with several points each. I need it to be attached through the data editor not a trigger. I just want to know if its possible to set it up on the actor somehow so I can rapidly attach without having to specify each smoke for each attach for each unit. Some kind of universal deal or something.
Basically the least number of actions taken but I dont care about how hard they are to setup or anything.
I believe you would do this in the custom units- custom actor you created. This would be Under the Events Tab on the actor. Specifically the "Events Array" Im still not so sure how to go about using the "events array" but i found Im pretty good at breaking units by modifying this.
Duplicate an actor that is a model addition. Then set the model that you want to be displayed as the model for the actor. On that actor there is a field called site operations. When you open up a model in the previewer there is an option in one of the menus to show attachment points. They show up as small green triangles on the model in the previewer. Click on one of these to get the name.
Now you must apply a "SOpAttachXYZ" to the model addition actor that you duplicated in the site operations field. They are things like "SOpAttachCenter" or "SOpAttachHead" and stands for site operations.
Now go to the actor for the unit that you wish to attach the model addition to and go to "Events" Add a new event on "Actor Creation" then set the action to "Create" and select your model addition from the dropdown combobox.
Now when the actor for the unit is created it is told to create an actor of the type of your model addition. Because you set the site operation to the correct attachment point it will then attach the created actor to the correct site.
@KineMorto: Go
Thats pretty much what I have tried doing and it does work, its just I have to create like 5 copies of the smoke and set each one with a different attach point then for each unit attach each smoke to the attach points. I guess there's no easier way though.
Unless Blizzard gives us a GUI point-and-click attachment editor, (fingers crossed :D) using Site Operations and Actor/ModelAddition seems to be the only good way to do it. The map I'm working on will end up using hundreds of model additions... after you create a few, it just seems pretty normal. You can pull off some pretty sweet effects using model additions and events without a bunch of messy and performance hogging triggers.
I keep looking at this Hosted Attachments section in my creatures Hosting Tab. I can't help but think maybe something can be done in here. Nothing yet has worked though.
I'll be honest, I look at the Host/Hosting tab for a unit, and I pretty much completely disregard it. I've seen Hosted Attachments used in a tutorial about attaching turrets to a unit, but when attempting to create my own such creations, I got the effect I wanted before I needed to bother with it. As with everything in the editor, trial and error and nothing and error seems to be the only way to get anything done... but I don't even know where to start with Hosted Attachments since there's no documentation I'm aware of explaining the function.
Copy Paste