@Dotec yes i also try with import all animation but nothing changed....the original dashboard must look like below but when i import the anim.pmg and changed veertex color of glass .... the dashboard look like above one
Somebody might know more about dashboard animations than I do, because AFAIK, your issue is either an issue with the anim.pmd's keyframes not being exported on each bone (and each bone is assigned to each dashboard icon object, in a 0-1 state that tells it to turn on and off): indicator animations: these animations are not interpolated from 0 to 1 (0 to 3 keyframes), instead they have only 2 states: switched off (0) and switched on(1), so these animations should only have 2 keyframes... or it's an issue with the vertex color of the object your glass material is assigned to not being 0.5 or 1 (try to export with either).
For further clarification on the dashboard icons being assigned to bones, there are bones assigned to dashboard icon objects in your anim.pmd, these bones are named after the 'indicator animations' (on the SCS wiki page for animations, under 'indicator animations' are all of their names), eg; button_jake_brake. When you have animated these bones from 0 to 1 (2 keyframes), and they are weighted to a mesh object representing your dashboard icon, they turn the icons on and off when the engine of the truck is started. If you've lost these bones' keyframes, when you export anim.pmd, your dashboard icons won't work.
I could be wrong though, but it seems strange that you're trying to export an anim.pmd because when I've tried doing that, there are no keyframes assigned to each bone... so nothing gets exported, hence, no icons will work. Or it's an issue with your vertex color of your glass, try 0.5 or 1 vertex color and then export?
Edit: This is correct. I learned something new. I just realized you can import the missing keyframe data onto anim.pmd (gives you the keyframes for each bone) and then export anim.pmd with anim.pma (keyframes) and your dashboard icons should work.
Import > your .SCS archive > path to your interior, anim.pmd, select anim.pmd, now on the right should be 'animations to convert & import' > select all of your .pma animations you are missing (st_farl, in_right, etc). The anim.pmd should now import with its bones & keyframe data, visible under anim.pmd > Armature > SCS Animations in Blender. Then export as an animation to your interior animations directory and convert with ConversionTools. Your animations.sui under "def/vehicle/truck/truck.brandname/interior/animations.sui" should be set up to path to the exported indicator animations for your dashboard icons (see the image below). Here's another great video on doing this, but for the wipers.
I'm by no means an expert on animations, but my guess is you need to have .pma keyframe data imported onto your anim.pmd node in Blender (import "j_infarl.pma" onto your anim.pmd for the high beam dashboard icon to animate in anim.pmd). Simply importing anim.pmd and exporting it is simply exporting a static object vs an animatable one. Matter of fact, I just did it, and it worked!
[ external image ]
Last edited by Deca on 12 Sep 2023 07:17, edited 1 time in total.
Who is online
Users browsing this forum: No registered users and 1 guest