Hello all,
I cannot get the pre-flight pins to display. I believe I followed the SDK instructions:
The screenshot shows the position of the 2 navigation_graph_preflight.cfg nodes currently present.
Also the name of the linked mouserects involved:
- DOORS:F_CANOPY_EXTLEV
- COVERS:C22J_COVER_STATIC_l
The contents of navigation_graph_preflight.cfg, located in the common area of the modular simObject.
[VERSION]
major = 1
minor = 0
[Node.0]
pos = 0.0,1.28,4.23
pbh = 0,0,0
tag = HANDLE,DOOR
node_occlusion_factor = 1.0
interactiveVolume = 5.4,2.5,3
interactiveVolumeOffset = 0,0,0.6
mouserectLinked = DOORS:F_CANOPY_EXTLEV
interactionFile.0 = InteractionsPreset\Asobo\Preflight\Simple_preflight_interaction
name = COMMON_HANDLE_DOOR
[Node.1]
pos = -1.434,-0.811,7.0
pbh = 0,0,0
tag = LEFT_STATIC_COVER
node_occlusion_factor = 1.0
interactiveVolume = 1.7,1.1,1.0
interactiveVolumeOffset = -0.4,0,0
interactionFile.0 = InteractionsPreset\Asobo\Preflight\Simple_preflight_interaction
mouserectLinked = COVERS:C22J_COVER_STATIC_L
name = COMMON_LEFT_STATIC_COVER
[MAINGRAPH.0]
nodes = COMMON_HANDLE_DOOR,COMMON_LEFT_STATIC_COVER
coordinate_system = relative
Finally, the ModelBehaviour for the canopy hatch lever:
<Component ID="Doors">
<UseTemplate Name="ASOBO_Anim_Template">
<ANIM_NAME>f_canopy</ANIM_NAME>
<ANIM_LENGTH>100</ANIM_LENGTH>
<ANIM_LAG>50</ANIM_LAG>
<ANIM_CODE>(A:INTERACTIVE POINT OPEN:'IP_CANOPY'_n,percent)</ANIM_CODE>
</UseTemplate>
<UseTemplate Name="ASOBO_IT_Simple_Interaction_Template">
<TOOLTIP_ID>F_CANOPY_EXTLEV</TOOLTIP_ID>
<IE_TOOLTIP_VALUE>(A:INTERACTIVE POINT OPEN:'IP_CANOPY'_n,percent over 100) 0 > if{ (R:1:COCKPIT.TOOLTIPSV3.STATE.OPEN) } els{ (R:1:COCKPIT.TOOLTIPSV3.STATE.CLOSED) } @sprintf</IE_TOOLTIP_VALUE>
<TOOLTIPS_TITLE_ID>COCKPIT.TOOLTIPSV3.TITLE.CANOPY</TOOLTIPS_TITLE_ID>
<IE_TOOLTIP_DESCRIPTION_ID>@TT_Package.ACTION.ENTER</IE_TOOLTIP_DESCRIPTION_ID>
<IN_BASE_NAME>F_CANOPY_EXTLEV</IN_BASE_NAME>
<IE_TYPE>COMMON</IE_TYPE>
<IE_NAME>DOOR_EXT</IE_NAME>
<ON_EVENT>
(L:1:ENTER_AIRCRAFT, Bool) ! (>L:1:ENTER_AIRCRAFT, Bool)
</ON_EVENT>
<MOUSERECT_HIGHLIGHT_NODE_ID>F_CANOPY_EXTLEV</MOUSERECT_HIGHLIGHT_NODE_ID>
<NO_TOOLTIP_VALUE/>
</UseTemplate>
</Component>
And the left static port cover:
<UseTemplate Name="ASOBO_ET_COMMON_Cover_Interaction_And_Visibility_Template">
<IN_BASE_NAME>C22J_COVER_STATIC_L</IN_BASE_NAME>
<IE_NAME>COVER_STATIC_L</IE_NAME>
<COVER_FLAG>@Cover_Static_Port</COVER_FLAG>
<TOOLTIPS_TITLE_ID>COCKPIT.TOOLTIPSV3.TITLE.STATIC_PORT_COVER</TOOLTIPS_TITLE_ID>
<IE_TOOLTIP_DESCRIPTION_ID>COCKPIT.TOOLTIPSV3.ACTION.REMOVE</IE_TOOLTIP_DESCRIPTION_ID>
</UseTemplate>
Both of these are located in the “Exterior” simAttachment, that contains the airframe.
At this stage I cannot understand where the failure is. The console gives me no feedback.
Pressing the “Toggle visual Assists” button does not work
Pressing the “enter aircraft” button does not work either
But Pressing SHIFT+C will work!
Clicking on the canopy handle also works. This is setup in the navigation_graph_seat_pilot.cfg:
[node.0]
name = PILOT
pos = 0, 0, 0
tag = PILOT
interactionFile.0 = FilePath:InteractionsPreset\Asobo\Seat\Seat_pilot_open_enter#Param:INTERACTION_NAME:SIT_REMOTELY,VARIABLE_TRIGGER:ENTER_AIRCRAFT,ANIMATION_SIT:Idle1_PosePropeller,ANIMATION_GET:INTERACTIVE POINT OPEN:'IP_CANOPY'_n, ANIMATION_SET:INTERACTIVE POINT GOAL:'IP_CANOPY'_n
interactionFile.1 = FilePath:InteractionsPreset\Asobo\Seat\Seat_pilot_open_exit#Param:INTERACTION_NAME:EXIT_REMOTELY, VARIABLE_TRIGGER:EXIT_AIRCRAFT, TAG_TELEPORT:SPAWN_EXTERIOR, ANIMATION_GET:INTERACTIVE POINT OPEN:'IP_CANOPY'_n, ANIMATION_SET:INTERACTIVE POINT GOAL:'IP_CANOPY'_n
interactionfile.2 = FilePath:InteractionsPreset\Asobo\Seat\Seat_pilot_open_exit#Param:INTERACTION_NAME:EXIT_REMOTELY_SECOND,VARIABLE_TRIGGER:EXIT_AIRCRAFT_SECOND,TAG_TELEPORT:SPAWN_EXTERIOR_SECOND,ANIMATION_GET:INTERACTIVE POINT OPEN:'IP_CANOPY'_n,ANIMATION_SET:INTERACTIVE POINT GOAL:'IP_CANOPY'_n
[maingraph]
nodes = PILOT
This is located in its own AirplaneParts.
Any ideas?
