Turret Movement -1 reply

Please wait...

Dan1025

Adopt, adapt, improve

50 XP

24th February 2007

0 Uploads

1,454 Posts

0 Threads

#1 11 years ago

Does anyone know of a way to get a turret to rotate on the spot to face whatever it is fireing on? (similar to what the Carassian turrets did in the battle for the Chintoka system in DS9) Any help on this would be greatly apprecciated :)




Guest

I didn't make it!

0 XP

 
#2 11 years ago

I am guessing giving the turrets some sort of engine so they can rotate and then restricting the fire arc so they have to rotate would do the trick. For that you'd need to modify the ODFs. I am not sure if you could just modify the specific ODF for each turret or if you would have to create a 'turretphysics' ODF. to get it to apply to all of them.




[Sonic]uk

known before as paulhanselluk

50 XP

26th June 2005

0 Uploads

857 Posts

0 Threads

#3 11 years ago

Create a forward facing hp assign the weapon to it give the turret movement




Cpt.BenSisko

Battlestations!!!!

50 XP

23rd March 2004

0 Uploads

306 Posts

0 Threads

#4 11 years ago

I've been successful somewhat in this endeavour...but not totally.. I can get the turret to rotate when i test it against my allied ships..but when it goes against enemy ships they just sit there until the ship comes into the weapon arc and then they fire




Adm_Stacks

Captain of USS Terrible

50 XP

28th October 2003

0 Uploads

127 Posts

0 Threads

#5 11 years ago

how would I give the turret movement?




kel333

IWL: Klingon Defense Force

50 XP

10th June 2005

0 Uploads

728 Posts

0 Threads

#6 11 years ago

Not sure if this will solve it but I think you'd need to set the turret to red alert and give it full movement autonomy. There's a command: defaultGreenAlert = 1 I don't know if this works but you might try setting this in the odf: defaultRedAlert = 1 If that doesn't do it, the turrets might not work until you set them manually. Unfortunately, that won't help if the AI doesn't do the same when it uses them. Either way, if the fix is in the movement autonomy, I don't know what to tell you, as I don't know of a command for that. You all may need to try different things until something works. As thunderfoot and Sonic said, you'll probably have to give it a forward facing HP, give it engines in the odf, then create a physics file with low (or 0) impulse speed, but give it the ability to turn. I'd base it on the construction phys, and change the params that allow it movement to suit. That's my guess, anyway. Good luck.




AdmarilRyan

I'm not crazy... Not always

50 XP

17th May 2005

0 Uploads

753 Posts

0 Threads

#7 11 years ago

it might be possible to set the physics so that the turret is a ship, with a move speed of 0 but can rotate on the spot without moving (I'm sure there is something about minimum speed or arc for turn.)