Effects..

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

Effects..

Postby JakesF14 » Thu May 20, 2010 11:30 am

A quick question..
Why does my effects (AB, Mach, contrails, ect) turn on and off when I turn on the lights? Well I know they are under the lights section in the CFG, but is it right? Is there an alternative way?
Image
User avatar
JakesF14
Major
Major
 
Posts: 1848
Joined: Wed May 13, 2009 5:42 am
Location: South Africa

Re: Effects..

Postby Travis » Thu May 20, 2010 4:53 pm

I've never worked with those types of effects personally, but from what I understand the gauges that control all of that "call" the effects from their placement in the CFG file.  Which means you could place them in the Effects section and modify the gauge to call them from there (I think).
Image
User avatar
Travis
Major
Major
 
Posts: 4380
Joined: Thu Feb 06, 2003 3:17 am
Location: KAUS - 30 MI NW

Re: Effects..

Postby JakesF14 » Fri May 21, 2010 12:05 am

Thanx  Travis,will play around.
Image
User avatar
JakesF14
Major
Major
 
Posts: 1848
Joined: Wed May 13, 2009 5:42 am
Location: South Africa

Re: Effects..

Postby microlight » Sun May 23, 2010 12:07 pm

Yes, indeed, effects that are called from light switches will be seen as operational all the time when you switch the lights on.

The way to control it is to write a XML gauge that sits in your panel.cfg as an 'invisible' gauge which applies logical conditions to when the effects will appear. For example, if you had an effect that caused a heat blur to appear behind an engine, you would write the XML such that the heat blur was not turned on until maybe the engine N1 value was above a certain level. Or with wingtip/flap contrails, that the environmental conditions (temperature, humidity, speed) were right.

So you'd decide which light would control which effect (for example switch 10 nominally controls cabin lights), then write some XML that would control a particular effect by switching light switch 10 on or off depending on the gauge logic. Then add the XML gauge to the panel.cfg in the normal way.

;)
Last edited by microlight on Sun May 23, 2010 12:08 pm, edited 1 time in total.
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK

Re: Effects..

Postby Capt.Propwash » Sun May 23, 2010 9:01 pm

I have been searching for this thread for at least the past MONTH!!! I have been having A/b problems on my FS9 F14.
The thoughts and expressions contained in the post above are solely my own, and not necessarily those of Simviation.com, its Moderators, its Staff, its Members, or other guests. They can not, are not, and will not be held liable for any thoughts, or expre
User avatar
Capt.Propwash
Major
Major
 
Posts: 1947
Joined: Tue Feb 20, 2007 12:34 am
Location: KCHS, Charleston, SC, USA

Re: Effects..

Postby JakesF14 » Mon May 24, 2010 3:37 am

Thank you for all the info and answers, It will certainly help a lot!
Image
User avatar
JakesF14
Major
Major
 
Posts: 1848
Joined: Wed May 13, 2009 5:42 am
Location: South Africa

Re: Effects..

Postby microlight » Tue May 25, 2010 1:17 pm

Glad to be of service, Cap'n.

Regarding the sound: have you got the COP_Sounds.gau referenced in the panel.cfg also? You'll need this to get the sound to play. The reference line will look something like this:

gaugeXX=dsd_xml_autocabin!dsd_xml_sound2,  2,2,5, 5, .\Sound\Autocabin\Autocabin.cfg

This is a line from my AutoEnvironment package which triggers sounds based on a configuration file (autocabin.cfg in this case) which links XML commands to sound files. It's located in a specified folder within the main Sound folder. This should all be specified in the plane's readme file.

;)
User avatar
microlight
Major
Major
 
Posts: 2076
Joined: Mon Aug 19, 2002 6:24 pm
Location: Southern UK


Return to Aircraft & 3D Design

Who is online

Users browsing this forum: No registered users and 280 guests