AM 2 GTO

View previous topic View next topic Go down

AM 2 GTO

Post by Echo_Delta_Oscar on Wed Oct 05, 2011 3:55 pm

Small, fast Sportscar. It might seem a little too enthusiastic at low speed, but I prefer a little bit of oversteering there than understeering at high speed.



Power: 50 kW (68 bhp)
Rear wheel Drive
Sequential 6 speed transmission
Torque limiter in 1st and 2nd gear
Adaptive front and rear spoilers
flameholderless double exhaust pipe
ABS
Racing Colours

Optional:

AM/FM Radio
Air Conditioning
Bluetooth

Up arrow: Flat out
L/R arrow: Steering
A: Brakes
D: Handbrake
G: Toggle ABS
W: Gear up
S: Gear down

Code:


Val
{
   Brake(default=0,min=0,max=380,step=380)
   HBrake(default=0,min=0,max=500,step=500)
   Handle(default=0,min=-40,max=40,step=5)
   Engine(default=0,min=-5000,max=25000,step=2500)
   Flout(default=0,min=-5000,max=25000,step=2500)
   Smoke(default=1,min=1,max=3, step=1)
   Exhaust(default=0, min=0, max=3000, step=100)
   Gear(default=0, min=0, max=5, step=0)
   Stop(default=-50, min=-50, max=-47, step=15)
   ABESSE(default=0, min=0, max=1)
   EXTRA(default=-5, min=-14, max=-5)
   EXTRR(default=-5, min=-10, max=-5)
}
Key
{
   0:Flout(step=500)
   2:Handle(step=-2)
   3:Handle(step=2)
   7:Brake(step=50),HBrake(step=55),Stop(step=15)
   9:HBrake(step=100)

}
Body {
   Core(color=#050505){   

      S:cowl(angle=-90, option=1){
      E:Cowl(angle=-90, color=#303030){E:Cowl(angle=-170, option=5, color=#808080){}E:Cowl(option=4, color=#303030){}
      S:Cowl(angle=100, color=#700000){
      W:Cowl(angle=45, option=5, color=#700000){}
      E:Cowl(angle=45, option=5, color=#700000){}
      E:Cowl(angle=44, option=2, color=#cccc00){}}}
      W:Cowl(angle=-90, color=#303030){W:Cowl(angle=-170, option=5, color=#808080){}W:Cowl(option=3, color=#303030){}
      S:Cowl(angle=100, color=#700000){
      E:Cowl(angle=45, option=5, color=#700000){}
      W:Cowl(angle=45, option=5, color=#700000){}
      W:Cowl(angle=44, option=2, color=#cccc00){}}}
      S:Cowl(angle=-90, color=#ffffff){S:Cowl(angle=-170, option=5, color=#808080){}
      S:Cowl(angle=-45, color=#ffffff){S:Cowl(angle=179, option=5, color=#000001){}}}
      E:Cowl(angle=45, color=#303030){}
      W:Cowl(angle=45, color=#303030){}
      N:Cowl(angle=120, option=5, color=#404040){}
      S:Cowl(angle=120, option=5, color=#404040){}
      E:Cowl(angle=120, option=5, color=#404040){}
      W:Cowl(angle=120, option=5, color=#404040){}
      S:Cowl(angle=90, color=#ffffff){E:Cowl(option=3, color=#303030){}W:Cowl(option=4, color=#303030){}}}
      S:Cowl(color=#050505){}

      N:Frame(option=1){E:Trim(angle=EXTRA, color=#700000){}W:Trim(angle=-EXTRA, color=#700000){}}
      E:Frame(angle=-50){E:Frame(angle=50, option=1){W:RudderF(angle=Handle, option=1){
      E:Wheel(angle=90, brake=Brake, effect=4, color=#900000){}}}}
      W:Frame(angle=-50){W:Frame(angle=50, option=1){E:RudderF(angle=Handle, option=1){
      W:Wheel(angle=90, brake=Brake, effect=4, color=#900000){}}}}
      S:Frame(option=1){
      E:Frame(option=1){E:Jet(angle=-100, power=Exhaust, effect=Smoke, color=#404040){}}
      W:Frame(option=1){W:Jet(angle=-100, power=Exhaust, effect=Smoke, color=#404040){}}

      S:Cowl(color=#050505){}
      E:Cowl(option=3, color=#050505){}
      W:Cowl(option=4, color=#050505){}
      S:Cowl(angle=-90, effect=#ffff){S:Cowl(angle=-135, color=#303030){E:Cowl(option=4, color=#303030){}W:Cowl(option=3, color=#303030){}}
      S:Cowl(angle=60, effect=#a000){S:Cowl(angle=30, color=#700000){S:Cowl(angle=30, effect=#a000){}
      E:Cowl(angle=30, effect=#a000){N:Cowl(option=3, effect=#a000){}S:Cowl(angle=33, option=3, color=#700000){}}
      W:Cowl(angle=30, effect=#a000){N:Cowl(option=4, effect=#a000){}s:Cowl(angle=33, option=4, color=#700000){}}}
      E:Cowl(effect=#a000, option=4){}W:Cowl(effect=#a000, option=3){}}
      E:Cowl(effect=#ffff){E:Cowl(angle=-136, color=#303030){}E:Cowl(angle=90, color=#303030){}}
      W:Cowl(effect=#ffff){W:Cowl(angle=-136, color=#303030){}W:Cowl(angle=90, color=#303030){}}}

      S:Frame(option=1){

      S:Cowl(color=#050505){}
      E:Cowl(color=#050505){}
      W:Cowl(color=#050505){}

      S:Frame(option=1){

      S:Cowl(color=#050505){}
      E:Cowl(color=#050505){E:Cowl(angle=-90, color=#303030){}}
      W:Cowl(color=#050505){W:Cowl(angle=-90, color=#303030){}}

      S:Frame(option=1){
      S:Frame(name=Rear, option=1){
      E:Chip(angle=-90, option=1){E:Chip(color=#303030){
      E:Frame(angle=-80, option=1){W:Trim(angle=EXTRR, color=#700000){}}}}
      W:Chip(angle=-90, option=1){W:Chip(color=#303030){
      W:Frame(angle=-80, option=1){E:Trim(angle=-EXTRR, color=#700000){}}}}}

      S:Cowl(color=#050505){
      E:Cowl(option=4, color=#050505){}
      W:Cowl(option=3, color=#050505){}
      S:Cowl(angle=-90, color=#ffffff){S:Cowl(angle=-90, color=#ffffff){}
      E:Cowl(angle=Stop, color=#ff0000){}
      W:Cowl(angle=Stop, color=#ff0000){}
      E:Cowl(angle=-48, color=#303030){}
      W:Cowl(angle=-48, color=#303030){}}}
      S:Cowl(angle=-90, effect=#ffff){S:Cowl(angle=-90, color=#ffffff){}
      E:Cowl(color=#303030){E:Cowl(angle=135, color=#303030){E:Cowl(angle=-179, option=5, color=#bb0000){}}
      S:Cowl(angle=-90, color=#303030){S:Cowl(angle=-90, color=#303030){}}S:Cowl(angle=90, option=3, color=#303030){}}
      W:Cowl(color=#303030){W:Cowl(angle=135, color=#303030){W:Cowl(angle=-179, option=5, color=#bb0000){}}
      S:Cowl(angle=-90, color=#303030){S:Cowl(angle=-90, color=#303030){}}S:Cowl(angle=90, option=4, color=#303030){}}}

      E:Chip(angle=-50, color=#303030){E:Wheel(angle=140, power=Engine, brake=HBrake, effect=4, color=#900000){}}
      W:Chip(angle=-50, color=#303030){W:Wheel(angle=140, power=-Engine, brake=HBrake, effect=4, color=#900000){}}}}}}
      
}}
Script
{
   print 1,"Weight: ",_WEIGHT()
   print 2,"Fuel: ", _FUEL(),", Fuel LVL: ",_FUEL()/190000," %"
   print 3,"Speed: ",_VEL()*3600/1000," km/h, ",_VEL()," m/s"
   print 9,"Lap @ Tukuba: 1'23''43"
   print 10,"Lap @ Lake Circuit: 1'17''80"

   ABESSE=_MOD(ABESSE+_KEYDOWN(13),2)

   EXTRA=-5-_ABS(Handle/5)-HBrake/250+(_H(Rear)-_H())
   EXTRR=-5-Brake/76

   if ABESSE=(1) & Brake>100 & HBrake>110{
   Brake=0
   HBrake=0}

   if ABESSE=(1){
   print 4,"ABS ON"}

   if _ABS(Engine)>(0) & Gear=0{
   Exhaust=100
   Smoke=1}

   if _ABS(Engine)>(0) & Gear>0{
   Exhaust=100+_KEY(8)*3000
   Smoke=2}

   if _ABS(Engine)=(0){
   Exhaust=0}

   Gear=_MOD(Gear+_KEYDOWN(15)-_KEYDOWN(8),6)

   if Gear=(0){
   print 7,"1st GEAR"
   Smoke=2
   Engine=Flout*8/10/(1+(_POW(20-_VEL(),2))/400)}

   if Gear=(1){
   print 7,"2nd GEAR"
   Smoke=2
   Engine=Flout/(1+(_POW(30-_VEL(),2))/240)}

   if Gear=(2){
   print 7,"3rd GEAR"
   Smoke=2
   Engine=Flout*11/10/(1+(_POW(40-_VEL(),2))/100)}

   if Gear=(3){
   print 7,"4th GEAR"
   Smoke=2
   Engine=Flout*11/10/(1+(_POW(50-_VEL(),2))/100)}

   if Gear=(4){
   print 7,"5th GEAR"
   Smoke=2
   Engine=Flout*11/10/(1+(_POW(60-_VEL(),2))/170)}

   if Gear=(5){
   print 7,"6th GEAR"
   Smoke=2
   Engine=Flout*11/10/(1+(_POW(70-_VEL(),2))/100)}

   if _KEY(14)>0{
   print 7,"REVERSE"
   Smoke=1
   Engine=-Flout/2*(1+(_POW(20-_VEL(),2))/40)}

   if _VEL()>(25) & Gear=0{
   print 8,"|____________________________________________________________________________________________UP! UP! UP! UP!"}

   if _VEL()>(35) & Gear=1{
   print 8,"|____________________________________________________________________________________________UP! UP! UP! UP!"}

   if _VEL()>(45) & Gear=2{
   print 8,"|____________________________________________________________________________________________UP! UP! UP! UP!"}

   if _VEL()>(55) & Gear=3{
   print 8,"|____________________________________________________________________________________________UP! UP! UP! UP!"}

   if _VEL()>(65) & Gear=4{
   print 8,"|____________________________________________________________________________________________UP! UP! UP! UP!"}


   if _VEL()<(63) & Gear=5{
   print 8,"|____________________________________________________________________________________________DOWN! DOWN! DOWN! DOWN!"}

   if _VEL()<(53) & Gear=4{
   print 8,"|____________________________________________________________________________________________DOWN! DOWN! DOWN! DOWN!"}

   if _VEL()<(43) & Gear=3{
   print 8,"|____________________________________________________________________________________________DOWN! DOWN! DOWN! DOWN!"}

   if _VEL()<(33) & Gear=2{
   print 8,"|____________________________________________________________________________________________DOWN! DOWN! DOWN! DOWN!"}

   if _VEL()<(23) & Gear=1{
   print 8,"|____________________________________________________________________________________________DOWN! DOWN! DOWN! DOWN!"}


}



Last edited by Echo_Delta_Oscar on Sun Oct 09, 2011 5:54 pm; edited 2 times in total (Reason for editing : New code, better description)
avatar
Echo_Delta_Oscar
Hover
Hover

Posts : 105
Join date : 2011-03-24

View user profile

Back to top Go down

Re: AM 2 GTO

Post by Timothy Ashtön on Sat Oct 08, 2011 9:04 am

Awesome, I don't think I've seen a 6 speed trans in RC? That's unusual, oh and you forgot the 't' in [Print 7, 1s GEAR]
avatar
Timothy Ashtön
Walker
Walker

Posts : 289
Join date : 2010-07-17
Age : 24
Location : Ontario

View user profile http://wildfrontierguidecomplete.blogspot.com/

Back to top Go down

Re: AM 2 GTO

Post by Echo_Delta_Oscar on Tue Oct 25, 2011 8:40 am

Thanks, fixed.

The need for a simulated gearbox comes from the specific of having a torque control on a powerful engine while mantaining a manual control as hihg as possible.
avatar
Echo_Delta_Oscar
Hover
Hover

Posts : 105
Join date : 2011-03-24

View user profile

Back to top Go down

Re: AM 2 GTO

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum