Falcon Turrets
Moderators: winston, another_commander
Falcon Turrets
Hi all. First time posting but played Oolite for years before taking a break when kids got in the way of personal time!
Anyway, I fly a Falcon-S which is pretty well kitted out, and my turrets have stopped working! As I have quite a few OXPs installed that put extra pirates in play, I miss them in a messy dogfight!
It is possible it might have been the LMSS additional laser rack that stopped them, if that's possible, although I can't be certain. Not being a coder in any way, I'm not sure whether to look in shipdata.plist, the save game, or where!
Any help gratefully received!
dave
Anyway, I fly a Falcon-S which is pretty well kitted out, and my turrets have stopped working! As I have quite a few OXPs installed that put extra pirates in play, I miss them in a messy dogfight!
It is possible it might have been the LMSS additional laser rack that stopped them, if that's possible, although I can't be certain. Not being a coder in any way, I'm not sure whether to look in shipdata.plist, the save game, or where!
Any help gratefully received!
dave
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Falcon Turrets
Welcome to the boards, Dave!
LMSS shouldn't have an impact on any turrets, as it deals with laser positions, while turrets are set up as subentities.
It might be helpful to look at your log file to see if (a) there are any errors being reported, and (b) what OXP's are installed which might reveal incompatibilities.
LMSS shouldn't have an impact on any turrets, as it deals with laser positions, while turrets are set up as subentities.
It might be helpful to look at your log file to see if (a) there are any errors being reported, and (b) what OXP's are installed which might reveal incompatibilities.
Re: Falcon Turrets
Happy to - can I ignore any chunks or is it OK to paste the lot?!
I'm assuming subentities and so on are all set by the OXP, and I even dl a new one in case mine had got corrupted - although I've just realised I didn't hold shift down. Would that matter if I removed the old oxp and copied the fresh one in?
Cheers
Dave
I'm assuming subentities and so on are all set by the OXP, and I even dl a new one in case mine had got corrupted - although I've just realised I didn't hold shift down. Would that matter if I removed the old oxp and copied the fresh one in?
Cheers
Dave
- Cody
- Sharp Shooter Spam Assassin
- Posts: 16081
- Joined: Sat Jul 04, 2009 9:31 pm
- Location: The Lizard's Claw
- Contact:
Re: Falcon Turrets
Paste the lot - if it's too long, it might need two posts. Then highlight the lot and hit the
Code
button.Or you could host it somewhere (box, googledocs, for example), and post a link. And welcome aboard!
I would advise stilts for the quagmires, and camels for the snowy hills
And any survivors, their debts I will certainly pay. There's always a way!
And any survivors, their debts I will certainly pay. There's always a way!
- montana05
- ---- E L I T E ----
- Posts: 1166
- Joined: Mon May 30, 2016 3:54 am
- Location: lurking in The Devils Triangle (G1)
Re: Falcon Turrets
The Falcon doesn't have an explicit
Code: Select all
"frangible" = no;
Scars remind us where we've been. They don't have to dictate where we're going.
- phkb
- Impressively Grand Sub-Admiral
- Posts: 4830
- Joined: Tue Jan 21, 2014 10:37 pm
- Location: Writing more OXPs, because the world needs more OXPs.
Re: Falcon Turrets
It shouldn't, but it's always worth doing it anyway, just to be sure.
Re: Falcon Turrets
I wondered if they had been shot off, but expected a maintenance overhaul to fix them, but no change... where would I check for damaged subentities?
Re: Falcon Turrets
Ha! just tried - my log is 10x the permitted number of characters! Going to nose at googledocs...
Re: Falcon Turrets
Log file
https://docs.google.com/document/d/16xV ... sp=sharing
Not used googledocs, but this should work!
Oh, and I know about a couple of OXPs missing dependencies - been doing that for ages and haven't got round to dealing with it!
Cheers all
https://docs.google.com/document/d/16xV ... sp=sharing
Not used googledocs, but this should work!
Oh, and I know about a couple of OXPs missing dependencies - been doing that for ages and haven't got round to dealing with it!
Cheers all
Re: Falcon Turrets
The subentities declaration needs to be changed to the new form.
setup_actions
is deprecated (for a loooong time already).Re: Falcon Turrets
This bit in the oxp shipdata.plist?
Code: Select all
<key>bweed-falcon-turret</key>
<dict>
<key>ai_type</key>
<string>nullAI.plist</string>
<key>energy_recharge_rate</key>
<real>1.5</real>
<key>laser_color</key>
<string>redColor</string>
<key>max_energy</key>
<real>60</real>
<key>model</key>
<string>bweed-falcon-turret.dat</string>
<key>name</key>
<string>bweed-falcon-turret</string>
<key>roles</key>
<string>bweed-falcon-turret</string>
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
<key>smooth</key>
<true/>
<key>thrust</key>
<real>1</real>
<key>weapon_energy</key>
<real>6</real>
- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Falcon Turrets
Check after destroyed ones in external view, while caps lock is on you can rotate the camera around.
If you change your target lock to a new target then you should be see them turning to the new direction.
Re: Falcon Turrets
After taking a quick look at the shipdata.plist it's clear.
The Falcon S uses
Still. This AddOn needs an update. E.g.
The Falcon S uses
bweed-falcon-player_turret
which does not use initialiseTurret
. So they are just standard entities. The simplest fix is to add the code to bweed-falcon-player_turret
as well.Code: Select all
<key>setup_actions</key>
<array>
<string>initialiseTurret</string>
</array>
WEAPON_TWIN_PLASMA_CANNON
is not supported anymore.- Norby
- ---- E L I T E ----
- Posts: 2577
- Joined: Mon May 20, 2013 9:53 pm
- Location: Budapest, Hungary (Mainly Agricultural Democracy, TL10)
- Contact:
Re: Falcon Turrets
Another way if you remove the player_ part from the turret key within Falcon-S-player:
Code: Select all
<string>bweed-falcon-turret 0.0 6.5 -9.5 0.25 0.75 0.0 0</string>
<string>bweed-falcon-turret 0.0 -6 -9.5 0.25 -0.75 0.0 0</string>
Re: Falcon Turrets
That sorted it thanks! I also, while testing, discovered what the huge sticky out pole on the back of my Falcon was - a rather ugly towbar! Soon got rid of that...Norby wrote: ↑Tue Nov 06, 2018 9:15 pmAnother way if you remove the player_ part from the turret key within Falcon-S-player:Code: Select all
<string>bweed-falcon-turret 0.0 6.5 -9.5 0.25 0.75 0.0 0</string> <string>bweed-falcon-turret 0.0 -6 -9.5 0.25 -0.75 0.0 0</string>
Off hunting pirates now, having just got rid of my first trumble in 25 or so years!