- Messages
- 150
- Country

Hello everybody! I got some issues here:
First of all, wandering in the Objects list I found a "businessman_idle" (or similar
) which was a normal object (which I thought could only be static) with an idle animation.
I tried achieving the same result but I ended up making an animation and not being able neither to export nor to import ingame.
I suppose it would need some additional XML, but the only reference I found in the documentation is for SimObjects.
Plus when exporting from blender I get this error:
Traceback (most recent call last):
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\__init__.py", line 565, in execute
return gltf2_blender_export.save_ext_gltf(context, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 58, in save_ext_gltf
json, buffer = __export_ext_gltf(export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 81, in __export_ext_gltf
__gather_ext_gltf(exporter, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 90, in __gather_ext_gltf
active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather.py", line 40, in gather_gltf2
animations += __gather_animations(blender_scene, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather.py", line 84, in __gather_animations
animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations
animation = __gather_animation(blender_action, blender_object, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation
channels=__gather_channels(blender_action, blender_object, export_settings),
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 150, in __gather_channels
blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
result = func(*args)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels
groups = __get_channel_groups(blender_action, blender_object, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animation_channels.py", line 319, in __get_channel_groups
rotation, rotation_modes = get_rotation_modes(target_property)
ValueError: too many values to unpack (expected 2)
location: <unknown location>:-1
What I am asking now is...does anybody have a quick walkthrough on how to succesfully export and import objects with an idle animation into the sim? Thank you so much <3
First of all, wandering in the Objects list I found a "businessman_idle" (or similar
I tried achieving the same result but I ended up making an animation and not being able neither to export nor to import ingame.
I suppose it would need some additional XML, but the only reference I found in the documentation is for SimObjects.
Plus when exporting from blender I get this error:
Traceback (most recent call last):
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\__init__.py", line 565, in execute
return gltf2_blender_export.save_ext_gltf(context, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 58, in save_ext_gltf
json, buffer = __export_ext_gltf(export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 81, in __export_ext_gltf
__gather_ext_gltf(exporter, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_export.py", line 90, in __gather_ext_gltf
active_scene_idx, scenes, animations = gltf2_blender_gather.gather_gltf2(export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather.py", line 40, in gather_gltf2
animations += __gather_animations(blender_scene, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather.py", line 84, in __gather_animations
animations_, merged_tracks = gltf2_blender_gather_animations.gather_animations(_blender_object, merged_tracks, len(animations), export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 76, in gather_animations
animation = __gather_animation(blender_action, blender_object, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 114, in __gather_animation
channels=__gather_channels(blender_action, blender_object, export_settings),
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animations.py", line 150, in __gather_channels
blender_action, blender_object, export_settings)
File "C:\Program Files\Blender Foundation\Blender 2.90\2.90\scripts\addons\io_scene_gltf2\blender\exp\gltf2_blender_gather_cache.py", line 65, in wrapper_cached
result = func(*args)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animation_channels.py", line 43, in gather_animation_channels
groups = __get_channel_groups(blender_action, blender_object, export_settings)
File "C:\Users\jmain\AppData\Roaming\Blender Foundation\Blender\2.90\scripts\addons\MSFSToolkit\exporter\exp\gltf2_blender_gather_animation_channels.py", line 319, in __get_channel_groups
rotation, rotation_modes = get_rotation_modes(target_property)
ValueError: too many values to unpack (expected 2)
location: <unknown location>:-1
What I am asking now is...does anybody have a quick walkthrough on how to succesfully export and import objects with an idle animation into the sim? Thank you so much <3
