RigidChips

Latest Shouts In The Shoutbox --     View The Shoutbox
Sorry, guests cant view the RigidChips shoutbox, Please register if you'd like to use it.


  Reply to this topicStart new topicStart Poll

» Transformamajiggy, Trans-formers! Carplanes in dis-guise...
Lawlzbawts
Posted: Feb 7 2008, 05:12 PM
Quote Post




Newbie
*

Group: Members
Posts: 3
Joined: 7-February 08
Member No.: 59





A vehicle I made that switches between a car mode and a plane mode. It's somewhat simply built (I used the basic car frame as a base) but the transformation sequence is fun to watch.

Controls:

Arrow keys: steering/accelerator for car, handling in plane
X: Transform from car to plane.
S: Transform from plane to car.
C: Jet engines.
Z: Fire the gun (WARNING: this will damage you in car mode)

CODE
//transformer!
//
Val
{
   R(default=0,min=-10,max=20,step=8)
   L(default=0,min=-10,max=20,step=8)
   Break(default=0,min=0,max=80,step=80)
   HBreak(default=0,min=0,max=100,step=100)
   Handle(default=0,min=-20,max=20,step=5)
   Engine(default=0,min=-5000,max=5000,step=5000)
   Jet(default=0,min=-25000,max=25000,step=10000)
   Trig(default=0,min=0,max=1000000,step=1000000)
   Fold(max=180)
   Fold1(default=90,min=90,max=180,disp=0)
   Fold2(default=180,max=180,disp=0)
   Fold3(default=180,min=180,max=-90,disp=0)
   Fold4(default=0,min=-180,max=90,disp=0)

}
Key
{
   0:Engine(step=-500),L(step=-0.5),R(step=-0.5)
   1:Engine(step=500),L(step=0.5),R(step=0.5)
   2:Handle(step=-0.5),L(step=-0.5)
   3:Handle(step=0.5),R(step=-0.5)
   7:Break(step=30),HBreak(step=20)
   6:Jet(step=-2500)
   4:Trig(step=1000000)
   5:Fold(step=5),Fold1(step=5),Fold2(step=-5),Fold3(step=5),Fold4(step=5)
   8:Fold(step=-5),Fold1(step=-5),Fold2(step=5),Fold3(step=-5),Fold4(step=-5)
}
Body {
   Core(){
       N:ARM(option=25000,power=Trig,name=arm1,Angle=Fold2){
       }
       S:Chip(Angle=Fold2){
           S:Chip(Angle=Fold2){
               S:Chip(Angle=Fold2){
                   S:Chip(Angle=Fold2){
                       E:Chip(angle=Fold2,color=fffff){
                           E:Chip(angle=Fold4){
                           }
                       }
                       W:Chip(angle=Fold2,color=fffff){
                           W:Chip(angle=fold4){
                           }
                       }
                   }
               }
           }
       }
       E:trim(Angle=-L){
           E:Chip(Angle=Fold2){
               N:Jet(angle=Fold4,power=-Jet){
                   S:Jet(power=-Jet){
                   }
               }
               E:Chip(Angle=Fold2){
                   E:Chip(Angle=Fold2){
                   }
               }
           }
       }
       W:trim(Angle=R){
           W:Chip(Angle=Fold2){
               N:Jet(angle=Fold4,power=-Jet){
                   S:Jet(power=-Jet){
                   }
               }
               W:Chip(Angle=Fold2){
                   W:Chip(Angle=Fold2){
                   }
               }
           }
       }
       N:Chip(Angle=Fold){
           N:Rudder(angle=Handle){
               W:Frame(Option=1,Angle=Fold){
                   W:Wheel(Angle=Fold1,break=Break){
                   }
               }
               E:Frame(Option=1,Angle=Fold){
                   E:Wheel(Angle=Fold1,break=Break){
                   }
               }
           }
       }
       S:Chip(Angle=Fold){
           W:Frame(Angle=Fold){
               W:Wheel(Angle=Fold1,power=Engine,break=HBreak){
               }
           }
           E:Frame(Angle=Fold){
               E:Wheel(name=abc,Angle=Fold1,power=-Engine,break=HBreak){
               }
           }
       }
   }
}
Script
{
   print 2,_E(arm1)
}
PMEmail Poster
Top
vovman
  Posted: May 3 2008, 05:43 AM
Quote Post




Newbie
*

Group: Members
Posts: 4
Joined: 2-May 08
Member No.: 112





great transformer!!!
It created a new innovation model for us!!
thanks dud!
PMEmail Poster
Top
PicoriKing
Posted: May 3 2008, 01:47 PM
Quote Post




Advanced Member
***

Group: Members
Posts: 83
Joined: 4-October 07
Member No.: 24





That's amazing! The transforming sequence looks so cool emo-biggrin.gif

The only problem is the controls in plane mode. Do you think you could invert them, please? (i.e., pressing down makes you go up, and pressing up makes you go down)


--------------------
Not in cruelty,
Not in wrath,
The reaper came today.
An angel visited this gray path,
And took the cube away.

user posted image

QUOTE (Arnold Toynbee)
It is a paradoxical but profoundly true and important principle of life that the most likely way to reach a goal is to be aiming not at that goal itself but at some more ambitious goal beyond it.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Lo-Fi Version
   Script Execution time: 0.4356    15 queries used    GZIP Enabled
Your last action was on: A minute ago
Please Help Pay for the Rent of the Server and Domain