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 Tue Apr 16, 2024 7:01 pm
All times are UTC + 0
Ok here is the animation question.
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [12 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Fri Nov 12, 2021 6:40 pm    Post subject:  Ok here is the animation question. Reply with quote  Mark this post and the followings unread

I know that speed 3 equal to 15 frames per sec and if game speed is 5.. How many frames it should be. I don't know as I can't find it in modenc

Back to top
View user's profile Send private message
Zorbung
Soldier


Joined: 04 Jun 2021

PostPosted: Fri Nov 12, 2021 8:09 pm    Post subject: Reply with quote  Mark this post and the followings unread

Probably only someone who worked with the disassembled code knows exactly, but isn't hard to guess. It's less than 15 but not too low, 1 FPS is way too fast so I suspect speed 6 stops at *maybe* 6-7 FPS. Speed 5 should be somewhere around 10.

Why care though, animation should only be done for speed 3 (15 FPS) otherwise it will look bad at other speeds.

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Sat Nov 13, 2021 4:15 am    Post subject: Reply with quote  Mark this post and the followings unread

Zorbung wrote:
Probably only someone who worked with the disassembled code knows exactly, but isn't hard to guess. It's less than 15 but not too low, 1 FPS is way too fast so I suspect speed 6 stops at *maybe* 6-7 FPS. Speed 5 should be somewhere around 10.

Why care though, animation should only be done for speed 3 (15 FPS) otherwise it will look bad at other speeds.


What I mean is it takes more than 15 frames per second in speed 5.
Yes it takes 15 FPS when you play as speed 3.

Rate=900 in Speed 5 isn't play 15 FPS like modenc stated.
Since my animation is made 25 FPS it should be slower however it's faster but when I am calculate by checking how long the anim will take to finish compare to real time scale I see that in Speed 5 it takes around 30 FPS that answered many questions why so many of my animation has to make it slower but slow down with Rate=450 or 600.

Because Normalized is the key to make anim to go speed according to GameSpeed however "Rate" should be fixed number meaning 900 frames per minute and 15 frames per second. In reality it doesn't go with this number meaning GameSpeed also affect the "Rate" too And no one know exact number.

Back to top
View user's profile Send private message
Zorbung
Soldier


Joined: 04 Jun 2021

PostPosted: Sat Nov 13, 2021 4:43 pm    Post subject: Reply with quote  Mark this post and the followings unread

I think you got things wrong. Faster game means less frames to draw (more frames to skip). Think of someone who tries to pick up food from a self-service while being pushed from the queue behind, they will have to skip many dishes.

An anim of 25 FPS will lose 10 equally distributed frames from the start, making the anim faster. So like I said keep anims at 15 FPS and you should be fine.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Sat Nov 13, 2021 9:07 pm    Post subject: Reply with quote  Mark this post and the followings unread

This thread is a trainwreck of confusion.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Mon Nov 15, 2021 2:41 am    Post subject: Reply with quote  Mark this post and the followings unread

Zorbung wrote:
I think you got things wrong. Faster game means less frames to draw (more frames to skip). Think of someone who tries to pick up food from a self-service while being pushed from the queue behind, they will have to skip many dishes.

An anim of 25 FPS will lose 10 equally distributed frames from the start, making the anim faster. So like I said keep anims at 15 FPS and you should be fine.


I will try that.

Back to top
View user's profile Send private message
G-E
Defense Minister


Joined: 09 Feb 2015

PostPosted: Mon Nov 15, 2021 4:17 am    Post subject: Reply with quote  Mark this post and the followings unread

Rate is based on speed 3, if you increase the speed the rate goes up. Most of us play on speed 4-5, so the anims are faster than 15fps, but the anim itself should be based on 15fps.0

Normalized has special rules which are meant to somewhat lessen the effect rate changes anim playback when speed is increased. It should not be considered important for the purposes of making anims.

_________________
http://www.moddb.com/mods/scorched-earth-ra2-mod-with-smart-ai

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Tue Nov 16, 2021 6:38 am    Post subject: Reply with quote  Mark this post and the followings unread

G-E wrote:
Rate is based on speed 3, if you increase the speed the rate goes up. Most of us play on speed 4-5, so the anims are faster than 15fps, but the anim itself should be based on 15fps.0

Normalized has special rules which are meant to somewhat lessen the effect rate changes anim playback when speed is increased. It should not be considered important for the purposes of making anims.


You understand well. Yes it is... Anyway I found a way and done it. Because animation and song must syncs that's why there is a limit that if I play on other speed than 5 the anim and sound will no longer sync. I am making Jimmy dominator which have each stage of damage depending on how loud his scream is. Divided the scene and extend some frame to make it matching the song. That's all.

The Milos gif doesn't require any sync so I can keep it as it is.

I know how stupid this is but well.. People kinda like it and to practicing some skills too. I have first Jimmy dominator long ago it doesn't sync and doesn't have full length of anim too.



jimmyfull.gif
 Description:
 Filesize:  19.56 MB
 Viewed:  737 Time(s)

jimmyfull.gif



videoplayback-(4).gif
 Description:
 Filesize:  1.5 MB
 Viewed:  736 Time(s)

videoplayback-(4).gif



Back to top
View user's profile Send private message
XxpeddyxX
Commander


Joined: 03 Sep 2004

PostPosted: Sat Nov 20, 2021 1:49 am    Post subject: Reply with quote  Mark this post and the followings unread

in single player (skirmish, campaign)
Speed 4 = 30 FPS
Speed 5 = 60 FPS
Speed 6 = whatever limit your machine can reach

Rate=900 (default) is 15 frames per second
15 frames = 1 second (ingame seconds, think ROF in this scenario)

multiplayer =
Speed 4 = 30 FPS
Speed 5 = 45 FPS
Speed 6 = 60 FPS (but rarely achievable because of different PC specs between players)

1 second in game (MP) = 250 milliseconds IRL
so 4 seconds in game at 45 FPS (MP) = 1 second IRL

4 x 15 = 60 frames played in 1 second IRL

TLDR: Use Rate=450 if you want a smooth animation that's not too fast when playing at 45 FPS (MP) or 60 FPS (SP).

_________________

ayylmao on Discord

Back to top
View user's profile Send private message
HG_SCIPCION
Gauss Rifle Trooper


Joined: 07 Jun 2013
Location: Perú

PostPosted: Sat Nov 20, 2021 2:37 am    Post subject: Reply with quote  Mark this post and the followings unread

XxpeddyxX wrote:
in single player (skirmish, campaign)
Speed 4 = 30 FPS
Speed 5 = 60 FPS
Speed 6 = whatever limit your machine can reach

Rate=900 (default) is 15 frames per second
15 frames = 1 second (ingame seconds, think ROF in this scenario)

multiplayer =
Speed 4 = 30 FPS
Speed 5 = 45 FPS
Speed 6 = 60 FPS (but rarely achievable because of different PC specs between players)

1 second in game (MP) = 250 milliseconds IRL
so 4 seconds in game at 45 FPS (MP) = 1 second IRL

4 x 15 = 60 frames played in 1 second IRL

TLDR: Use Rate=450 if you want a smooth animation that's not too fast when playing at 45 FPS (MP) or 60 FPS (SP).


nice, ty "XxpeddyxX" KEKW

_________________
https://www.moddb.com/mods/global-crisis
https://www.patreon.com/scipcion

Back to top
View user's profile Send private message Facebook Profile URL
XxpeddyxX
Commander


Joined: 03 Sep 2004

PostPosted: Sun Nov 21, 2021 12:10 am    Post subject: Reply with quote  Mark this post and the followings unread

HG_SCIPCION wrote:
XxpeddyxX wrote:
in single player (skirmish, campaign)
Speed 4 = 30 FPS
Speed 5 = 60 FPS
Speed 6 = whatever limit your machine can reach

Rate=900 (default) is 15 frames per second
15 frames = 1 second (ingame seconds, think ROF in this scenario)

multiplayer =
Speed 4 = 30 FPS
Speed 5 = 45 FPS
Speed 6 = 60 FPS (but rarely achievable because of different PC specs between players)

1 second in game (MP) = 250 milliseconds IRL
so 4 seconds in game at 45 FPS (MP) = 1 second IRL

4 x 15 = 60 frames played in 1 second IRL

TLDR: Use Rate=450 if you want a smooth animation that's not too fast when playing at 45 FPS (MP) or 60 FPS (SP).


nice, ty "XxpeddyxX" KEKW
1v1 or i send you pics you do not want

_________________

ayylmao on Discord

Back to top
View user's profile Send private message
Mr.Hymn
Missile Trooper


Joined: 01 May 2020

PostPosted: Sun Nov 21, 2021 2:47 pm    Post subject: Reply with quote  Mark this post and the followings unread

XxpeddyxX wrote:
in single player (skirmish, campaign)
Speed 4 = 30 FPS
Speed 5 = 60 FPS
Speed 6 = whatever limit your machine can reach

Rate=900 (default) is 15 frames per second
15 frames = 1 second (ingame seconds, think ROF in this scenario)

multiplayer =
Speed 4 = 30 FPS
Speed 5 = 45 FPS
Speed 6 = 60 FPS (but rarely achievable because of different PC specs between players)

1 second in game (MP) = 250 milliseconds IRL
so 4 seconds in game at 45 FPS (MP) = 1 second IRL

4 x 15 = 60 frames played in 1 second IRL

TLDR: Use Rate=450 if you want a smooth animation that's not too fast when playing at 45 FPS (MP) or 60 FPS (SP).


Thank you this answered everything. I should take a note of this.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [12 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.1800s ][ Queries: 15 (0.0114s) ][ Debug on ]