Avorion

Avorion

36 ratings
Fighter Squad System (Hydra)
   
Award
Favorite
Favorited
Unfavorite
Mods: Mod
File Size
Posted
Updated
88.896 KB
19 Nov, 2021 @ 3:27am
9 Jul @ 5:43am
6 Change Notes ( view )

Subscribe to download
Fighter Squad System (Hydra)

Description
The Fightersquadsystem contains elements (Hydra, Transporter Software, Cargo Extension from rarity Uncommon and from rarity Legendary you get Stabilizing Mainframe Wiring) The mod works in single player as well as in multiplayer .
18 Comments
Strife 9 Jul @ 1:25pm 
EaszyTarget its not really a direct replacement i would really have like to use this, but Xavorion has most of what i need and ive gotten the rest of the buffed xsotan keys to compensate also Xavorion is the most up to date atm anyways.
EaszyTarget 9 Jul @ 12:35pm 
@Strife what was the replacement you went with mate ? i would like to play this game again and need a system that works how you think it should / would. thanks
Strife 9 Jul @ 12:01pm 
ell im not gonna force u, :-P what for ? so that it is compatible with others else ppl that has modded like you, will just overwrite eachother. but np ive found replacement
Bollgan  [author] 9 Jul @ 5:27am 
No, I'm not doing it, what for? It works the way it was meant to.
Strife 8 Jul @ 6:32am 
if modder comes back, please make this a standalone mod and not a modified vanilla subsystem
EaszyTarget 31 May @ 8:18am 
i like the idea of the mod, but i don't want to sacrifice half my ships systems to be able to run 10 squads of fighters ... naming a system 4 headed hydra that only gives 2 squads is a bit strange ? what is the 4 for ? all the extra little bits are not worth having if it costs you actual squads ... and is this seems to have replaced all the vanilla "fighter squad systems" i am left with the dilemma of having a heap of these "1/2 the number it says" hydra systems... or uninstall the mod and just use vanilla systems ..

as i say, i like the idea of the mod overall, i just dont get why they are soo restrictive on squads, and why they say 4 headed hydra and offer 2 squads ??
Machara 31 Jan, 2023 @ 7:46am 
Thanx!
I tried it out and the error is gone.
I wanted to debug it to verify everything is done as expected but I haven't come around to it :(
I did not notice a PM btw...
Bollgan  [author] 26 Jan, 2023 @ 7:20pm 
I'm not very experienced either :)
I suspected that the two lines should be revised, but somehow it all worked.
I've changed it now thanks to you Machara, could only test in a single game at the moment, please give me feedback if something is not ok, also in a private message.
Machara 26 Jan, 2023 @ 5:14am 
I'm not very experienced but as someone liking to develope maybe something similar to this might do the trick (replacing lines 208 and 209):

local _, _, range, _, fighterCargoPickup = getBonuses(seed, rarity, false)
local bonusfighterCargoPickup = fighterCargoPickup;
local bonusrange = range;

local squads = getNumSquads(seed, rarity, false)
local bonusSquads = getNumBonusSquads(seed, rarity, true)
Machara 26 Jan, 2023 @ 5:13am 
Hello Bollgan.

We are using your mod and noticed errors in the server log:

Execution Context (inner to outer):
#0: getComparableValues data/scripts/systems/fightersquadsystem.lua

could not execute function 'getComparableValues' in '"data/scripts/systems/fightersquadsystem.lua"':

<path>\workshop\content\445220\2658507510\data/scripts/systems/fightersquadsystem.lua:215: attempt to perform arithmetic on local 'range' (a nil value)
stack traceback:
<path>\workshop\content\445220\2658507510\data/scripts/systems/fightersquadsystem.lua:215: in function <path>\workshop\content\445220\2658507510\data/scripts/systems/fightersquadsystem.lua:207>

I think the issues is that you try to retrieve multiple values from getNumSquads and getNumBonusSquads which however only return one value.

Btw, I'm from Austria, but on the interest of general readability I write in English.