Reassembly

Reassembly

评价数不足
More Child Spawn Slots
   
奖励
收藏
已收藏
取消收藏
标签: cvars
文件大小
发表于
更新日期
113.372 KB
2019 年 8 月 6 日 下午 6:17
2019 年 8 月 6 日 下午 7:09
5 项改动说明 ( 查看 )

订阅以下载
More Child Spawn Slots

描述
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 条留言
Wasp #55,221 2021 年 2 月 25 日 下午 3:27 
WHO TOUCHED THE 8 children?
Silverbell_TTV  [作者] 2019 年 8 月 12 日 上午 2:08 
You flatter me danny ^_^
danny420dale 2019 年 8 月 8 日 下午 7:54 
This is awesome.
TruBlu 2019 年 8 月 7 日 下午 12:04 
seems legit, adds 3 more "child spawn" slots
Dusty_plant 2019 年 8 月 7 日 上午 2:21 
"actually useful mod"