G-force activated effects

Anything to do with Aircraft Design, FSDS, G Max, Aircraft Animator, SDL Edit, etc. Novice or skilled - stop here & learn!

G-force activated effects

Postby JLangholzJ » Tue Jan 08, 2008 10:57 pm

Is there any way to make an effect dependant on the G-force that a plane is undergoing. I know that in FS2002 that there is a g meter in the 300S. but can you do something like this??


any reply would be nice.

-john
Image
User avatar
JLangholzJ
2nd Lieutenant
2nd Lieutenant
 
Posts: 295
Joined: Fri Jan 26, 2007 10:52 pm
Location: Somewhere in the Air

Re: G-force activated effects

Postby AuMaV » Wed Jan 09, 2008 12:30 am

Hi
Yes this will switch on/off the logo light channel when the conditions are meet,you then add the effect via the lights section in the aircraft.cfg
Code: Select all
<Gauge Name="ahhhh thats purrrdy">
          <Element>
      <Select>
         <Value>(A:G FORCE,Gforce) abs 4.5 > (A:AILERON RIGHT DEFLECTION,degrees) abs 3 > && if{ (A:LIGHT LOGO,number) 1 < if{ (>K:TOGGLE_LOGO_LIGHTS) } }
        els{ (A:LIGHT LOGO,number) 0 > if{ (>K:TOGGLE_LOGO_LIGHTS) } }
</Value>
    </Select>
  </Element>
</Gauge>

The above code was to drive a vortex effect from the wing tips when the aircraft pulled 4.5 G and the ailerons where deflected
cheers
Wozza
User avatar
AuMaV
2nd Lieutenant
2nd Lieutenant
 
Posts: 293
Joined: Mon Jul 07, 2003 7:44 am
Location: The Great Southern Land

Re: G-force activated effects

Postby JLangholzJ » Wed Jan 09, 2008 7:23 pm

:) hey thanks alot! I have some little experience in the code and modifications ect. so I'll give this a whirl and see what happens.

out of curiosity, I have some planes that have the effects for the vortex but its a on/off deal, either you see them or you don't. Is the smoke effect or whatever they use classified as a gauge??

-john
Image
User avatar
JLangholzJ
2nd Lieutenant
2nd Lieutenant
 
Posts: 295
Joined: Fri Jan 26, 2007 10:52 pm
Location: Somewhere in the Air

Re: G-force activated effects

Postby AuMaV » Thu Jan 10, 2008 10:52 pm

:) hey thanks alot! I have some little experience in the code and modifications ect. so I'll give this a whirl and see what happens.

out of curiosity, I have some planes that have the effects for the vortex but its a on/off deal, either you see them or you don't. Is the smoke effect or whatever they use classified as a gauge??

-john

Hi
Yes and no :)
the gauge is a hidden controller gauge which in turn switchs on or off effects.effects can be add to an aircraft via the lights section(up to a max of 7 or 8),smoke section (only 1) and there is also the effects section but these are pretty much predefined.
quickest way to work it all out :) is to download one of the effects packages and have a look at the readme and the gauges included
cheers
Wozza
User avatar
AuMaV
2nd Lieutenant
2nd Lieutenant
 
Posts: 293
Joined: Mon Jul 07, 2003 7:44 am
Location: The Great Southern Land


Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 96 guests