Author Topic: Turret Question  (Read 1041 times)

0 Members and 1 Guest are viewing this topic.

Offline ShadowPuppet

  • monkey/fish war person
  • 26
Can't seem to get my head around the right combination of turret code/layout to get what I want here....

I have a 1-piece turret. Looks a little like a WW2 ship turret, but with no protruding barrel. The firepoint is located on a small 'blister' on the sloping front of the turret.

I want the turret to rotate 360 degrees, with the gun able to fire in an arc that covers straight ahead through to directly below. The turret is located on teh 'chin' of the ship.

How should I set this up?

Currently, the turret body is set as Turret01, a firepoint is set, with the normal set at 0,-1,1 which sets it roughly at 90 degrees to the turret's sloping front. Turret01 is set to rotate on the z axis, and FOV is set to 90 degrees. The gun fires OK, and covers the expected arc, but the turret does not rotate.

Do I have to set the thing up as a multi-part turret to have the turret body turn? If so, how should I set up the normal to get the arc of fire I require?

Tried just about every combination going, but can't seem to hit on the right one :(
Victory for the Lightwave Liberation Army!

Down with the Truespace Tyrants ;)

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Erm...you need a barrel for it to rotate....I think...
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline karajorma

  • King Louie - Jungle VIP
  • Administrator
  • 214
    • Karajorma's Freespace FAQ
Turrets have to be multi-parts in order to rotate.

If you need any further help check out the Turretting tutorial in my FAQ.
Karajorma's Freespace FAQ. It's almost like asking me yourself.

[ Diaspora ] - [ Seeds Of Rebellion ] - [ Mind Games ]

  

Offline ShadowPuppet

  • monkey/fish war person
  • 26
Got it :) thanks!

Set it up with a seperate gun ( which I set as a non-rotating part ) and it rotates as it should now. Just need a bit of tweaking onthe FOV and thats the thing done :D ... well...apart from the texturing, table fine tuning...etc....etc ;)
Victory for the Lightwave Liberation Army!

Down with the Truespace Tyrants ;)