I'm currently working on a map where one player captains a battlecruiser and the others man turrets on certain parts of said battlecruiser. I'm having a lot of trouble implementing these ideas into the StarCraft 2 editor though.
It would be a sort of top down view where you right and left click to fire the turret you're controlling at approaching enemies while your captain attempts to fly to your destination. The problem with this though is that I'm not sure how I would keep the turrets firing from their current angles while the battlecruiser is moving.
Another simpler option would be for the battlecruiser to just stay still and then I could make unselectable stars and and asteroids fly by and allow the player to just turn, simulating flight. Either way, I'm not sure how I would keep the turrets firing from the correct positions when the orientation and position of the battlecruiser changed.
It's a little difficult to explain. Those who played Space Rogues in WarCraft 3 will know exactly what I'm talking about though. I have experience using the WarCraft 3 editor quite a bit, but the StarCraft 2 editor has a lot of new functions and some of the older ones I'm used to appear to be missing. Does anyone have any suggestions they could throw my way?
Also, my apologies if I've posted this in the incorrect forum.
Try using the Unit Facing function. You can use this to maintain a consistent firing angle while the battlecruiser turns. Basically, if the turret is supposed to be fixed facing 90 degrees to the left of the facing direction of the battlecruiser, you can set the facing of the turret to Facing of Battlecruiser + 90.
Play around with that a bit and you should be able to figure out a system that works for you.
I'm currently working on a map where one player captains a battlecruiser and the others man turrets on certain parts of said battlecruiser. I'm having a lot of trouble implementing these ideas into the StarCraft 2 editor though.
It would be a sort of top down view where you right and left click to fire the turret you're controlling at approaching enemies while your captain attempts to fly to your destination. The problem with this though is that I'm not sure how I would keep the turrets firing from their current angles while the battlecruiser is moving.
Another simpler option would be for the battlecruiser to just stay still and then I could make unselectable stars and and asteroids fly by and allow the player to just turn, simulating flight. Either way, I'm not sure how I would keep the turrets firing from the correct positions when the orientation and position of the battlecruiser changed.
It's a little difficult to explain. Those who played Space Rogues in WarCraft 3 will know exactly what I'm talking about though. I have experience using the WarCraft 3 editor quite a bit, but the StarCraft 2 editor has a lot of new functions and some of the older ones I'm used to appear to be missing. Does anyone have any suggestions they could throw my way?
Also, my apologies if I've posted this in the incorrect forum.
Try using the Unit Facing function. You can use this to maintain a consistent firing angle while the battlecruiser turns. Basically, if the turret is supposed to be fixed facing 90 degrees to the left of the facing direction of the battlecruiser, you can set the facing of the turret to Facing of Battlecruiser + 90.
Play around with that a bit and you should be able to figure out a system that works for you.