A32nx: [BUG] Mod has influences on the default Citation CJ4 Jet

Created on 26 Sep 2020  路  16Comments  路  Source: flybywiresim/a32nx


Mod Version
Master

Describe the bug
When your mod is installed then the Anti-Ice switches on the Cessna Citation CJ4 are always lit, even when Anti-Ice is not active. Sounds crazy i know, but when i remove your Mod the problem is gone.

To Reproduce
Install your mod and load the CJ4. Look then at the Anti-Ice switches below the displays, you'll see that they are lit, but Anti-Ice isn't active.

Expected behavior
Your mod should only have an impact on the default A320Neo.

Actual behavior
Already described above.

References
https://imgur.com/G8XxD34

Additional context
The issue is also present on the Citation CJ4 mod from fspackages.
https://github.com/Working-Title-MSFS-Mods/fspackages

Was this working before/when did the issue start occurring?
I don't know if this issue is only by the current master branch or if it exist already longer.

Is this a problem in the vanilla unmodded game?
No


TYR521

Bug Bug-A32NX

Most helpful comment

The WorkingTitle CJ4 Mod also receives a lot of complaints about that and we can just redirect them to here.
Please be a good neighbour ;)

All 16 comments

I don't understand Code, sorry, but could be possible, it has at least "de-ice" in its name.

I don't understand Code, sorry, but could be possible, it has at least "de-ice" in its name.

Just to clarify: I am commenting this as reference for other contributors, don't worry if you don't understand it ! GitHub is a bit different than your traditional messaging forums 馃槃

Thank you! :D

The WorkingTitle CJ4 Mod also receives a lot of complaints about that and we can just redirect them to here.
Please be a good neighbour ;)

Fix it boys, letss goooooooooooooooo

the "Deice_Subtemplates" file is responsible for this problem. The solution for me now is, I've copied the original "Deice_Subtemplates" file from "OfficialSteamfs-base-aircraft-commonModelBehaviorDefsAsoboCommonSubtemplates" to the A32NX Mod and replaced the existing file. This has fixed the issue on the CJ4, and on the A32NX i didn't seen a problem so far.

I found a workaround without replacing the "Deice_Subtemplates" file in the A32NX. The Sim loads all mods in the community folder from top to bottom. The A320Neo mod has the folder name "A32NX" and the CJ4 has the name "workingtitle-aircraft-cj4". That means the CJ4 is loaded after the A32NX, and it seems so that the "Deice_Subtemplates" file of the 320 mod has an impact on the CJ4, and could be also have an impact on other mods. My workaround to that was rename the "A32NX" folder to "z-A32NX", with this name is the 320 mod the last one to be loaded in the community folder, and has therefore no longer an impact on the CJ4.

Found a solution without replacing the "Deice_Subtemplates" file in the A32NX. The Sim loads all mods in the community folder from top to bottom. The A320Neo mod has the folder name "A32NX" and the CJ4 has the name "workingtitle-aircraft-cj4". That means the CJ4 is loaded after the A32NX, and it seems so that the "Deice_Subtemplates" file of the 320 mod has an impact on the CJ4, and could be also have an impact on other mods. My solution to that was rename the "A32NX" folder to "z-A32NX", with this name is the 320 mod the last one to be loaded in the community folder, and has therefore no longer an impact on the CJ4.

So, that means PR will come soon or tomorrow?

This is not a solution. We will need to fix this in our ModelBehaviour XML files.

This is not a solution. We will need to fix this in our ModelBehaviour XML files.

So that will take days?

This is not a solution. We will need to fix this in our ModelBehaviour XML files.

Yes, you're right, edited my post and wrote "workaround" instead of "solution"

Opened a PR to fix this issue

@TYR521 can you try out if it fixes your issue?

Guys, just don't have core xml files in your reop/project. Create your own subtemplates and only include the items you are providing new functionality for. See our templates Control.xml, Lighting.xml, and Passenger.xml for reference:

https://github.com/Working-Title-MSFS-Mods/fspackages/tree/main/src/workingtitle-aircraft-cj4/ModelBehaviorDefs/Asobo_CJ4

@TYR521 can you try out if it fixes your issue?

I've tested it and yes it works, thank you!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

vlbreda picture vlbreda  路  4Comments

ferics picture ferics  路  3Comments

Bernister picture Bernister  路  4Comments

tareksabet picture tareksabet  路  4Comments

Shimi1612 picture Shimi1612  路  3Comments