Stormworks: Build and Rescue

Stormworks: Build and Rescue

คะแนนไม่เพียงพอ
1630-Speed Gearbox
   
รางวัล
ชื่นชอบ
ชื่นชอบแล้ว
เลิกชื่นชอบ
แท็ก:  v1.2.2
ขนาดไฟล์
โพสต์
อัปเดต
96.851 KB
30 พ.ค. 2021 @ 12: 22pm
30 พ.ค. 2021 @ 12: 23pm
2 หมายเหตุการเปลี่ยนแปลง ( ดู )
อยู่ใน 1 ชุดสะสม โดย Illy
Illy's Stormworks Creations
18 รายการ
คำอธิบาย
This gearbox has 815 forward gears and 815 backwards gears, giving a ratio range from 1:1 to 1:81. The largest incremental gear step is 1.25% (1:1.0125) making this a close representation of a continuously variable transmission.

How do I use it?

Select the gear number by using the number input on the microcontroller. It accepts a number from -815 to +815. If you input 0 (zero), the clutch will be disengaged. The gearbox is not automatic, it does not change gear for you -- that's up to you.

How did I create this?

I used a Python script which first builds a list of ratios that can be created from N gearboxes (up to N=5). The smallest gear ratio with N=5 is 1:1.0125.

-------------- RATIOS -------------- [1.0125, 5, '1.8 + 0.5 + 1.5 + 0.5 + 1.5'] [1.0288, 5, '0.5555555555555556 + 2.0 + 0.5555555555555556 + 0.8333333333333334 + 2.0'] [1.0368, 4, '0.4 + 1.8 + 1.2 + 1.2'] [1.0417, 3, '0.5 + 0.8333333333333334 + 2.5'] [1.0667, 4, '2.0 + 1.2 + 0.6666666666666666 + 0.6666666666666666'] [1.0717, 5, '0.5555555555555556 + 2.5 + 2.5 + 0.5555555555555556 + 0.5555555555555556'] [1.08, 3, '0.4 + 1.5 + 1.8'] [1.1111, 2, '0.5555555555555556 + 2.0'] [1.125, 3, '1.5 + 0.5 + 1.5'] [1.152, 4, '1.2 + 1.2 + 2.0 + 0.4'] [1.1574, 3, '2.5 + 0.8333333333333334 + 0.5555555555555556'] [1.1664, 5, '0.4 + 0.5 + 1.8 + 1.8 + 1.8'] [1.1852, 5, '0.6666666666666666 + 2.0 + 0.6666666666666666 + 2.0 + 0.6666666666666666'] [1.2, 1, '1.2'] [1.2056, 5, '2.5 + 0.8333333333333334 + 0.8333333333333334 + 0.8333333333333334 + 0.8333333333333334'] [1.215, 5, '0.5 + 1.8 + 1.5 + 1.8 + 0.5'] [1.2346, 4, '2.0 + 2.0 + 0.5555555555555556 + 0.5555555555555556'] [1.2442, 5, '1.2 + 1.8 + 1.2 + 0.4 + 1.2'] [1.25, 2, '1.5 + 0.8333333333333334'] [1.28, 5, '0.6666666666666666 + 0.4 + 1.2 + 2.0 + 2.0'] [1.286, 5, '0.5555555555555556 + 0.5555555555555556 + 3.0 + 0.5555555555555556 + 2.5'] [1.296, 3, '1.8 + 0.4 + 1.8'] [1.3021, 5, '2.5 + 0.8333333333333334 + 0.5 + 1.5 + 0.8333333333333334'] [1.3333, 2, '2.0 + 0.6666666666666666'] [1.35, 3, '1.5 + 1.8 + 0.5'] [1.3824, 5, '1.2 + 1.2 + 1.2 + 1.2 + 0.6666666666666666'] [1.3889, 2, '0.5555555555555556 + 2.5'] [1.4062, 5, '0.5 + 1.5 + 1.5 + 2.5 + 0.5'] [1.44, 2, '1.2 + 1.2'] [1.4468, 4, '0.8333333333333334 + 2.5 + 0.8333333333333334 + 0.8333333333333334'] [1.458, 5, '1.8 + 1.8 + 1.8 + 0.5 + 0.5'] [1.4815, 4, '0.5555555555555556 + 2.0 + 0.6666666666666666 + 2.0'] [1.5, 1, '1.5'] [1.5432, 4, '2.5 + 0.5555555555555556 + 0.5555555555555556 + 2.0'] [1.5552, 4, '1.8 + 0.4 + 1.8 + 1.2'] [1.5625, 4, '2.5 + 0.5 + 0.8333333333333334 + 1.5'] [1.6, 3, '2.0 + 1.2 + 0.6666666666666666'] [1.6075, 5, '2.5 + 0.5555555555555556 + 2.5 + 0.8333333333333334 + 0.5555555555555556'] [1.62, 3, '1.8 + 1.8 + 0.5'] [1.6667, 2, '3.0 + 0.5555555555555556'] [1.6875, 4, '1.5 + 0.5 + 1.5 + 1.5'] [1.728, 3, '1.2 + 1.2 + 1.2'] [1.7361, 3, '0.8333333333333334 + 0.8333333333333334 + 2.5'] [1.7778, 4, '0.6666666666666666 + 2.0 + 0.6666666666666666 + 2.0'] [1.8, 1, '1.8'] [1.8519, 4, '3.0 + 0.5555555555555556 + 2.0 + 0.5555555555555556'] [1.8662, 5, '0.4 + 1.2 + 1.8 + 1.2 + 1.8'] [1.875, 3, '1.5 + 1.5 + 0.8333333333333334'] [1.92, 4, '1.2 + 2.0 + 0.6666666666666666 + 1.2'] [1.929, 4, '0.5555555555555556 + 2.5 + 2.5 + 0.5555555555555556'] [1.944, 4, '1.5 + 1.8 + 0.4 + 1.8'] [2.0, 3, '2.5 + 0.6666666666666666 + 1.2']

There are a set of M ratios, which, when turned on/off in a roughly binary fashion, will produce an almost-continuous gear range from 1:1 to 1:3. I wrote an algorithm which searches for a target incremental gear ratio with minimal M.

Here is the output of my algorithm for the gearbox shown here. It uses M=8 ratios (the final ratio being duplicated), for a total cost of 24 gearboxes.

New best found with cost 24: 0 -- Ratio 1.8 -- Repeat x 1 -- Costs x 1.0 (1) 1 -- Ratio 1.3889 -- Repeat x 1 -- Costs x 2.0 (2) 2 -- Ratio 1.2 -- Repeat x 1 -- Costs x 1.0 (1) 3 -- Ratio 1.1111 -- Repeat x 1 -- Costs x 2.0 (2) 4 -- Ratio 1.0667 -- Repeat x 1 -- Costs x 4.0 (4) 5 -- Ratio 1.0368 -- Repeat x 1 -- Costs x 4.0 (4) 6 -- Ratio 1.0125 -- Repeat x 2 -- Costs x 5.0 (10)

Turning off each of these ratios in a binary fashion reveals the full range of the gearbox. It goes a bit beyond 1:3 and has duplicates, if you trim everything above 1:3 and remove the duplicates, you are left with 163 gears. Encoding the 8-bit binary gives into an integer gives a convenient way to paste all the gears into Lua.

[0, 2, 3, 4, 6, 7, 8, 10, 11, 12, 16, 14, 18, 15, 19, 20, 22, 23, 24, 32, 26, 34, 27, 28, 35, 36, 30, 38, 31, 39, 40, 42, 43, 44, 48, 46, 50, 47, 51, 52, 64, 54, 66, 55, 56, 67, 68, 58, 70, 59, 60, 71, 72, 62, 74, 63, 75, 76, 80, 78, 82, 79, 83, 84, 86, 87, 88, 96, 90, 98, 91, 92, 99, 100, 94, 102, 95, 103, 104, 128, 106, 130, 107, 108, 131, 112, 132, 110, 114, 134, 111, 115, 135, 116, 136, 118, 138, 119, 139, 120, 140, 144, 122, 142, 146, 123, 143, 124, 147, 148, 126, 150, 127, 151, 152, 160, 154, 162, 155, 156, 163, 164, 158, 166, 159, 167, 168, 170, 171, 172, 176, 174, 178, 175, 179, 180, 192, 182, 194, 183, 184, 195, 196, 186, 198, 187, 188, 199, 200, 190, 202, 191, 203, 204, 208, 206, 210, 207, 211, 212, 214, 215, 216]

For example, the 10th gear (=12) is decoded to 8 bits in Lua (00001100), which tells it to turn on the 5th and 6th ratios. The 5th ratio corresponds to 4 gearboxes that are toggled on. The 6th ratio corresponds to another 4 gearboxes.

These 163 "little gears" are simply multiplied by 4x 1:3 gear ratios ("big gears") and a reverse gearbox, giving 1630 speeds in total using 29 gearboxes.
11 ความเห็น
CatLover2500 22 ต.ค. 2024 @ 3: 37pm 
wtf is this monstrosity
Kindmanathome 6 พ.ย. 2023 @ 8: 07pm 
please make this automatic please
buder28 5 ก.ค. 2023 @ 7: 41pm 
id argue with you for power lost by more gearbox
by my experience i had a boat with 3 gearbox even if it was 1:1 it was worse than removing the 1:1 gearbox in torque
i'll look at it i wish it was a 18 speed though
Illy  [ผู้สร้าง] 3 มิ.ย. 2021 @ 8: 42pm 
You don't really lose power across a gearbox. It is an oft-repeated myth. If anything you probably gain power, which I think is because of the non-conservative torque model in the game.

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2204794098
Sebs 3 มิ.ย. 2021 @ 4: 48pm 
Having power loss on every single gear, this thing must be incredibly inefficient. Very likely having more loss on the gears than the loss you would have by accelerating a vehicle using wrong gears.
Captain blaue Wolke 2 มิ.ย. 2021 @ 10: 22am 
Finally a gearbox worthy for a fast and furious quater mile race.
Illy  [ผู้สร้าง] 31 พ.ค. 2021 @ 3: 44am 
Nope, you have to choose the gear yourself.
ACE 31 พ.ค. 2021 @ 2: 46am 
is it automatic?
Illy  [ผู้สร้าง] 30 พ.ค. 2021 @ 4: 15pm 
Yes, but it's not really needed for ships.
jwking52004 30 พ.ค. 2021 @ 4: 13pm 
does thus work for large ships