Search the archive:
YaBB - Yet another Bulletin Board
 
   
 
Page Index Toggle Pages: 1
Send Topic Print
G-force activated effects (Read 432 times)
Jan 8th, 2008 at 10:57pm

JLangholzJ   Offline
Colonel
The only Cessna 172 fighter
pilot :)
Somewhere in the Air

Gender: male
Posts: 295
*****
 
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
 

...
IP Logged
 
Reply #1 - Jan 9th, 2008 at 12:30am

AuMaV   Offline
Colonel
Old Git
The Great Southern Land

Gender: male
Posts: 293
*****
 
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:
<Gauge Name="ahhhh thats purrrdy">
	    <Element>
	<Select>
	   <Value>(A:G FORCE,Gforce) abs 4.5 &gt; (A:AILERON RIGHT DEFLECTION,degrees) abs 3 &gt; &amp;&amp; if{ (A:LIGHT LOGO,number) 1 &lt; if{ (&gt;K:TOGGLE_LOGO_LIGHTS) } }
	  els{ (A:LIGHT LOGO,number) 0 &gt; if{ (&gt;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

 
IP Logged
 
Reply #2 - Jan 9th, 2008 at 7:23pm

JLangholzJ   Offline
Colonel
The only Cessna 172 fighter
pilot :)
Somewhere in the Air

Gender: male
Posts: 295
*****
 
Smiley 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
 

...
IP Logged
 
Reply #3 - Jan 10th, 2008 at 10:52pm

AuMaV   Offline
Colonel
Old Git
The Great Southern Land

Gender: male
Posts: 293
*****
 
JLangholzJ wrote on Jan 9th, 2008 at 7:23pm:
Smiley 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 Smiley
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 Smiley is to download one of the effects packages and have a look at the readme and the gauges included
cheers
Wozza
 
IP Logged
 
Page Index Toggle Pages: 1
Send Topic Print