No animation after export [solved]
-
- Posts: 800
- Joined: 30 Jul 2017 18:09
- Contact:
Re: No animation after export
I know the export looked alright, but the animation is not there anymore.
Re: No animation after export
How do you import it back? With .pim importer or with .scs importer? Just tried your .blend file, exported pim, pia, pis, pit files and then imported them back with .pim importer - animation is there and everything seems to be fine. But when I ran conversion tools and then imported the model back with .scs importer (converter_pix), the animation failed to load with following message:overfloater wrote: ↑28 May 2019 14:00 When i import my wipers back into blender, it appears as it never had animation. Meanwhile, i can import SCS's animations just fine.
Code: Select all
************************************
** SCS PIA Importer **
** (c)2014 SCS Software **
************************************
INFO - "wipers.pia" file REJECTED
************************************
Code: Select all
************************************
** SCS PIA Importer **
** (c)2014 SCS Software **
************************************
ERROR - The filepath '/wipers.pis' doesn't exist!
INFO - ++ "wipers.pia" IMPORTING animation data...
Traceback (most recent call last):
File "/home/harven/.blender/addons/io_scs_tools/operators/scene.py", line 83, in execute
imported_count = _import.pia.load(root_object, pia_files, armature)
File "/home/harven/.blender/addons/io_scs_tools/imp/pia.py", line 294, in load
bone_rest_matrix_scs = bones[bone_name][1].transposed()
TypeError: 'NoneType' object is not subscriptable
-
- Posts: 800
- Joined: 30 Jul 2017 18:09
- Contact:
Re: No animation after export [solved]
All this time, that's what it was. I've now set default path to a sub folder, as well as the skeleton path. The animation works in-game. The dope sheet now even has those lines between the dots, after import
Thanks, everyone
so far, i only used the .scs import.
Thanks, everyone
How do you import it back?
so far, i only used the .scs import.
Re: No animation after export [solved]
May I ask how you import animations? I use ConverterPIX-master to convert .pmx into .pix but I don't get any animation files, no .pia.
-
- Posts: 1
- Joined: 06 Aug 2020 06:55
Re: No animation after export
A subscriptable object is any object that implements the __getitem__ special method (think lists, dictionaries). It is an object that records the operations done to it and it can store them as a "script" which can be replayed. You are trying to subscript an object which you think is a list or dict, but actually is None. NoneType is the type of the None object which represents a lack of value, for example, a function that does not explicitly return a value will return None. 'NoneType' object is not subscriptable is the one thrown by python when you use the square bracket notation object[key] where an object doesn't define the __getitem__ method . You might have noticed that the method sort() that only modify the list have no return value printed – they return the default None. This is a design principle for all mutable data structures in Python.
Re: No animation after export [solved]
My camera in the truck configurator does not rotate or move when I activate my low deck mod I created in blended..... Sometimes the wheels are missing when I select the chassis and I have to add a trailer in configurator just to debug the camera.... Please help
Who is online
Users browsing this forum: No registered users and 2 guests