• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.
I'm on the way to update again the RAF Re8 I made for FS9, adding the two other models made for CFS2, with a work on multiple specularity levels and animations added to the makemdl.parts.xml.


Re8_exterior.jpg


I gimballed the compass, but don't succeed to limit the bank rotation to forbid the bell to

go farther than the pin, any idea from a master designer?


Re8_vc.jpg

The part added to the xml file is:
<part>
<name>compass_bank</name>
<animation>
<rotation>Y</rotation>
<parameter>
<code>
(A:pLANE BANK DEGREES,radians)
</code>
</parameter>
</animation>
</part>

I don't succeed to code a bank that would be limited from 0° to 130°, and from 230° to 360°, by example.

Some help ?

Thanks by avance, cheers
Martin
 
Hi Martin,

I sure you’ve already tried this but could you set 2 min-max values Example: minx = 0 maxx = 2.2689 miny = 4.01426 maxy = 6.28319

Cheers
Aussie
 
Hello Aussie
Many thanks for your answer.
I succeeded to limit the pitch movement, but not the bank one, cause it involves two values forks, and I'm not too much familiar with the XML syntax, I'll try your idea, that seems good, and will let you know the result.
Cheers
Martin
 
Probably a dumb suggestion since you guys are more experienced than me, but what about a "linked" heiarchy like the "stick" or "yoke"?

One would be for bank then the other for pitch? Link the two the same way as the control columns are and keyframe the max/min to the parts?

The "red" part could be something that just rotated on one axis and linked to one of the other two?

-- frame part everything is linked to
--> pitch/bank part (linked to frame w/either pitch or bank)
--> pitch/bank part (linked to previous part w/other annimation)
--> "red" part (linked to previous part w/rotational annimation based on a/c mag hdg)

The keyframe max/min would be in the xml section for the parts, correct?

Looking excellent, as always!

Saludos!

Jorge
Miami, FL
 
Thanks Jorge and Wolfebee for your interest on this subject.
I already linked the bell reacting to the bank to an invisible part reacting to the pitch. I had an idea this night I must experiment, returning the bell on "y" axle to be head down, triggering in the xml code to show bank + 180°, and limit it to 100° mini and 260° maxi (converted to radians course), let's see if it works.
In CFS2, pitch and bank can't be used to move a part, so I animated it with Elevator and L_Aileron, changing the rotation axles course, it gives more or less the idea it can be gimballed, and for it not to move when on the ground, it's linked to a L_Gearwell, where I change the values to show or hide with SCASM, two sets of compass, one animated, visible when the gear value is from 0.0000000000 to 124.9999999999 and one fixed when the gear value is from 125.0000000000 to 200.0000000000, a bit border-line, but it moves, and I guess you don't see the "fraud" immediately ;)

Cheers
Martin
 
Ehhk, badly my intuition was not good, whatever I do the compass behaves well on a left turn, but on a right turn it stays hanged on the maximum position, when I don't attempt any limitation, all works fine... Perhaps I'll have to forget to try to limit the bank, A Re8 don't reverse normally cause the observer didn't have any seat belt ;)
Cheers
Martin :jump:
 
... the observer didn't have any seat belt ;)
Cheers
Martin :jump:
No seat belt! :eek:

Well, at least they had para ... uh ... wait ...

Never mind.

Seriously, though, I wasn't aware CFS2 didn't let you do the pitch and bank thing. That probably would've been the simplest way, but then again, I'm still learning quite a few things -- even at this late stage of the game.

Still, regardless of the limitations, this is DEFINATELY a work of art even without the cool, little, red-thingie. :eagerness:

Jorge

PS: Is there a way to change the position of the "jaded" and "eagerness" smilies? I almost posted with the wrong one selected. Good thing I caught it! :LOL:
 
Many thanks Jorge
Smilies stay for me an enigma, how to forbid in a code to see a : followed by a P to become :p ...
More seriously, the use of SCASM permits to set up many animations that are not exported by MakeMDL, simulating wings warping as on the "taube", or showing a quiet gunner normally, and a more agressive one when the plane is worried, reducing a stick movement not for the stick to enter the panel or the seat, animating engine valves and springs, and I believe many other ideas can be experimented, CFS2 can be old, it has still many new things to say. It's a pity that MDLC don't succeed to convert mdl to scasm and scasm to mdl in a win 64 environment, I dream of a soft that could do it.
Cheers
Martin :jump:
 
Back
Top