Hey all,
I was wondering if anyone has figured out how the VTOL system works in the new Halo Pelican and how one can use it in a personal project to have hover and vertical take-off on a plane project?
I do not seem to see how the vehicle ties into the coding for hover flight mode, which is triggered by afterburner. I see no form of controls coding, no special gauge that has the tech in it.
Bill
Lionheart Creations
No one has figured it out yet?
I talked to a bud on discord, he hinted the logic is in the interior.xml - look out for “BOOST SWITCH” there.
The flight model itself is in flight_model.cfg under the section [PELICAN_FLIGHT_MODEL]
1 Like
Many thanks, Delta2k5,
I was able to check the Hover switch and found it was tied into Afterburners. I’ll check the Boost switch.
Hey =)
i was the guy who gave the hint. and yes should be the “SWITCH_MODE_ACTION” here:
** <Component ID="BOOST_SWITCH">
<Parameters Type="Default">
<NODE_ID>Switch_BOOST</NODE_ID>
<ANIM_NAME>Switch_BOOST</ANIM_NAME>
<L_VAR>XMLVAR_Toggle_Boost_Mode</L_VAR>
<PART_ID>Boost_Switch</PART_ID>
<IE_NAME>Boost</IE_NAME>
</Parameters>
<Parameters Type="Override">
<INPUT_EVENT_ID_SOURCE>ENGINE</INPUT_EVENT_ID_SOURCE>
<USE_INPUT_EVENT_ID>ENGINE</USE_INPUT_EVENT_ID>
<WWISE_PREFIX>Boost</WWISE_PREFIX>
<NO_ID_IN_PARTID>True</NO_ID_IN_PARTID>
</Parameters>
<UseTemplate Name="ASOBO_Interaction_Base_Template">
<TOOLTIP_TITLE>AIRCRAFT.TOOLTIPS.SWITCH_MODE_TITLE</TOOLTIP_TITLE>
<TT_DESCRIPTION_ID>AIRCRAFT.TOOLTIPS.SWITCH_MODE_ACTION</TT_DESCRIPTION_ID>
<TT_VALUE>(O:#INPUT_EVENT_ID_SOURCE#_#IE_NAME#_Position, Bool) if{ (R:1:AIRCRAFT.TOOLTIPS.GT_STATE_CRUISE) } els{ (R:1:AIRCRAFT.TOOLTIPS.GT_STATE_HOVER) }</TT_VALUE>
<TT_VALUE_IS_DYNAMIC>True</TT_VALUE_IS_DYNAMIC>
<GET_STATE_EXTERNAL>(L:#L_VAR#, Bool) sp0</GET_STATE_EXTERNAL>
<SET_STATE_EXTERNAL>
p0 if{
1 (>L:#L_VAR#)
(O:Saved_AP_state) if{ (>B:AUTOPILOT_AP_1_On) }
}
els{
(A:AUTOPILOT MASTER, Bool) d (>O:Saved_AP_state)
if{ (>B:AUTOPILOT_AP_1_Off) }
0 (>L:#L_VAR#)
}
</SET_STATE_EXTERNAL>
<NUM_STATES>2</NUM_STATES>
<INTERACTION_TYPE>Switch</INTERACTION_TYPE>
<LOCAL_VAR_TO_WATCH_0>#L_VAR#</LOCAL_VAR_TO_WATCH_0>
<BINDING_SET_0_EVENT_ID>TOGGLE_AFTERBURNER</BINDING_SET_0_EVENT_ID>
</UseTemplate>
</Component> **
You can also just copy the [PELICAN_FLIGHT_MODEL] from the flight_model.cfg into any other plane and it will hover. Obviously it only hover then and needs the switch to normal mode
I would guess the new hover mode is deeply intetragted into the game EXE
maxx2504/Michael
1 Like
Thanks Maxx2504! I’ll check that out.
Bill
LHC