Ooo do you mind if I eyeball your code? I might slap one of those fine new items on my Caducious.
Examine away, but you won't find any special scripting; the engine that makes the turrets work is built natively into Oolite itself.
Player ship turrets are the same as NPC turrets, they just follow the player's lead.
Running Oolite buttery smooth & rock stable w/ tons of eyecandy oxps on:
ASUS Prime X370-A
Ryzen 5 1500X
16GB DDR4 3200MHZ
128GB NVMe M.2 SSD (Boot drive)
1TB Hybrid HDD (For software and games)
EVGA GTX-1070 SC
1080P Samsung large screen monitor
Unfortunately when facing gang bosses from random hits, FDL 3G+9t) , ships from aquatics and similar in large groups the dragon M is outmatched.
I've been thinking a stronger version would be a good idea.
A suitable name might be Dragon X - the Primus Pilus (the most senior centurion in the roman legions)
How about the following changes :
speed from .38 to .44
max energy from 256 to 384 (6 banks)
thrust from 28 to 32
Turrets now have energy 20 , range 6000 and rate 0.5 .
How about energy 15 and rate 0.25 ?
After experimenting a bit I found no need to increase the firepower/rate of the turrets.
Changes :
energy 384, speed 450, large cargo bay allowed, thrust 32
missiles lowered to 6
price increased to 800k and TL to 10
NOTE : no npc version of the dragon X atm.
Add the below snippets to the existing shipdata.plist & shipyard.plist in the Config folder of the oxp .
EDIT : without explicitly setting max_cargo ship to 15 Dragon X got 25 TC instead of the intended 15
I guess max_cargo isn't inherited with like_ship ?
EDIT : without explicitly setting max_cargo ship to 15 Dragon X got 25 TC instead of the intended 15
I guess max_cargo isn't inherited with like_ship ?
It should be. Is the Large Cargo Bay installed on your Dragon X? That might have a bearing.