Reassembly

Reassembly

Not enough ratings
More Child Spawn Slots
   
Award
Favorite
Favorited
Unfavorite
Tags: cvars
File Size
Posted
Updated
113.372 KB
6 Aug, 2019 @ 6:17pm
6 Aug, 2019 @ 7:09pm
5 Change Notes ( view )

Subscribe to download
More Child Spawn Slots

Description
This mod changes the number of child spawn order slots you have in your fleet control tab from 4 to 7. Now you can load 7 different ships into your spawn order and spawn them all just by pressing f.

For example you could spawn an Interceptor, then a Talon, Archer, Probe0, Skirmisher, Minifreight and finally Shuriken, starting over back at Interceptor, all without going back into fleet control. You could also spawn an Interceptor, then Talon, Archer, Interceptor again, Probe0, Shuriken, and finally another Archer, starting over back at Interceptor.

It does this by making the child spawn order slot buttons slightly smaller, so their preview images will of course be smaller.

It doesn't appear to break saved games. I enabled it, loaded a save file I made in vanilla, put ships in the slots, saved and exited. Then I disabled it and reloaded the save in vanilla. The extra slots and the ships I had put in them were gone, but the save worked fine.

Only issue I can think of might be if you put a design in there and didn't keep a clone of it down in your design storage, you'd probably lose the design. Keep a clone of whatever design you put in slots 5-7 in your design storage and it shouldn't become a problem.

I accomplished this by editing these cvars.txt entries:
kFleetButtonDims = {10,2}
kFleetChildCount = 7

The defaults are:
kFleetButtonDims = {7,2}
kFleetChildCount = 4

The first number in kFleetButtonDims is width, the second one is height. Bigger numbers make the buttons smaller. Smaller numbers make the buttons bigger. kFleetChildCount is the number of buttons (slots).

I wish I knew how to make a second row of buttons. If I were to keep the size at 10,2 and increase the count to 8 or more, the extra buttons would go off-screen.

If you really want more buttons, just change that 10 to something even higher, and set the count higher. I tried setting Dims to 14,2 and Count to 11, and that didn't look too bad either.
5 Comments
Wasp #55,221 25 Feb, 2021 @ 3:27pm 
WHO TOUCHED THE 8 children?
Silverbell_TTV  [author] 12 Aug, 2019 @ 2:08am 
You flatter me danny ^_^
danny420dale 8 Aug, 2019 @ 7:54pm 
This is awesome.
TruBlu 7 Aug, 2019 @ 12:04pm 
seems legit, adds 3 more "child spawn" slots
Dusty_plant 7 Aug, 2019 @ 2:21am 
"actually useful mod"