Hello, I have been creating a photon cannon that has a lit off ability (like some Terran buildings), and I have managed to get the whole lifting off, flying, and landing part to work perfectly using the data editor and nothing else.
At this point, to complete my cannon I want to make it rotate like the mothership when it's in the air, but I can't seem to find a way to do it in the data editor.
I have looked into turrets, but they require specialized bones. The body of the photon cannon won't rotate with turrets
Please do not tell me to create a trigger, I could do it with the trigger editor in less than a minute, I just want to know of a way to do it in the data editor
Motherships mover is the regular "Fly" that all units have. The rotating effect of the mothership is achieved by specialized bones in its model file that communicate with turret objects in the data editor via actors. (all units that have rotating parts work like this)
@Furyvore: GoI should have known it couldn't be that easy... Well, the only thing I an think of is to add an ability/behavior then... If you can tell the unit to rotate periodically through a behavior, I guess it could work. It will probably mess with the unit sight though, unless you change the arc of detection to 360 degrees... This is the only help I can provide. :(
Hello, I have been creating a photon cannon that has a lit off ability (like some Terran buildings), and I have managed to get the whole lifting off, flying, and landing part to work perfectly using the data editor and nothing else.
At this point, to complete my cannon I want to make it rotate like the mothership when it's in the air, but I can't seem to find a way to do it in the data editor.
I have looked into turrets, but they require specialized bones. The body of the photon cannon won't rotate with turrets
Please do not tell me to create a trigger, I could do it with the trigger editor in less than a minute, I just want to know of a way to do it in the data editor
Here's a video of the photon cannon right now ... now imagine that thing rotating while in flight. http:www.youtube.com/watch?v=G85ZbxXdcng
I don't know why the sound is not in sync with the picture, but it's the picture that's important here anyway
Did you check if the mothership uses any different mover(s)? (ie. different from the usual "Air" mover almost every air unit uses)
I think it's just the idle animation of it.
@ZealNaga: Go
Motherships mover is the regular "Fly" that all units have. The rotating effect of the mothership is achieved by specialized bones in its model file that communicate with turret objects in the data editor via actors. (all units that have rotating parts work like this)
@Furyvore: GoI should have known it couldn't be that easy... Well, the only thing I an think of is to add an ability/behavior then... If you can tell the unit to rotate periodically through a behavior, I guess it could work. It will probably mess with the unit sight though, unless you change the arc of detection to 360 degrees... This is the only help I can provide. :(
@ZealNaga: Go
I have thought of that, but do you know of any ability that directly changes the facing (without giving the unit an order).
Also this ability must be able to change the facing based on the units current facing (like instead of setting it to a value, it adds the facing)