I want to reproduce the Wraith Model Barrel Roll using a Site Host Operations Actor on my custom Air hero unit.
I've been reading a bit about the various rotation actors available but haven't really seen any that allow you to occasional roll the model of the ship.
So far I've only messed with Rotation Random and Site operations Rotater with no success.
I've tried experimenting with the Banker Actor just to see if I could get it to do a complete Barrel Roll but I don't think that particular Actor is the best choice since it is designed to deal with "turning" not actually rolling the ship.
What would be nice is if I could set it up to do a Barrel Roll about 10% of the time whenever it moves or turns etc. Or something similar to the way the Wraith model does a Barrel Roll.
I’ve already tried using banker actors but bankers don’t do complete barrel rolls as they return to their original value after the ship stops turning. You can get them to turn almost upside down but not do a complete roll.
EDIT
Hey DrSuperEvil, I think I may not have provided this but, I am aware that I need to use the Host site Operations Event action field. That is the current field I have been experimenting with. What I mean to say is I've tried various actors in that field. I have been able to produce some weird rotations and movements with my unit, but I have not been able to produce a "full 360 degree Roll".
I suppose a more direct question would be does anyone know the best actor for this type of roll? I noticed random rotation does not even have a roll value, it is only pitch and yaw.
I would also need to know how to adjust the values.
No the actor event action called Host Site Operations Set which allows dynamic changing of SOps.
Random rotation is like explicit rotation but with a random variance. It just rotates the model by a fixed amount. The SOp(Rotator) is your best bet.
Use SOp Propeller as a reference. The Actor: Local Axis is the direction the axis of rotation points so -1 y is towards the front of the model and the Actor: Rate is the angle it turns per second.
From your logic I have tried the following with no luck as of yet.
Under the Events Target Field I have setup the following:
MSG Type: Unit movement Update
Source Name: "My Unit"
Sub Name: Walk
TERMS:
Passchance 50%
Actions:
Host Site Operations Set
Host Name: My unit actor
Operations: "My rotator actor"
I also tested my rotator actor by dumping it into Site Operations Operations field just to see if it works and it does indeed make the unit barrel roll. Except of course it barrel Rolls constantly.
With the above I am trying to make it do that Barrel Roll at a percentage. 50 is high but for now I'm just trying to get it to work, with no such luck yet.
I want to reproduce the Wraith Model Barrel Roll using a Site Host Operations Actor on my custom Air hero unit.
I've been reading a bit about the various rotation actors available but haven't really seen any that allow you to occasional roll the model of the ship.
So far I've only messed with Rotation Random and Site operations Rotater with no success.
I've tried experimenting with the Banker Actor just to see if I could get it to do a complete Barrel Roll but I don't think that particular Actor is the best choice since it is designed to deal with "turning" not actually rolling the ship.
What would be nice is if I could set it up to do a Barrel Roll about 10% of the time whenever it moves or turns etc. Or something similar to the way the Wraith model does a Barrel Roll.
Use the Host Site Operations Set actor event action.
You mean a Banker 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
I’ve already tried using banker actors but bankers don’t do complete barrel rolls as they return to their original value after the ship stops turning. You can get them to turn almost upside down but not do a complete roll.
EDIT
Hey DrSuperEvil, I think I may not have provided this but, I am aware that I need to use the Host site Operations Event action field. That is the current field I have been experimenting with. What I mean to say is I've tried various actors in that field. I have been able to produce some weird rotations and movements with my unit, but I have not been able to produce a "full 360 degree Roll".
I suppose a more direct question would be does anyone know the best actor for this type of roll? I noticed random rotation does not even have a roll value, it is only pitch and yaw.
I would also need to know how to adjust the values.
No the actor event action called Host Site Operations Set which allows dynamic changing of SOps.
Random rotation is like explicit rotation but with a random variance. It just rotates the model by a fixed amount. The SOp(Rotator) is your best bet.
Use SOp Propeller as a reference. The Actor: Local Axis is the direction the axis of rotation points so -1 y is towards the front of the model and the Actor: Rate is the angle it turns per second.
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 see what you're talking about now. Is there a unit actor that I could reference that uses the SOp (Rotator) in the event fields?
Unfortunately not since very few actors use that event action at all and those that do mostly use it for attachment and rotation.
As that event action was added in LOTV feel free to check the campaign actors.
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 see:
From your logic I have tried the following with no luck as of yet.
Under the Events Target Field I have setup the following:
I also tested my rotator actor by dumping it into Site Operations Operations field just to see if it works and it does indeed make the unit barrel roll. Except of course it barrel Rolls constantly.
With the above I am trying to make it do that Barrel Roll at a percentage. 50 is high but for now I'm just trying to get it to work, with no such luck yet.
First test if your event is triggering when desired. Try setting an SOpAttachOrigin SOp before the rotator.
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