Welcome to
Mod The Sims
Online: 1118
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 2 (Who?), Viewed: 2872 times.
Search this Thread
Old 30th Aug 2017, 2:49 AM DefaultIs there a way around the floating kid/adult anim problem? #1
omglo
Original Poster

Scholar

Join Date: Oct 2010
Posts: 1,538


I want to reuse the "throw drink" animation from NL for something else, but the animation is only meant for teens and up. Is there anything I can do to keep the kid on the ground?
Old 30th Aug 2017, 2:29 PM #2
Chris Hatch
Lab Assistant

Join Date: Dec 2005
Posts: 201


Yes, sort of. Provided the sim is not in a container you can offset the animation height. Use primitive 2 and set 'My Anim Offset Z' to approximately -32 (0xFFE0), you may need to tweak the value a little to suit the animation. Then call global 0x0127 (Snap - Away (flip sim around)) twice which makes the height offset 'stick'. You must remember to reset the height offset back to zero using the same op-codes including global 0x0127 twice after the animation regardless of if the action completes properly or not or the child may remain sunk into the ground.
Old 30th Aug 2017, 8:59 PM #3
omglo
Original Poster

Scholar

Join Date: Oct 2010
Posts: 1,538


Thanks. I'll give that a try.

Edit: It worked great.
Last edited by omglo : 1st Sep 2017 at 1:16 PM.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.