Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
Parts with multiple names (Read 251 times)
Sep 2nd, 2004 at 4:26pm

Abyss   Offline
Colonel
This A-10 will be the
death of me

Posts: 31
*****
 
Hello, I already have a post running although on a seperate problem (a slightly differebt x file question). I have decided to work on parts of the aircraft that are not problematic. I have made the keyframe animation for the spoilers but I am confused as how to name them. This is because there are 2 left and 2 right spoilers, the 2 left also act as the left aileron and the 2 right act as the right aileron. Can someone please tell me how to name thses? Thanks for any help.
 
IP Logged
 
Reply #1 - Sep 2nd, 2004 at 10:20pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
This is a fairly simple process.  I felt kinda dumb when it was explained to me . . . Grin

Name the spoilers as normal (this will cause them to operate with the spoiler key).  Now make a very simple object, perhaps a box.  Make it something like 1" square; really small.

Place it exactly at the pivot point for the outside right spoiler and name it r_aileron_outside (the important part being the r_aileron).  Rotate the pivot of this new box around until it matches that of the spoiler (you can do this by just copying the x,y,z info from the boxes at the bottom of the screen).

Select your spoiler again.  Click the link button and link it to the box (r_aileron_outside) you just created.  Now the spoiler will move when the aileron does.

Repeat all of that for the other three spoilers.

This will also work for any other combination of control surfaces.

Good Luck!
 

...
IP Logged
 
Reply #2 - Sep 3rd, 2004 at 1:16am

FSEdge   Offline
Colonel
Texas

Posts: 203
*****
 
Hey Abyss,
Check this
Thread
. You can use it to visualize basically what Ender has explained to you.

FSEdge
 
IP Logged
 
Reply #3 - Sep 3rd, 2004 at 1:23am

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
Actually it is easier than that. There are some lines in the aircraft.cfg file:

[airplane_geometry]
...........
spoilerons_available=1                        // 0 for off and 1 for on
aileron_to_spoileron_gain=3.000        //adjust as needed
min_ailerons_for_spoilerons=10.000  //adjust as needed
min_flaps_for_spoilerons=0.000         //adjust as needed

Of course you do have to have the l_spoiler_xx and r_spoiler_xx parts them selves and their respective animations.

Lou
 
IP Logged
 
Reply #4 - Sep 3rd, 2004 at 11:15am

Abyss   Offline
Colonel
This A-10 will be the
death of me

Posts: 31
*****
 
Ok thanks a lot. A simple proces yet but my brain doesn't seem to work that way, I would never have thought of it.
 
IP Logged
 
Reply #5 - Sep 3rd, 2004 at 12:22pm

Abyss   Offline
Colonel
This A-10 will be the
death of me

Posts: 31
*****
 
Ok I have done the "make a small box" thing, but it doesn't animate in fs. I have read something about this but I cannot remember where. Is it what I have named the spoilers (l_spoiler etc) or is it something to do with "tick 18". I am using keyframes. Sorry about this because it is a simple thing but I have forgoten where I saw the information I needed.
 
IP Logged
 
Reply #6 - Sep 3rd, 2004 at 3:01pm

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
If you use tick18, the animation would run all the time.

If your spoilers are located on the top surface of the wing, they should be named l_spoiler_01, l_spoiler_02, r_spoiler_01, r_spoiler_02, depending on how many spoiler objects you have and their location, left side or right. The animation should be between key frames 0-100 and adjusted according to how fast they need to operate. In other words, if you want them to "pop" up the full rotation animation would be done say between key frames 0-25.  For a smooth and slow operation, use the full range of 0-100.

The problem with linking a top of wing spoiler/speed brake to a phantom aileron box so they work as spoilerons is that they would disappear into the top surface of the wing as the aileron for that respective side went to a negative position.  By using the modification in the aircraft.cfg file the spoilers only rotate upward as the aileron for that side of the aircraft rotates upward. You can see this in operation on the MS B777 as well as others.

Lou
 
IP Logged
 
Reply #7 - Sep 3rd, 2004 at 3:18pm

Abyss   Offline
Colonel
This A-10 will be the
death of me

Posts: 31
*****
 
Ok thanks, I had no idea what tick 18 was but I saw it somewhere. What do I call the spoilers if they are on the underside of the wing?
 
IP Logged
 
Reply #8 - Sep 3rd, 2004 at 7:27pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Okay, I would suggest what Firestriker recommended, as I didn't realize not everyone had spent as much time on the problem as I have.

Just FYI:

Quote:
. . .they would disappear into the top surface of the wing as the aileron for that respective side went to a negative position. . .


is not necessarily true.  I was using the phantom box for the rudder on my aircraft instead of the aileron, for which there is no link.  The way I accomplished this goal was to use the name for the interior part (in this case lever_pedals_l_r) which always requires a keyframe animation.  With the phantom aileron in place, I simply animated it the way I wanted (0-down or rudder left, 50-up or rudder right) and then linked the two.  That way, when the rudder would make the part disappear into the aircraft, the animation was over.  You could do the same with almost any animation from the VC labels and it would work just the same.

Sounds REALLY complicated here, and it took me awhile to figure it out, but it was well worth the effort.
« Last Edit: Sep 3rd, 2004 at 10:26pm by FSEdge »  

...
IP Logged
 
Reply #9 - Sep 3rd, 2004 at 8:51pm

Firestriker   Offline
Colonel
Gearhart, Oregon

Gender: male
Posts: 274
*****
 
Yeah EB your right. Linking the spoilers to something that is key framed would eliminate the disappearing problem and also eliminate the need to modify the aircraft.cfg to get them to work. I was at first under the impression that the spoilers would be linked to the basic non key framed ailerons. Sorry for the missunderstanding.

Lou
 
IP Logged
 
Reply #10 - Sep 3rd, 2004 at 9:13pm

Travis   Offline
Colonel
Cannot find REALITY.SYS.
Universe halted.
Dripping Springs, TX

Gender: male
Posts: 4515
*****
 
Huh!  That wasn't a misunderstanding!  I didn't explain myself. Undecided  And your solution is infinitely simpler! Wink
 

...
IP Logged
 
Reply #11 - Sep 3rd, 2004 at 10:36pm

FSEdge   Offline
Colonel
Texas

Posts: 203
*****
 
Quote:
I was at first under the impression that the spoilers would be linked to the basic non key framed ailerons. Sorry for the missunderstanding.

Lou


Actually, linking directly to the non-key framed aileron will produce extremely accurate and effective results case proven in the link I supplied above.

FSEdge
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print