Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

Update 2.0 Out Now!

Update 2.0 now available! Check out the ton of QoL Features, improvements, captains, new commands and reworked UI!
  • 16

Ships calling for help die too fast


Hello There
 Share

Suggestion

The event where a merchant ship is being attacked by a few pirates is a neat idea. However currently the pirates kill the ship way too fast. You do not have a chance to defeat the pirates. The ship dies before you can even see where the event spawned in the sector. It'd be helpful if you had a little more time to actually fight the pirates.

  • Like 2
  • Sad 1
Link to comment
Share on other sites

2 answers to this suggestion

Recommended Posts

  • 0

This is pretty easily solvable via script. All the devs would have to do is something like this:

local hpFactor = 10 --Or another appropriate number.
if math.random() < 0.5 then
	traderShip = ShipGenerator.createTradingShip(traderFaction, MatrixLookUpPosition(-dir, vec3(0, 1, 0), traderPos))
else
	traderShip = ShipGenerator.createFreighterShip(traderFaction, MatrixLookUpPosition(-dir, vec3(0, 1, 0), traderPos))
end
local traderDurability = Durability(traderShip)
if traderDurability then traderDurability.maxDurabilityFactor = (traderDurability.maxDurabilityFactor or 0) + hpFactor end
traderShip:addScript("deleteonplayersleft.lua")
ShipAI(traderShip.index):setPassiveShooting(true)
traderShip:registerCallback("onDestroyed", "onTraderShipDestroyed")

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...