Interior anim bug

SCS Software ATS and ETS2 editing using ZModeler3 filter. Models, Materials, Animation.

Moderators: Oleg, _RicH_

Interior anim bug

Postby siebel3d » Fri Jul 14, 2017 5:14 am

Hi guys

I'm curently working on a project of a Mercedes L1111, and now I'm almost finished the interior. Make all animations from zero and etc. In zmod it works perfectly, but, when I put it in game, a lot of things don't work properly.

I have 3 different problems:
1- Some pieces stay in the right place, but the anim atributed don't work (light_st, for example);
2- Some pieces aren't in the right place, but the anim works "fine" (blinker_st and highbeam_st, for example);
3- Some pieces aren't in the right place and neither works the anim (vel anim, for example);

Some considerations:
*The parts from light_st anim, are used in light_st anim and in ignition anim. In the ignition it works properly, but in light_st it don't work in game. Maybe it is because it is because it's the same piece in two anims?
*The blinker_st and highbeam_st (a.k.a. turn_st and farlight_st too) I make just like SCS in the Volvo FH 16 2009, with dummies one inside other and inside 3 dummies the piece.
*The "vel" anim (a.k.a speedometer anim) there's no reason (I guess) to don't work. The structure is like the SCS ones.

I made a video showing the anims in zmod: https://youtu.be/JX4O_VfeE_U
And a video inside the game too: https://youtu.be/VqVm1XNVnlw

I hope you guys can help me with this, because is a very big deal to me.
ALWAYS WITH AN OLD TRUCK
Facebook.com/siebel3d
User avatar
siebel3d
 
Posts: 8
Joined: Wed Dec 21, 2016 6:52 am
Location: Videira - SC, Brazil

Re: Interior anim bug

Postby Oleg » Sat Jul 15, 2017 12:27 am

hi.

first of all, ensure you have unique IDs on all parts and they go straight in hierarchy (lower ID value does not appear "before" higher ID value or "inside" a part with higher ID value).

Second, re-import your model and ensure IDs on all parts retain exactly the same as they were before you exported the mode.

Revise your animations and ensure they have proper options toggled (like "world tracks" should be off; and others are on - I can't remind correct settings, import original animation and inspect correct settings).

I've wrote the paragraph below, but then see in a video you've done this correctly.

Regarding the common problem with single part (ID) being touched by different animations, you should probably stick to a solution with intermediate bones in hierarchy. For example, if you take a look at turn signal stick part in scania interior model, you will notice it has a bone (with no geometry) and another bone (part / main stick) and a third bone (tip for idle lights and near-range lights). The bone with no geometry associated is used to let two animations control the stick. Here's how it works: The turn signal (left/right) animation is bind to ID of the main stick part and turns it up/down; the "far-light" animation is bind to this non-geometry-bone part and push/pulls it back/forward. The hierarchy is non-geometry-bone -> bone_for_stick -> bone_for_tip. When far-light animation pushes non-geometry-bone, child bones are get affected automatically; meanwhile turn signal animation rotates stick object up/down in it's current (push/pull) position. That's how two conflicting animations could affect single geometry object: inject intermediate bone in hierarchy and bind one animation to intermediate bone instead.
User avatar
Oleg
Site Admin
 
Posts: 7774
Joined: Fri Feb 06, 2004 3:54 am

Re: Interior anim bug

Postby siebel3d » Mon Jul 17, 2017 4:53 am

Thanks Oleg. I saw that my problem was the organization of IDs. I thought the style that SCS used to organize the IDs one inside other was just organization. Thanks again!
ALWAYS WITH AN OLD TRUCK
Facebook.com/siebel3d
User avatar
siebel3d
 
Posts: 8
Joined: Wed Dec 21, 2016 6:52 am
Location: Videira - SC, Brazil


Return to ATS and ETS2 by SCS Software

Who is online

Users browsing this forum: No registered users and 1 guest