Skip to content

Commit

Permalink
feat(model): add wipers to windshield
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
Revyn112 committed Oct 21, 2023
1 parent 4f23afd commit e06373d
Show file tree
Hide file tree
Showing 7 changed files with 599 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<ModelBehaviors>
<Include RelativeFile="../generated/A32NX_Windshield.xml"/>
</ModelBehaviors>
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@
<Include RelativeFile="../generated/A32NX_Interior_Printer.xml"/>
<Include RelativeFile="../generated/A32NX_Interior_RMP.xml"/>
<Include RelativeFile="../generated/A32NX_Interior_Sidestick.xml"/>
<Include RelativeFile="../generated/A32NX_Windshield.xml"/>
</ModelBehaviors>
Original file line number Diff line number Diff line change
Expand Up @@ -5107,5 +5107,25 @@
</Component>
</Component>

<Component ID="WINDSHIELD">
<!-- Windshield Left -->
<UseTemplate Name="FBW_Windshield_Wiped">
<SIDE>CAPT</SIDE>
<CIRCUIT_ID_WIPERS>77</CIRCUIT_ID_WIPERS>
</UseTemplate>

<!-- Windshield Right -->
<UseTemplate Name="FBW_Windshield_Wiped">
<SIDE>FO</SIDE>
<CIRCUIT_ID_WIPERS>80</CIRCUIT_ID_WIPERS>
</UseTemplate>

<!-- Hide Asobo Windshield -->
<Component ID="WINDSHIELD" Node="WINDSHIELD">
<UseTemplate Name="ASOBO_GT_Visibility_Code">
<VISIBILITY_CODE>0</VISIBILITY_CODE>
</UseTemplate>
</Component>
</Component>
</Behaviors>
</ModelInfo>
5 changes: 5 additions & 0 deletions hdw-a339x/src/model/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@
]
},
"additions": [
{
"gltf": "./wipers/flight-deck-wipers.gltf",
"bin": "./wipers/flight-deck-wipers.bin",
"maxLod": 0
},
{
"gltf": "./efb/efb.gltf",
"bin": "./efb/efb.bin"
Expand Down
Binary file added hdw-a339x/src/model/wipers/flight-deck-wipers.bin
Binary file not shown.
Loading

0 comments on commit e06373d

Please sign in to comment.