Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Yunru's DevMods  (Read 1765 times)

Yunru

  • Admiral
  • *****
  • Posts: 1560
    • View Profile
Yunru's DevMods
« on: July 06, 2021, 07:20:14 AM »

A simple collection of 30 hullmods, allowing you to alter the capacity, dissipation, and ordinance points of your ships on the fly (in percentage increments for the flux stats).

Flux capacity and dissipation can be raised anywhere between 1% and 2047%, while ordinance points can be raised the same amount, sans the percentage.

Download here, and if anyone can work out why the graphics don't show, please tell me.

Snrasha

  • Admiral
  • *****
  • Posts: 705
    • View Profile
Re: Yunru's DevMods
« Reply #1 on: July 06, 2021, 09:59:04 AM »

if anyone can work out why the graphics don't show, please tell me.

Hi, i have edited your image and exported them to .jpg with gimp and renamed the .png to .jpg on the hullmods.csv and this is working. For a weird reason, your png seems corrupt (because we can put png for hullmod)(if i export your png and overwrite your png, not working).
« Last Edit: July 06, 2021, 10:00:58 AM by Snrasha »
Logged
I am pretty bad on english. So, sorry in advance.

Gladiator Society
Add battle options on Com Relay/ Framework for modders for add their own bounty.

Sanguinary Autonomist Defectors A fan-mod of Shadowyard.

Deshara

  • Admiral
  • *****
  • Posts: 1578
  • Suggestion Writer
    • View Profile
Re: Yunru's DevMods
« Reply #2 on: July 06, 2021, 03:21:30 PM »

... why 2047?
Logged
Quote from: Deshara
I cant be blamed for what I said 5 minutes ago. I was a different person back then

Retry

  • Captain
  • ****
  • Posts: 420
    • View Profile
Re: Yunru's DevMods
« Reply #3 on: July 06, 2021, 04:46:28 PM »

30 hullmods affecting 3 different stats, by deduction one can deduce that there's 10 different hullmods per stat.

A hullmod has two states: On and off.  To represent all combinations of numbers within a certain range one has to use a binary number format: Hullmod 0 is 2^0 (1), Hullmod 1 is 2^1 (2), Hullmod 2 is 2^2 (4)... Hullmod 10 is 2^10 (1024).

With all hullmods on (1111111111 in binary notation), the total bonus is 2^11-1=2047.  With only the first hullmod on (0000000001 in binary notation), the total bonus is 1.  Any integer amount of bonus between this range, 1% and 2047%, can be reached through a combination of less than a dozen hullmods.

...Correct me if I'm wrong but wouldn't that mean there's actually 11 hullmods per stat, not 10?
Logged

Thule

  • Admiral
  • *****
  • Posts: 580
    • View Profile
Re: Yunru's DevMods
« Reply #4 on: July 06, 2021, 08:27:20 PM »

« Last Edit: July 06, 2021, 08:31:37 PM by Thule »
Logged

Yunru

  • Admiral
  • *****
  • Posts: 1560
    • View Profile
Re: Yunru's DevMods
« Reply #5 on: July 07, 2021, 03:00:59 AM »

30 hullmods affecting 3 different stats, by deduction one can deduce that there's 10 different hullmods per stat.

A hullmod has two states: On and off.  To represent all combinations of numbers within a certain range one has to use a binary number format: Hullmod 0 is 2^0 (1), Hullmod 1 is 2^1 (2), Hullmod 2 is 2^2 (4)... Hullmod 10 is 2^10 (1024).

With all hullmods on (1111111111 in binary notation), the total bonus is 2^11-1=2047.  With only the first hullmod on (0000000001 in binary notation), the total bonus is 1.  Any integer amount of bonus between this range, 1% and 2047%, can be reached through a combination of less than a dozen hullmods.

...Correct me if I'm wrong but wouldn't that mean there's actually 11 hullmods per stat, not 10?
Eleven digits (and thus hullmods) gives a range from 2048 (at the smallest) to 4095 (at the largest).

Killian

  • Commander
  • ***
  • Posts: 114
  • I got 99 problems but a core breach ain't one.
    • View Profile
Re: Yunru's DevMods
« Reply #6 on: July 07, 2021, 10:02:44 AM »

If I'm counting right, the numbers per mod should be...

1, 2, 4, 8, 16, 32, 64, 128, 256, 512 for 10 mods; max possible is 1,023.
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024 for 11 mods; max possible is 2,047.

If it can go up to 2,047% then you've either skipped one of those but somehow made up the difference, or you've miscounted and there's 11 as Retry says.

Ed: Looking at your own .csv, yes, you've miscounted. There's 11 mods per group. There's 35 lines in the .csv; if you strip off the header line and the trailing blank line, that gives you 33 lines.
« Last Edit: July 07, 2021, 10:10:45 AM by Arcalane »
Logged