- Messages
- 162
- Country
Following the SDK i wrote this piece of xml code to be set into model xml file:
also the sound.xml in sound folder:
always receiving this error on console window:
actually stuck here, tried several others ways such as:
having the same error from console.
Pretty sure animation has been set on model sources (.gltf)
Any ideas ?
tia
/Mario
Code:
<Behaviors>
<RootComponent ID="COCKPIT_SWITCHES">
<Component ID="battery_switch" Node="battery_switch">
<AnimationTriggers Animation="battery_switch">
<EventTrigger Count="1" Direction="Forward">
<SoundEvent WwiseEvent="LARGE_SWITCH_CLICK" Action="Play"/>
</EventTrigger>
</AnimationTriggers>
</Component>
</RootComponent>
</Behaviors>
Code:
<SoundInfo Version="0.1">
<!--
<WwisePackages>
<MainPackage Name="Asobo_VL3"/>
</WwisePackages>
-->
<AcousticParameters>
<Parameter Name="ReverberationPreset" ShareSetInside="rev_inside_vl3"/>
<Parameter Name="Insulation_ExitClosed" Value="-10"/>
<Parameter Name="Insulation_ExitOpen" Value="0"/>
</AcousticParameters>
<AnimationSounds>
<Sound Wwisedata="false" WwiseEvent="LARGE_SWITCH_CLICK" FileName="large_switch_click" ViewPoint="Inside"/>
</AnimationSounds>
</SoundInfo>
always receiving this error on console window:
Code:
Model behaviors XML
File: ssw_g_91_interior.xml
Component: COCKPIT_SWITCHES:battery_switch
<AnimationTriggers> : no Animation defined in COCKPIT_SWITCHES:battery_switch.
Code:
<Behaviors>
<!-- INCLUDES -->
<Include ModelBehaviorFile="Asobo\Common.xml"/>
<Include ModelBehaviorFile="Asobo\Generic.xml"/>
<Include ModelBehaviorFile="Asobo\Exterior.xml"/>
<RootComponent ID="COCKPIT_SWITCHES">
<Component ID="battery_switch" Node="battery_switch">
<UseTemplate Name="ASOBO_GT_AnimTriggers_SoundEvent">
<ANIM_NAME>battery_switch</ANIM_NAME>
<WWISE_EVENT>LARGE_SWITCH_CLICK</WWISE_EVENT>
</UseTemplate>
</Component>
</RootComponent>
</Behaviors>
Pretty sure animation has been set on model sources (.gltf)
Any ideas ?
tia
/Mario
Last edited: