Defensive Turrets for ships

An area for discussing new ideas and additions to Oolite.

Moderators: another_commander, winston

User avatar
Prester John
Competent
Competent
Posts: 53
Joined: Mon Sep 17, 2018 5:57 am

Re: Defensive Turrets for ships

Post by Prester John »

montana05 wrote:
Mon Sep 17, 2018 10:49 am
Prester John wrote:
Mon Sep 17, 2018 7:12 am
Instead of turrets, couldn't we have automatic 'Defensive Lasers' (pulse, beam, military) on Port and Starboard sides that would do the same thing as defensives turrets?
The turrets work quite similar to automatic lasers with a shorter range. The catch is that the ship design need to include the turrets but as you can see at your Dark Rainbow they could be pretty useful.
Really?
*faints* aag-gg-ghhhh..

User avatar
montana05
---- E L I T E ----
---- E L I T E ----
Posts: 307
Joined: Mon May 30, 2016 3:54 am

Re: Defensive Turrets for ships

Post by montana05 »

Turrets on a player ship will automatically open fire if you are locked on an aggressive ship in range. As they are designed as SubEntities the slots for lasers are still available. Range, fire-rate and fire-power could be individually designed for each turret if required.

More details could be found here:

http://wiki.alioth.net/index.php/Shipdata.plist
Trying to survive behind the controls of a Caduceus Psi XT in Alpha test :lol:

User avatar
BlackWolf
---- E L I T E ----
---- E L I T E ----
Posts: 289
Joined: Thu Feb 15, 2018 9:30 am
Location: Texas

Re: Defensive Turrets for ships

Post by BlackWolf »

So checking the ship date,list, the keys I see that would or could be used are:
Auto-weapon fire, subentity, ball-turent, and then locations such as aft, port starboard.
Of course I know nothing about coding or writing script.
Creativity is a gift, use it well.

soyoukan
Average
Average
Posts: 12
Joined: Sun Jan 19, 2020 5:20 pm

Re: Defensive Turrets for ships

Post by soyoukan »

Astrobe wrote:
Mon Apr 09, 2018 6:51 pm
I think it's possible to have a "turret mode", in which the pilot virtually takes control of a turret, taking down hostiles, while the ship carries on with its trajectory, like if it were on auto-pilot.
YES! the Panther Clipper was that ship! Sadly lacking from oolite...

soyoukan
Average
Average
Posts: 12
Joined: Sun Jan 19, 2020 5:20 pm

Re: Defensive Turrets for ships

Post by soyoukan »

another_commander wrote:
Fri Mar 23, 2018 6:28 am
I could be wrong (been ages since I looked at the turrets code), but I don't think you can just slap a turret on a ship after it has been spawned. You probably need to define the turrets as sub-entities for each ship you want them to appear on. Maybe someone has found a way to do it by script that escapes me, but my recollection is that it can't be done universally.
FINALLY GOT MY PANTHER, but disappointed it doesn't have turrets.. I have looked in shipdata and it referenced turrets but they aren't there and no weapons can be assigned. My only reason for wanting a panther was to stick top and bottom guns as its a brick and not manoeuvrable!

Post Reply