RigidChips
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Light interceptor model 1

3 posters

Go down

Light interceptor model 1 Empty Light interceptor model 1

Post by Sting Auer Fri Feb 04, 2011 5:06 pm

I made this fighter by trying to make a plane that can fly for a good period of time with limited fuel, yet still be pretty beastly.

Controls are WASD for engine power and Yaw, Q to use airbrakes, E to use the guns, and F and G to fold landing gear in and out. The guns will NOT fire if the landing gear are out.


Code:

// [RCD]
Val
{
   AIRBRAKES(default=180, min=80, max=180, step=5)
   ANGLE1(default=90, min=90, max=180)
   ANGLE2(default=60, min=60, max=180)
   ENGINE(default=0, max=100000)
   GUN1(default=0, max=100000, step=100000)
   GUN10(default=0, max=100000, step=100000)
   GUN2(default=0, max=100000, step=100000)
   GUN3(default=0, max=100000, step=100000)
   GUN4(default=0, max=100000, step=100000)
   GUN5(default=0, max=100000, step=100000)
   GUN6(default=0, max=100000, step=100000)
   GUN7(default=0, max=100000, step=100000)
   GUN8(default=0, max=100000, step=100000)
   GUN9(default=0, max=100000, step=100000)
   GUNTIMER(default=-1, min=-1, max=50000, step=50000)
   MEASURE(default=0, min=-500, max=500)
   MODE(default=0, max=1)
   PITCH(default=0, min=-10, max=10, step=5)
   ROLL(default=0, min=-8, max=8, step=5)
   SHOOT(default=0, max=1, step=1)
   SMOKE(default=0, max=25)
   TAILANGLE(default=0, max=5)
   YAW(default=0, min=-15, max=15, step=5)
}
Key
{
   0:PITCH(step=5)
   1:PITCH(step=-5)
   2:ROLL(step=-5)
   3:ROLL(step=5)
   4:SMOKE(step=100)
   5:SMOKE(step=-100)
   7:YAW(step=-5)
   8:ENGINE(step=-1000)
   9:YAW(step=5)
   12:MODE(step=-1)
   13:MODE(step=1)
   14:AIRBRAKES(step=-5)
   15:ENGINE(step=1000)
   16:GUNTIMER(step=1)
}
Body
{
   Core() {
      S:Frame(angle=150) {
         S:Chip(angle=30) {
            N:Frame(angle=-45) {
               N:Weight(angle=-136, option=3) {
                  W:Chip(angle=-3) {
                     W:Chip() {
                        W:Trim(angle=-ROLL) {
                           W:Chip() { }
                        }
                        N:Arm(angle=1, power=GUN5, option=50000) { }
                     }
                     S:Chip(angle=-AIRBRAKES) { }
                     N:Frame(angle=ANGLE2, power=GUN2, option=50000) {
                        W:RLW(angle=ANGLE1, brake=10) { }
                     }
                     N:Arm(angle=1, power=GUN7, option=50000) { }
                  }
                  E:Chip(angle=-3) {
                     E:Chip() {
                        E:Trim(angle=-ROLL) {
                           E:Chip() { }
                        }
                        N:Arm(angle=1, power=GUN6, option=50000) { }
                        E:Frame() { }
                     }
                     S:Chip(angle=-AIRBRAKES) { }
                     N:Frame(angle=ANGLE2, power=GUN1, option=50000) {
                        E:RLW(angle=ANGLE1, brake=10) { }
                     }
                     N:Arm(angle=1, power=GUN8, option=50000) { }
                  }
                  N:Frame(angle=91) {
                     E:Arm(angle=-90, power=GUN9, option=50000) { }
                     W:Arm(angle=-90, power=GUN10, option=50000) { }
                  }
               }
            }
            N:Frame() {
               N:TrimF(angle=90) {
                  N:Chip() {
                     N:Chip(angle=-YAW) {
                        S:RudderF(angle=150, option=1) {
                           S:RLW(angle=180, brake=10) { }
                        }
                        E:Chip() { }
                     }
                     E:Chip() { }
                  }
               }
               N:Frame() {
                  N:Chip() {
                     N:Chip(angle=-PITCH) {
                        W:Trim(angle=1) { }
                        E:Trim(angle=-1) { }
                     }
                  }
               }
               E:Frame() {
                  S:Arm(power=GUN2, option=50000) { }
               }
               W:Frame() {
                  S:Arm(power=GUN3, option=50000) { }
               }
               W:Frame(angle=90) {
                  S:Arm(power=GUN1, option=50000) { }
               }
               E:Frame(angle=90) {
                  S:Arm(power=GUN4, option=50000) { }
               }
            }
            S:Weight(option=2) {
               S:Chip() {
                  S:Jet(angle=-90, power=-ENGINE) { }
               }
            }
         }
      }
   }
}
Script
{if MODE=(1){
ANGLE1=ANGLE1+4
ANGLE2=ANGLE2+5}


if MODE=(0){
ANGLE1=ANGLE1-4
ANGLE2=ANGLE2-5
GUNTIMER=(-1)}

if GUNTIMER=(0){
GUN1=(50000)}

if GUNTIMER=(1){
GUN2=(50000)}

if GUNTIMER=(2){
GUN3=(50000)}

if GUNTIMER=(3){
GUN4=(50000)}

if GUNTIMER=(4){
GUN5=(50000)}

if GUNTIMER=(5){
GUN6=(50000)}

if GUNTIMER=(6){
GUN7=(50000)}

if GUNTIMER=(7){
GUN8=(50000)}

if GUNTIMER=(8){
GUN9=(50000)}

if GUNTIMER=(9){
GUN10=(50000)}

if GUNTIMER=(10){
GUNTIMER=(-1)}


TAILANGLE=_VEL()*0.001
}




Right now it has some issues with pitching up, and it actually doesn't last all that long with limited fuel. That is actually OK, because it is an interceptor designed to defend a base.
Sting Auer
Sting Auer
Hover
Hover

Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by RA2lover Sat Feb 05, 2011 9:04 am

use trim propellers. 'nuff said
RA2lover
RA2lover
Walker
Walker

Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by Sting Auer Sat Feb 05, 2011 10:26 am

I know about using trim props.

I also wanted this to work well with unbreakable OFF. When I make trim prop vehicles, The props usually function a little weird, snapping off at seemingly random times.

Also, I think they look weird. They also cause rotational problems.

But I will take another shot at it! Expect a new version with counter rotating trim props soon.


EDIT: NEVER MIND! I remembered the biggest reason that I used a jet: So I could pack as many guns onto it as possible! I have too much trouble getting rotating guns to work, so I haven't done that yet.
Sting Auer
Sting Auer
Hover
Hover

Posts : 170
Join date : 2010-09-19
Location : Aw crap i think I'm lost.

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by Chip Off The Old Rigid Thu Mar 24, 2011 6:43 pm

Wait, where is the gun key?

Chip Off The Old Rigid
Car
Car

Posts : 6
Join date : 2011-03-15

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by RA2lover Fri Mar 25, 2011 11:05 am

E.

Sting Auer wrote:The guns will NOT fire if the landing gear are out.


Last edited by RA2lover on Sat Mar 26, 2011 10:50 am; edited 1 time in total (Reason for editing : closing quote name)
RA2lover
RA2lover
Walker
Walker

Posts : 382
Join date : 2010-10-11
Age : 29
Location : Brazil

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by Chip Off The Old Rigid Fri Mar 25, 2011 11:13 pm

Ahhh

Chip Off The Old Rigid
Car
Car

Posts : 6
Join date : 2011-03-15

Back to top Go down

Light interceptor model 1 Empty Re: Light interceptor model 1

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

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