Behemoth MK2 YOLOL

This commit is contained in:
Zan
2024-05-10 12:57:29 -07:00
parent 6c4440d7cf
commit 1901381d87
42 changed files with 769 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
a=1000 b=60 c=3600
rt="Infinite" rt=(:fuel)/(r-(:fuel)) r=(:fuel)
h=rt/c/a*a m=(rt-h*c)/b/a*a rt=h+"h "+m+"m"
pt="Infinite" pt=:propellant/(p-:propellant) p=:propellant
h=pt/c/a*a m=(pt-h*c)/b/a*a pt=h+"h "+m+"m"
:gentime="\n"+rt+"\n\n\n\nPropTime:\n"+pt goto2
/// :fuel = Fuel Chamber Fuel
/// :propellant = GasNetworkStoredResource
/// :gentime = Progress Pannel

View File

@@ -0,0 +1,20 @@
:gurl=((100-:bat/100)+(:mm*75)) :speed=:spd goto1
/// :gurl = Generator Unit Rate Limit
/// :bat = Slave Battery
/// :bst = Generator Boost Button
/// :rdy = Mining Laser Ready BUtton
/// :generator = Generator

View File

@@ -0,0 +1,20 @@
:timeremaining=0 a=0 goto1+:timer
:timeremaining=:sleep-(a/300) goto(2+(a++>(:sleep*300)))*:timer
:estop=1 a=0 :timer=0 :timeremaining=0 goto1

View File

@@ -0,0 +1,20 @@
:crs=((:cruise==0)*5) :fuel=:f1+:f2 goto1
/// :crs = Cruise Button
/// :cruise = Cruise Lever Name

View File

@@ -0,0 +1,20 @@
:rdy=:mm :rdyc=0+(:gen>=75)*2 :rdyb=1-(:gen>=75) goto1

View File

@@ -0,0 +1,20 @@
d=5 goto1+:stp
a=:crawlspeed
:crawlspeed=100
c=0 :crwlf=100*(:spd<0.1) goto((4+(:spd>0.1))*:stp)+((:stp==0)*8)
:crwlb=10
goto6+(:spd<0.1)+((:stp==0)*2)
goto7-((c++>d)*3)
:crawlspeed=a goto1

View File

@@ -0,0 +1,20 @@
:crawlspeed=15
goto2+:crwl
:crwlf=100 :crwlb=400*(:avg-:ta)*(1+(:md-:dsa)) goto3*:crwl
// :crawlspeed = Dynamic Crawl Speed
// :crwl = Auto-Crawl Button
// :crwlf = Crawl Forward Lever
// :crwlb = Crawl Backward Lever
// :avg = Average Speed
// :ta = Target Average Speed
// :md = Mining Depth
// :dsa = Distance Smart Average

View File

@@ -0,0 +1,20 @@
goto1+:crwl
:crawlspeed=:crawlspeed-(((:avg-:ta)*(:spd>0.1)*(:spd<0.2))) goto1
// :crawlspeed = Dynamic Crawl Speed
// :avg = Average Speed
// :ta = Target Average Speed
// :spd = Speedometer Speed

View File

@@ -0,0 +1,20 @@
t=100 i=1 c=0 goto(1+(:spd==0))*:crwl
goto(2+(c++>t)-((:spd>0)*2))*:crwl
:crawlspeed+=i c=0 goto1
// t = Delay on how long to wait before increasing CrawlSpeed
// i = Amount to increase CrawlSpeed
// :dsa = Distance Smart Average
// :md = Mining Depth
// :spd = Speedometer Speed
// :crwl = Auto-Crawl Butto
// :crawlspeed = Dynamic Crawl Speed

View File

@@ -0,0 +1,20 @@
x=10 y=x-1 :ts=0.137
s=:spd :avg=a a=(a*y+s)/x :ta=:ts*(:dsa/:md) goto2
// x = Amount of linereads to average speed
// :spd = Speedometer Speed
// :avg = Average Speed

View File

@@ -0,0 +1,20 @@
goto1+:am
:mm=1 goto(2+(:gen>=75))*:am
:ml=1 :clct=1 goto(3+(w++>50))*:am
w=0 :crwl=1 :am=0 goto1

View File

@@ -0,0 +1,20 @@
p=:cp goto1+:mm
:cp=3 goto2+(:mm==0)
:cp=p goto1
// :mm = Mining Mode Button
// :cp = Current Profile
// p = Stored Current Profile Value

View File

@@ -0,0 +1,20 @@
mn=5 mx=100 stp=5 if :csd then goto2end if :csi then goto3end goto1
a=(:crawlspeed-stp)<mn :crawlspeed=(:crawlspeed-stp)*(1-a)+mn*a goto1
a=(:crawlspeed+stp)>mx :crawlspeed=(:crawlspeed+stp)*(1-a)+mx*a goto1
// :crawlspeed = Crawl Speed Multiplier
// :csi = Crawp Speed Increase Button
// :csd = Crawp Speed Decrease Button

View File

@@ -0,0 +1,20 @@
mn=10 mx=90 stp=10 if:sld then goto2end if:sli then goto3end goto1
a=(:sleep-stp)<mn :sleep=(:sleep-stp)*(1-a)+mn*a goto1
a=(:sleep+stp)>mx :sleep=(:sleep+stp)*(1-a)+mx*a goto1
// :sleep = Sleep Timer
// :sli = Sleep Increase Button
// :sld = Sleep Height Decrease Button

View File

@@ -0,0 +1,20 @@
mn=2 mx=50 stp=1 if:hhd then goto2end if:hhi then goto3end goto1
a=(:hover-stp)<mn :hover=(:hover-stp)*(1-a)+mn*a goto1
a=(:hover+stp)>mx :hover=(:hover+stp)*(1-a)+mx*a goto1
// :hover = Hover Height
// :hhi = Hover Height Increase Button
// :hhd = Hover Height Decrease Button

View File

@@ -0,0 +1,20 @@
mn=.1 mx=.3 stp=.001 if :tsd then goto2end if :tsi then goto3end goto1
a=(:ts-stp)<mn :ts=(:ts-stp)*(1-a)+mn*a goto1
a=(:ts+stp)>mx :ts=(:ts+stp)*(1-a)+mx*a goto1
// :depth = Shortest RF Depth
// :mdi = Mining Depth Increase Button
// :mdd = Mining Depth Decrease Button

View File

@@ -0,0 +1,10 @@
h = 0
h1 = 0
avg = 0
ta = 0
e = 0
gurl = 0
dsl = 22
tio = 1
ChipField9 = 0
ChipField10 = 0

View File

@@ -0,0 +1,10 @@
md = 22
sa1 = 0
sa2 = 0
sa3 = 0
sa4 = 0
sa5 = 0
dsa = 0
mo = 0
as = 0
os = 0

View File

@@ -0,0 +1,9 @@
frp = 0
frr = 0
ts = 0.137
generator = 100
avgta = 0
hfl = 0
hfr = 0
hbl = 0
hbr = 0

View File

@@ -0,0 +1,10 @@
FcuRotationalPitch = 0
FcuRotationalRoll = 0
TargetSpeed = 0
gen = 100
AverageSpeed = 0
TargetAverage = 0
FrontLeftHeight = 0
FrontRightHeight = 0
RearLeftHeight = 0
RearRightHeight = 0