fix folders
This commit is contained in:
19
EGOTech/rocker_duo/yolol/approach_pid_basic.yolol
Normal file
19
EGOTech/rocker_duo/yolol/approach_pid_basic.yolol
Normal file
@@ -0,0 +1,19 @@
|
||||
s=12 m=1000 ib=5 t=10 g=0.200 p=0 i=0 x=ib+s u=0
|
||||
if:Ap*(:M<m)then:Range=1 goto3+:insideSafeZone end goto1
|
||||
Kp=0.015 Ki=0.001 Kd=4.2 h=0.50 l=1-h p=:M-s goto5 //NSZ
|
||||
Kp=0.025 Ki=0.001 Kd=4.5 h=0.50 l=1-h p=:M-s goto5 //SZ
|
||||
e=:M-s d=(p-e)*Kd*h+d*l i+=e*Ki*(:M<x) o=Kp*e+i f=u/t u+=u<t p=e
|
||||
z/=:Ap*(:M<m)*(d*d>g+e*e>1) :fcuforward=o*f :fcubackward=(d-i)*f goto5
|
||||
if(d*d>g+e*e>1)==0then:Ap=0end :fcuforward=0 :fcubackward=0 goto1
|
||||
|
||||
//Improved PID - Approximated Profiled Motion PID - VER 1.1
|
||||
// by: Darkyshadow
|
||||
// github.com/GameName-Darkyshadow/Starbase
|
||||
// tips by in game mail are not necessary but appreciated
|
||||
// Tuning Parameters explained on Github with Manual
|
||||
|
||||
//Large Ship Example Tunings
|
||||
//Kp=0.056 Ki=0.001 Kd=5.4 h=0.50 //t=20 //Super Conservative
|
||||
//Kp=0.080 Ki=0.001 Kd=5.8 h=0.50 //t=20 //Conservative
|
||||
//Medium Ship Example Tunings
|
||||
//Kp=0.090 Ki=0.001 Kd=5.8 h=0.98 //t=10 //Medium Aggressive
|
||||
1
EGOTech/rocker_duo/yolol/dynamic_generator_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/dynamic_generator_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:GenRate=:MinEPS*:Min_EPS+(10000-:Battery)/50 goto1
|
||||
10
EGOTech/rocker_duo/yolol/load_basic.yolol
Normal file
10
EGOTech/rocker_duo/yolol/load_basic.yolol
Normal file
@@ -0,0 +1,10 @@
|
||||
if:load<1thengoto1end :Approach=1 :Scan=1
|
||||
if:cb1<1 and :cb2<1 and :cb3<1then:l3=1 goto10end
|
||||
if:cb8<1 and :cb9<1 and :cb0<1then:l8=1 goto10end
|
||||
if:cb1<1 and :cb2<1then:l2=1 goto10end
|
||||
if:cb9<1 and :cb0<1then:l9=1 goto10end
|
||||
if:cb4<1 and :cb5<1then:l4=1 goto10end
|
||||
if:cb6<1 and :cb7<1then:l7=1 goto10end
|
||||
if:cb1<1then:l1=1 goto10end if:cb0<1then:l0=1 goto10end
|
||||
if:cb5<1then:l5=1 goto10end if:cb6<1then:l6=1 goto10end
|
||||
:load=0 goto1
|
||||
4
EGOTech/rocker_duo/yolol/load_left_back_basic.yolol
Normal file
4
EGOTech/rocker_duo/yolol/load_left_back_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
if:l8<1thengoto1end if:cb9>0 or :cb0>0then:l8=0 goto1end :b2=1
|
||||
if:tbl2<1thengoto1end :tbp2=6.5 :tbh2=0 :Approach=0
|
||||
if:tbf2>100thengoto3end :tbr2+=30 if:tbr2<180thengoto3end
|
||||
if:tbf2>100thengoto4end :cb8=1 :b2=0 :tbr2=0 :tbh2=-15 :l8=0 goto1
|
||||
@@ -0,0 +1,4 @@
|
||||
if:l9<1thengoto1end if:cb0>0then:l9=0 goto1end :b2=1
|
||||
if:tbl2<1thengoto1end :tbp2=6.5 :tbh2=0 :Approach=0
|
||||
if:tbf2>100thengoto3end :tbr2+=30 if:tbr2<120thengoto3end
|
||||
if:tbf2>100thengoto4end :cb9=1 :b2=0 :tbr2=0 :tbh2=-15 :l9=0 goto1
|
||||
@@ -0,0 +1,4 @@
|
||||
if:l0<1thengoto1end :b2=1
|
||||
if:tbl2<1thengoto1end :tbp2=6.5 :tbh2=0 :Approach=0
|
||||
if:tbf2>100thengoto3end :tbr2+=30 if:tbr2<60thengoto3end
|
||||
if:tbf2>100thengoto4end :cb0=1 :b2=0 :tbr2=0 :tbh2=-15 :l0=0 goto1
|
||||
4
EGOTech/rocker_duo/yolol/load_left_top_back_basic.yolol
Normal file
4
EGOTech/rocker_duo/yolol/load_left_top_back_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
if:l7<1thengoto1end if:cb6>0then:l7=0 goto1end :b2=1
|
||||
if:tbl2<1thengoto1end :tbp2=6.5 :tbh2=0 :Approach=0
|
||||
if:tbf2>100thengoto3end :tbr2-=30 if:tbr2>-120thengoto3end
|
||||
if:tbf2>100thengoto4end :cb7=1 :b2=0 :tbr2=0 :tbh2=-15 :l7=0 goto1
|
||||
4
EGOTech/rocker_duo/yolol/load_left_top_front_basic.yolol
Normal file
4
EGOTech/rocker_duo/yolol/load_left_top_front_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
if:l6<1thengoto1end :b2=1
|
||||
if:tbl2<1thengoto1end :tbp2=6.5 :tbh2=0 :Approach=0
|
||||
if:tbf2>100thengoto3end :tbr2-=30 if:tbr2>-60thengoto3end
|
||||
if:tbf2>100thengoto4end :cb6=1 :b2=0 :tbr2=0 :tbh2=-15 :l6=0 goto1
|
||||
4
EGOTech/rocker_duo/yolol/load_right_back_basic.yolol
Normal file
4
EGOTech/rocker_duo/yolol/load_right_back_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
if:l3<1thengoto1end if:cb1>0 or :cb2>0then:l3=0 goto1end :b1=1
|
||||
if:tbl1<1thengoto1end :tbp1=6.5 :tbh1=0 :Approach=0
|
||||
if:tbf1>100thengoto3end :tbr1+=30 if:tbr1<180thengoto3end
|
||||
if:tbf1>100thengoto4end :cb3=1 :b1=0 :tbr1=0 :tbh1=-15 :l3=0 goto1
|
||||
@@ -0,0 +1,4 @@
|
||||
if:l2<1thengoto1end if:cb1>0then:l2=0 goto1end :b1=1
|
||||
if:tbl1<1thengoto1end :tbp1=6.5 :tbh1=0 :Approach=0
|
||||
if:tbf1>100thengoto3end :tbr1+=30 if:tbr1<120thengoto3end
|
||||
if:tbf1>100thengoto4end :cb2=1 :b1=0 :tbr1=0 :tbh1=-15 :l2=0 goto1
|
||||
@@ -0,0 +1,4 @@
|
||||
if:l1<1thengoto1end :b1=1
|
||||
if:tbl1<1thengoto1end :tbp1=6.5 :tbh1=0 :Approach=0
|
||||
if:tbf1>100thengoto3end :tbr1+=30 if:tbr1<60thengoto3end
|
||||
if:tbf1>100thengoto4end :cb1=1 :b1=0 :tbr1=0 :tbh1=-15 :l1=0 goto1
|
||||
4
EGOTech/rocker_duo/yolol/load_right_top_back_basic.yolol
Normal file
4
EGOTech/rocker_duo/yolol/load_right_top_back_basic.yolol
Normal file
@@ -0,0 +1,4 @@
|
||||
if:l4<1thengoto1end if:cb5>0then:l4=0 goto1end :b1=1
|
||||
if:tbl1<1thengoto1end :tbp1=6.5 :tbh1=0 :Approach=0
|
||||
if:tbf1>100thengoto3end :tbr1-=30 if:tbr1>-120thengoto3end
|
||||
if:tbf1>100thengoto4end :cb4=1 :b1=0 :tbr1=0 :tbh1=-15 :l4=0 goto1
|
||||
@@ -0,0 +1,4 @@
|
||||
if:l5<1thengoto1end :b1=1
|
||||
if:tbl1<1thengoto1end :tbp1=6.5 :tbh1=0 :Approach=0
|
||||
if:tbf1>100thengoto3end :tbr1-=30 if:tbr1>-60thengoto3end
|
||||
if:tbf1>100thengoto4end :cb5=1 :b1=0 :tbr1=0 :tbh1=-15 :l5=0 goto1
|
||||
@@ -0,0 +1,5 @@
|
||||
s=1728 o=" Ore" c=" Crystal" i=0 if:scan<1thengoto1end :scn=1 :vt=0
|
||||
ifi<:sr then:ix=i :vt+=:vl goto3+i end ifi>0thengoto5end goto1
|
||||
:v1=:vl/s :m1=:mt-c-o i++ goto2
|
||||
:v2=:vl/s :m2=:mt-c-o i++ goto2
|
||||
:scan=0 :reset=1 goto1
|
||||
@@ -0,0 +1,12 @@
|
||||
p="\n" q=p+p s=" stks"+q k="k" a="Ajatite" b="Bastium" c="Charodium"
|
||||
i="Ice" n="Nhurgite" v="Valkite" o="Vokarium" ab="Aegisium"
|
||||
ac="Exorium" r=q+"NO RESULT" u=1000 d=.544 e=.87 f=3.81 g=.816
|
||||
h=2.721 j=.544 l=.979 m=1.588 ad=2.503 ae=4.354
|
||||
if:m1=="" or :m2==""thengoto11end if:vt<1thengoto12end
|
||||
:Material=q+:m1+p+:v1+s+:m2+p+:v2+s x=:m1 y=:m2 z=x==a w=x==i
|
||||
cr=:v1*(z*d+w*g+(x==v)*j)
|
||||
cr+=:v2*((y==b)*e+(y==c)*f+(y==n)*h+(y==o)*l+(y==ab)*ad+(y==ac)*ae)
|
||||
t=:vt/u cr*=m :Credits=p+cr+k+q+"Volume:"+p+t+"Mv" goto5
|
||||
|
||||
:Material=r :Credits=r goto5
|
||||
aa=q+"Scanning..." :Material=aa :Credits=aa goto5
|
||||
1
EGOTech/rocker_duo/yolol/min_eps_switch_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/min_eps_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:MinEPS=(:MinEPS+:mes)*(:MinEPS>=0)-:MinEPS>100 goto1
|
||||
2
EGOTech/rocker_duo/yolol/sensitivity_switch_basic.yolol
Normal file
2
EGOTech/rocker_duo/yolol/sensitivity_switch_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
:Sensitivity=(:Sensitivity+:sss)*(:Sensitivity>=0)-:Sensitivity>100
|
||||
goto1
|
||||
2
EGOTech/rocker_duo/yolol/sloth_basic.yolol
Normal file
2
EGOTech/rocker_duo/yolol/sloth_basic.yolol
Normal file
@@ -0,0 +1,2 @@
|
||||
if:sloth<1then:sense1=100 :sense2=-100 goto1end
|
||||
:sense1=:sensitivity :sense2=-:sensitivity goto1
|
||||
12
EGOTech/rocker_duo/yolol/timer_advanced.yolol
Normal file
12
EGOTech/rocker_duo/yolol/timer_advanced.yolol
Normal file
@@ -0,0 +1,12 @@
|
||||
n="\n" p="Clear panel value to reset" q="y" j="w" k="d" l="h" o="m"
|
||||
u="s" g="Reseting..." a=60 b=a*a c=b*24 e=c*7 f=c*365 x=1000
|
||||
if:Timer==""then:ts=0 z=n+n+g end :Timer=z
|
||||
t=:ts s=t%a t-=s m=t%b/a t-=m*a h=t%c/b t-=h*b d=t%e/c t-=d*c w=t%f/e
|
||||
t-=w*e y=t/f z=n ify>0thenz+=y+q end r=w%1 d+=r*7 ifd>6thenw++ d-=7end
|
||||
ifw>0thenz+=w/x*x+j end v=d%1 ifv==0.999thend+=0.001end // rounding
|
||||
ifd>0thenz+=d+k+n elsez+=n end z+=h+l+m+o+s+u+n+n+p :ts++ goto3
|
||||
|
||||
// Outputs:
|
||||
// :Timer - Global for text panel
|
||||
// Inputs:
|
||||
// :ts - store timer in seconds, put in memory chip or device
|
||||
1
EGOTech/rocker_duo/yolol/turtle_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/turtle_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:Turtle<100then:Turtle=:TurtleRate end goto1
|
||||
1
EGOTech/rocker_duo/yolol/turtle_rate_switch_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/turtle_rate_switch_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
:TurtleRate=(:TurtleRate+:trs)*(:TurtleRate>=0)-:TurtleRate>100 goto1
|
||||
1
EGOTech/rocker_duo/yolol/unload_left_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/unload_left_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:u2<1thengoto1end :cb6=0 :cb7=0 :cb8=0 :cb9=0 :cb0=0 :u2=0 goto1
|
||||
1
EGOTech/rocker_duo/yolol/unload_right_basic.yolol
Normal file
1
EGOTech/rocker_duo/yolol/unload_right_basic.yolol
Normal file
@@ -0,0 +1 @@
|
||||
if:u1<1thengoto1end :cb1=0 :cb2=0 :cb3=0 :cb4=0 :cb5=0 :u1=0 goto1
|
||||
Reference in New Issue
Block a user