Avorion
29 ψήφοι
Arsenal Extension - Helix Cannon
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Mods: Mod
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
430.534 KB
4 Ιουλ 2021, 22:27
23 Ιαν, 6:04
12 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Arsenal Extension - Helix Cannon

ΣΕ 2 ΣΥΛΛΟΓΕΣ ΑΠΟ KnifeHeart
Descent Weapons
4 αντικείμενα
Arsenal Extensions
12 αντικείμενα
ΠΕΡΙΓΡΑΦΗ
Adds a new weapon to the game inspired by Descent 2's Helix Cannon. The Helix Cannon is an energy weapon that alternates between firing a blast of five tightly-grouped spread of shots, then five loosely-grouped spread of shots, then five extremely loosely-grouped spread of shots. Excellent for fighting multiple enemy ships at once. Compared to Spreadfire Cannons, Helix Cannons are more rare and can be found slightly closer to the center of the galaxy.

===

Thanks to TESLA for the turret for the thumbnail! The in-game Helix Cannon will look similar to a standard plasma gun.
7 σχόλια
KnifeHeart  [Δημιουργός] 23 Ιαν, 12:32 
Issue w/ Alliances should be fixed. Please let me know if it's not.
KnifeHeart  [Δημιουργός] 17 Ιαν, 23:27 
I guess you can tell I don't use alliances much, lol. Thanks for pointing me to the specific line.
KnifeHeart  [Δημιουργός] 17 Ιαν, 23:20 
I'll take a look at it sometime later this week.
[uRxP]DrChocolate 17 Ιαν, 22:33 
Hi @KnifeHeart, @Bugget! is right - you have an issue in your code:

data\scripts\entity\merchants\fighterfactory.lua line 8:

local turret = Player():getInventory():find(idx)

If the turret is actually in the inventory of an alliance, instead of the player, this will be nil. It then passes the nil object down the chain to other consumers of the function, which causes an error.

This means that no player can build fighters from an alliance ship/inventory, clicking the button will silently fail.
Bubbet! 27 Δεκ 2023, 21:18 
You need to account for alliances in your fighter factory hook, it throws with nil value on line 9 because it cant find the turret.
KnifeHeart  [Δημιουργός] 1 Αυγ 2021, 17:31 
This mod is now 2.0 compatible.
TESLA 6 Ιουλ 2021, 13:43 
Cool stuff!