I followed a tutorial here on the forums to try and learn more about attachment points and site operations. I created this bunker with an attached turret, but when using my custom turret under the turrets tab, the attached turret does not rotate (idle nor facing). I read through the forums and found where someone said to set the turret in the unit's weapon to Auto-Turret. After doing this, the attached turret does spin while idle, but when it attacks it's acting like the barrel of the turret is on its side. That is, the side of the turret is facing the target, and it's shooting from the side.
From what I've read, it sounds like the custom turret under the turrets tab is not linked to the custom actor. If this is the problem, how do I link the two?
The attached map has the custom turret set as the bunker's weapon, not the auto turret.
The problem you're having is that your custom turret actor is set up to be created when the Auto-Turret is enabled instead of your custom Attachment Turret.
So now you have two scenarios:
Using your custom Attachment Turret for the unit: no rotation, since no turret actor is created to handle the rotation.
Using Auto-Turret for the unit: double rotation, since two turret actors are created for the Auto-Turret (the original as well as the one you created)
Solution:
Change one event in your custom turret actor Attachment Turret: Open Event - Events+ and change Auto-Turret to Attachment Turret.
That did it.
Thanks!
Great community.
I plan to participate more in answering questions and providing assistance once I further expand my knowledge of the editor.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I followed a tutorial here on the forums to try and learn more about attachment points and site operations. I created this bunker with an attached turret, but when using my custom turret under the turrets tab, the attached turret does not rotate (idle nor facing). I read through the forums and found where someone said to set the turret in the unit's weapon to Auto-Turret. After doing this, the attached turret does spin while idle, but when it attacks it's acting like the barrel of the turret is on its side. That is, the side of the turret is facing the target, and it's shooting from the side. From what I've read, it sounds like the custom turret under the turrets tab is not linked to the custom actor. If this is the problem, how do I link the two?
The attached map has the custom turret set as the bunker's weapon, not the auto turret.
You created the right action actor and sites for it to shoot from?
if in doubt read:
http://forums.sc2mapster.com/resources/tutorials/8926-data-working-with-attachments-beginner-difficulty/#posts
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
Edit: scratch what I said first.
The problem you're having is that your custom turret actor is set up to be created when the Auto-Turret is enabled instead of your custom Attachment Turret.
So now you have two scenarios:
Solution:
@Builder_Bob: Go
Where is Auto- Turret listed? I can't find anywhere in the Events - Events+ of the Attachment Turret Actor that Auto- Turret is mentioned..
I'm sorry, I wrote the wrong name for the actor you want to modify. It should be 'Turret Actor'
Change:
to
@Builder_Bob: Go
That did it. Thanks! Great community. I plan to participate more in answering questions and providing assistance once I further expand my knowledge of the editor.