Home   Help Search Login Register  

Author Topic: Landing gear  (Read 563 times)

0 Members and 2 Guests are viewing this topic.

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Landing gear
« on: 07 Nov 2004, 02:25:13 »
hello
how do I make an empty plane start with the landing gear down(its not flying just sitting there).

How do i make a c-130 start with the cargo door closed because it auto opens when the mission starts

how do I make a man start in the back of a c-130(NOT SITTING IN CARGO) just standing in the back. every time i place him on top of the plane then start the mission and he is under it  not in it.
Do not tell me to do this moveincargo plane
im not trying to do that. i want him standing in the back
thanks
« Last Edit: 07 Nov 2004, 02:25:34 by penguinman »

Cpt. Red Nain

  • Guest
Re:Landing gear
« Reply #1 on: 07 Nov 2004, 02:33:55 »
question #1: i'd say just create it on the ground and it will automatically have its gear down... why d'u ask? problems with addons maybe?

questions #2 & #3: sry no answer :-\

Dubieman

  • Guest
Re:Landing gear
« Reply #2 on: 07 Nov 2004, 03:48:48 »
1.) All planes without a special characteristic : fly have gears down on start.

2.)Its an animation.

Something like:

bigplane animate [Door Closed]

Of course I don't know the proper syntax nor the correct animation. But I'm pretty sure that's how it works, it'll make the door be closed upon where you put the code. Soz I can't help you more on this. :P

3.) Use a setpos height thing code:

this setpos [getpos this select 0, getpos this select 1, (getpos this select 2)+1]

in his init field and maybe you can make him in the plane, not being under or crushed by it. Blame OFP's awesome clipping characteristics. :D
But this may not work cause of clipping reasons... :-\

Offline penguinman

  • Contributing Member
  • **
  • Money is worthless, just paper, ink, and threads
Re:Landing gear
« Reply #3 on: 07 Nov 2004, 04:56:51 »
Question #1: did I say down sry I meant up, so the plane is on its belly
Question#2: how would i find this
Question#3: what is clipping but I got the set pos thing
thank you all

bored_onion

  • Guest
Re:Landing gear
« Reply #4 on: 07 Nov 2004, 08:34:36 »
question#1: i think that might blow it up or if not it wont take much for it to blow up

question#3: clipping is the interaction between objects - like when you go in a building and get your foot stuck in a lampshade or something, thats a clipping problem

Offline C0LDSt33L

  • Members
  • *
  • Member of the SotM Team
Re:Landing gear
« Reply #5 on: 07 Nov 2004, 13:17:50 »
Question #1: You can use the landing gear action command to toggle the gears. eg

C-130 action ["Land gear"]

Don't be suprised if it explodes on the spot though  ::)

Dubieman

  • Guest
Re:Landing gear
« Reply #6 on: 07 Nov 2004, 20:50:10 »
I've put my gear up before, the plane doesn't blow up. It has a very bad problem with the ground and either the nose or tail sinks into the ground... Eventually it blows up.

As for the 2.) check the readme, or even depbo it...

EDIT: depbo HAWK's C130, not sure if that's the plane you are using...

here's what I got from the config on the ramp door

Code: [Select]
      class rampa
         {
            type="rotation";
            animPeriod=6;
            selection="rampa";
            axis="osrampa";
            angle0=0;
            angle1=0.66;
         };
         class rampa1
         {
            type="rotation";
            animPeriod=5;
            selection="rampa1";
            axis="osrampa1";
            angle0=0;
            angle1=0.523;
         };

Not sure what to get out of that to make the door open or closed. :P Maybe someone else knows. :P
« Last Edit: 07 Nov 2004, 21:05:41 by GuiltyRoachKillar »