Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 11:54 am
All times are UTC + 0
Animation hiccups when undeploying unit
Moderators: Global Moderators, Tiberian Sun Moderators
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
TeleVisor
Medic


Joined: 17 Dec 2020

PostPosted: Wed Mar 03, 2021 12:23 am    Post subject:  Animation hiccups when undeploying unit
Subject description: The deploy animation repeats frames when undeploying the unit
Reply with quote  Mark this post and the followings unread

This happens when undeploying the unit while its turret is not in the default position (facing northeast). Otherwise the animation behaves correctly.

You may recognise the model, I just put together the animation from the original's SHPs (of which I can't find the forum topic anymore? It was a file named beh.rar).



UndeployAnimHiccup.gif
 Description:
 Filesize:  355.74 KB
 Viewed:  1175 Time(s)

UndeployAnimHiccup.gif



Back to top
View user's profile Send private message
Tuc0
Missile Trooper


Joined: 26 Sep 2016
Location: Slovakia

PostPosted: Wed Mar 03, 2021 9:21 pm    Post subject: Reply with quote  Mark this post and the followings unread

Have you tried something like:

Code:
Artillary=yes
StartFacing=0

Back to top
View user's profile Send private message
TeleVisor
Medic


Joined: 17 Dec 2020

PostPosted: Thu Mar 04, 2021 12:28 am    Post subject: Reply with quote  Mark this post and the followings unread

I have Sad

The issue occurs indeed when Artillary=yes.

While with IsJuggernaut=yes everything works fine.
But I was trying to 'go Artillary' to avoid another issue common to every custom Juggernaut (apparently).
It's the one where the turret jerks NE (for a single frame!) on deployment. It's a small thing but it bothers me to no end... (can't be 'Project Perfect' then Laughing).

I'm going to try test things on that one. Since it doesn't happen with the OG jugger, it's got to be related to its turret SHP, right? (Uneducated guess).

Back to top
View user's profile Send private message
Tuc0
Missile Trooper


Joined: 26 Sep 2016
Location: Slovakia

PostPosted: Thu Mar 04, 2021 9:23 am    Post subject: Reply with quote  Mark this post and the followings unread

Could you share rules.ini part of deployed jg.?

IsJuggernaut=yes is mostly enabling to use StartFacing= parameters.

For example I use this for deployed Tick Tank, to match starting turret rotation with build anim and rotating it back to correct position when it packs back.

Code:
TickTank=yes
TurretAnim=TTNKTUR
TurretAnimIsVoxel=true
StartFacing=2
IsJuggernaut=yes

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Mar 04, 2021 11:04 am    Post subject: Reply with quote  Mark this post and the followings unread

Aren't you supposed to use only one of TickTank or Artillary or IsJuggernaut for facing and position?

Back to top
View user's profile Send private message
TeleVisor
Medic


Joined: 17 Dec 2020

PostPosted: Thu Mar 04, 2021 12:45 pm    Post subject: Reply with quote  Mark this post and the followings unread

That did it! Thank you, Tuc0  Very Happy

So, basically:

Code:
Artillary=yes
StartFacing=0
IsJuggernaut=yes


Fixes the undeploy animation repeating frames.

Also, I think you have a very important discovery there, since now we can add IsJuggernaut=yes to any Artillary or TickTank unit, to avoid the one-frame issue of their turrets.
Every mod or model I've seen doesn't seem to be aware of this.

I'm going to fix some frames on the SHP, then post it for public, functional use. Should be linked to the creator's original post though, if it can be found.

Back to top
View user's profile Send private message
Tuc0
Missile Trooper


Joined: 26 Sep 2016
Location: Slovakia

PostPosted: Thu Mar 04, 2021 12:59 pm    Post subject: Reply with quote  Mark this post and the followings unread

I didn't tested all combinations, but at the time I was making turret deployable units, these tags didn't behaved equaly for me. I was searching for a way to get make deployed unit revert to starting facing before undeploy/sell. If I don't include IsJuggernaut=yes for ticktank, turret will just instantly revert to starting direction. If enabled, turret rotates to position first, before performs undeploy anim.

Also I am not sure if tags like Artillery=yes and TickTank=yes grants some additional guide for AI micromanaging.

Back to top
View user's profile Send private message
E1 Elite
General


Joined: 28 May 2013

PostPosted: Thu Mar 04, 2021 1:07 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
TeleVisor
Medic


Joined: 17 Dec 2020

PostPosted: Thu Mar 04, 2021 2:23 pm    Post subject: Reply with quote  Mark this post and the followings unread


Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [9 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1666s ][ Queries: 14 (0.0107s) ][ Debug on ]