Effects: Difference between revisions

Jump to navigation Jump to search
549 bytes added ,  25 September 2016
no edit summary
No edit summary
No edit summary
Line 7: Line 7:
{{Rendering}}
{{Rendering}}


{{Note|
{{Caution|
For the record, we strongly object against aircraft in FGAddon overriding the predicate section of effects - it's there for a reason. This may (appear to) work now, but please understand that it's neither future-proof nor harmless - any maintenance on effects on fgdata has the potential to cause rather subtle and difficult to understand breakage. We have always aimed at keeping any development of effects backward-compatible (i.e. aircraft maintainers don't need to take action, effects with added features always default to the known behavior) -  thus, breaking this is a path forward.<ref>{{cite web
For the record, we strongly object against aircraft in FGAddon overriding the predicate section of effects - it's there for a reason. This may (appear to) work now, but please understand that it's neither future-proof nor harmless - any maintenance on effects on fgdata has the potential to cause rather subtle and difficult to understand breakage. We have always aimed at keeping any development of effects backward-compatible (i.e. aircraft maintainers don't need to take action, effects with added features always default to the known behavior) -  thus, breaking this is a path forward.<ref>{{cite web
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35389078/  
   |url    =  https://sourceforge.net/p/flightgear/mailman/message/35389078/  
Line 14: Line 14:
   |date  =  Sep 24th, 2016  
   |date  =  Sep 24th, 2016  
   |added  =  Sep 24th, 2016  
   |added  =  Sep 24th, 2016  
  |script_version = 0.40
  }}</ref>
What's really bad is overriding the FGData-side effect selection scheme scheme aircraft-side because that can cause unexpected breakage when FGData changes. If it's all completely aircraft-side, FGData maintenance doesn't affect it.<ref>{{cite web
  |url    =  https://sourceforge.net/p/flightgear/mailman/message/35389912/
  |title  =  <nowiki> Re: [Flightgear-devel] SR71-BlackBird updates </nowiki>
  |author =  <nowiki> Thorsten Renk </nowiki>
  |date  =  Sep 25th, 2016
  |added  =  Sep 25th, 2016
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>

Navigation menu