Val{ Brake(max=800,step=300) HBrake(max=200,step=200) HandleL(default=90,min=40,max=130) Engine(min=-15000,max=15000,step=2000) HandleR(default=90,min=40,max=130) wingR(default=165,min=150,max=165,step=5) wingL(default=165,min=150,max=165,step=5) FR(min=-60000,max=60000) FL(min=-60000,max=60000) RR(min=-60000,max=60000) RL(min=-60000,max=60000) brakefr(max=1600) brakefl(max=1600) brakerr(max=1600) brakerl(max=1600) wingRR(default=-165,min=-165,max=-150,step=5) wingRL(default=-165,min=-165,max=-150,step=5) HANDLE(min=-30,max=30,step=3) } Key{ 0:Engine(step=500) 1:Engine(step=-500) 2:HANDLE(step=-3),wingRL(step=2.5),wingL(step=-2.5) 3:wingRR(step=2.5),HANDLE(step=3),wingR(step=-2.5) 7:Brake(step=20),wingR(step=-2.5),wingL(step=-2.5),wingRR(step=2.5),wingRL(step=2.5) 8:HBrake(step=50) } Body{ Core(){ N:Frame(Color=#80FF00, Damper=100, Spring=100){ E:TrimF(Color=#80FF00, Damper=100, Spring=100){ N:Frame(Color=#80FF00, Angle=-90, Damper=1, Spring=1, Option=1){ E:Wheel(Name=FRW, Color=#80FF00, Angle=HandleR, Damper=100, Spring=100, Power=FR, Brake=brakefr, Option=1){} S:Frame(Color=#80FF00, Angle=90, Damper=100, Spring=100){ S:Chip(Color=#80FF00, Angle=wingR, Damper=2, Spring=0.1){} } E:Cowl(Color=#005200, Angle=-100){ N:Cowl(Color=#005200, Angle=-135){ W:Cowl(Color=#005200, Angle=5, Option=3){ N:Cowl(Color=#005200, Angle=35){ W:Cowl(Color=#FFFF00, Angle=-170, Option=4){ S:Cowl(Color=#FF0000, Angle=-40, Option=3){} } } } } E:Cowl(Color=#005200, Angle=-90, Option=3){} } } } W:TrimF(Color=#80FF00, Damper=100, Spring=100){ N:Frame(Color=#80FF00, Angle=-90, Damper=1, Spring=1, Option=1){ W:Wheel(Name=FLW, Color=#80FF00, Angle=HandleL, Damper=100, Spring=100, Power=-FL, Brake=brakefl, Option=1){} S:Frame(Color=#80FF00, Angle=90, Damper=100, Spring=100){ S:Chip(Color=#80FF00, Angle=wingL, Damper=2, Spring=0.1){} } W:Cowl(Color=#005200, Angle=-100){ N:Cowl(Color=#005200, Angle=-135){ E:Cowl(Color=#005200, Angle=5, Option=4){ N:Cowl(Color=#005200, Angle=35){ E:Cowl(Color=#FFFF00, Angle=-170, Option=3){ S:Cowl(Color=#FF0000, Angle=-40, Option=4){} } } } } W:Cowl(Color=#005200, Angle=-90, Option=4){} } } } N:Cowl(Color=#000000, Angle=-20){ N:Cowl(Color=#000000, Angle=-145){ W:Cowl(Color=#FFFF00, Angle=-45, Option=3){ N:Cowl(Color=#005200, Angle=3){ N:Cowl(Color=#005200, Option=4){ W:Cowl(Color=#80FF00, Angle=-120, Option=4){} } } } E:Cowl(Color=#FFFF00, Angle=-45, Option=4){ N:Cowl(Color=#005200, Angle=3){ N:Cowl(Color=#005200, Option=3){ E:Cowl(Color=#80FF00, Angle=-120, Option=3){} } } } N:Cowl(Color=#000000, Angle=3){} } } } S:Frame(Color=#80FF00, Damper=100, Spring=100){ E:TrimF(Color=#80FF00, Damper=100, Spring=100){ S:Frame(Color=#80FF00, Damper=1, Spring=1){ E:Wheel(Name=RRW, Color=#80FF00, Angle=-90, Damper=100, Spring=100, Power=-RR, Brake=brakerr, Option=1, Effect=3){} N:Chip(Color=#80FF00, Angle=wingRR, Damper=2, Spring=0.2){} } } W:TrimF(Color=#80FF00, Damper=100, Spring=100){ S:Frame(Color=#80FF00, Damper=1, Spring=1){ W:Wheel(Name=RLW, Color=#80FF00, Angle=-90, Damper=100, Spring=100, Power=RL, Brake=brakerl, Option=1, Effect=3){} N:Chip(Color=#80FF00, Angle=wingRL, Damper=2, Spring=0.2){} } } S:Cowl(Color=#000000, Angle=-44){ E:Cowl(Color=#005200, Angle=45, Option=3){ S:Cowl(Color=#FFF840, Angle=-90, Option=3){ W:Cowl(Color=#C0DCC0, Angle=-30){ S:Cowl(Color=#536578, Angle=-60, Option=3, Effect=#024576){ S:Cowl(Color=#80FF00, Angle=-120){ N:Cowl(Color=#408000, Angle=-120, Option=3){ W:Cowl(Color=#536578, Effect=#024576){ N:Cowl(Color=#C0DCC0, Angle=-60){} W:Cowl(Color=#536578, Angle=-4, Option=4, Effect=#024576){ S:Cowl(Color=#606E60, Angle=-120, Option=4){} } } S:Cowl(Color=#005200, Angle=-45, Option=3){ W:Cowl(Color=#005200){} } } W:Cowl(Color=#80FF00){} } E:Cowl(Color=#80FF00, Angle=-90, Option=4){} } } } } W:Cowl(Color=#005200, Angle=45, Option=4){ S:Cowl(Color=#FFF840, Angle=-90, Option=4){ E:Cowl(Color=#C0DCC0, Angle=-30){ S:Cowl(Color=#536578, Angle=-60, Option=4, Effect=#024576){ S:Cowl(Color=#80FF00, Angle=-120){ N:Cowl(Color=#005200, Angle=-120, Option=4){ E:Cowl(Color=#536578, Effect=#024576){ N:Cowl(Color=#C0DCC0, Angle=-60){} E:Cowl(Color=#536578, Angle=-4, Option=3, Effect=#024576){ S:Cowl(Color=#606E60, Angle=-120, Option=3){} } } S:Cowl(Color=#005200, Angle=-45, Option=4){ E:Cowl(Color=#005200){} } } E:Cowl(Color=#80FF00){} } W:Cowl(Color=#80FF00, Angle=-90, Option=3){} } } } } S:Cowl(Color=#000000, Angle=-120){} } E:Chip(Color=#80FF00, Angle=-90, Damper=100, Spring=100){} W:Chip(Color=#80FF00, Angle=-90, Damper=100, Spring=100){} } } } Script{ slipFR=_abs(_wy(FRW))/(_abs(_vz(FRW))+_abs(_vx(FRW))) slipRR=_abs(_wy(RRW))/(_abs(_vz(RRW))+_abs(_vx(RRW))) slipFL=_abs(_wy(FLW))/(_abs(_vz(FLW))+_abs(_vx(FLW))) slipRL=_abs(_wy(RLW))/(_abs(_vz(RLW))+_abs(_vx(RLW))) v=-(_VZ(0)*3.6) print 0,"SLIPFL=",slipFL print 1,"SLIPFR=",slipFR print 2,"SLIPRL=",slipRL print 3,"SLIPRR=",slipRR print 4,"POWER=",FL+FR+RR+RL print 5," ",v,"km/h (",v/1.6,"kpm/h)" if HANDLE>=0{handleL=HANDLE+90:handleR=((-HANDLE)*1.25)+90} if HANDLE<0 {handleR=-HANDLE+90:handleL=((HANDLE)*1.25)+90} FL=ENGINE*(1-(SLIPFL)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)) FR=ENGINE*(1-(SLIPFR)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)) RL=ENGINE*(1-(SLIPRL)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)) RR=ENGINE*(1-(SLIPRR)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)) brakeRR=brake*((SLIPRR+SLIPFR+SLIPRL)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL))+Hbrake brakeRL=brake*((SLIPFL+SLIPRR+SLIPRL)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL))+Hbrake brakeFR=(brake*((SLIPFL+SLIPFR+SLIPRR)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)))*1.5 brakeFL=(brake*((SLIPFL+SLIPFR+SLIPRL)/(SLIPFL+SLIPFR+SLIPRR+SLIPRL)))*1.5 }