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 Fri Apr 19, 2024 12:57 pm
All times are UTC + 0
what is wrong with this infantry sequence?
Moderators: Global Moderators, Red Alert 2 Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Sun Apr 25, 2021 8:31 pm    Post subject:  what is wrong with this infantry sequence? Reply with quote  Mark this post and the followings unread

i have made this infantry unit but the walk sequence is being retarded. heres the code for it:  

[KrabSequence]
Ready=0,1,1
Guard=0,1,1
Prone=0,1,1
Down=0,1,1
Up=0,1,1
Panic=8,8,6
Crawl=8,8,6
Walk=8,8,6
Cheer=72,14,0,S
Idle1=72,14,0,S
Idle2=86,14,0,E
Die1=114,11,0
Die2=125,11,0
Die3=136,11,0
FireUp=148,8,8
Idle2Sounds= 6 TrexRoar
Die1Sounds= 9 TrexDie
Die2Sounds= 9 TrexDie
WalkSounds= 2 TrexFoot
CrawlSounds= 2 TrexFoot

i have checked and checked again and surely the sequence starts at frame 8, surely it
has 8 frames in its walk anim, and surely it has 8 facings. though it does not walk right.  
i dont even understand what these numbers are supposed to mean anymore. the ini notes  
are inconsistent and modenc has no info either



krab.shp
 Description:

Download
 Filename:  krab.shp
 Filesize:  400.17 KB
 Downloaded:  10 Time(s)


_________________
visit my moddb profile for .shp downloads and stuff

Back to top
View user's profile Send private message
Crimsonum
Seth


Joined: 14 Jul 2005
Location: Fineland

PostPosted: Sun Apr 25, 2021 8:54 pm    Post subject: Reply with quote  Mark this post and the followings unread

You've got the third value wrong, it should be Walk=8,8,8.

Follow the art.ini comments. The third value tells how many frames to "jump" from the start of one facing-specific version of this animation to find the start of the next facing-specific version of that same animation. Most of the time it's the same as the second value, because you render each facing right after the other. However, it's useful when different animations share frames or when you have different animations for one facing at a time.

If this third number is zero, then it means this animation has no facing-specific versions. Some animations (idle, cheer) have an optional fourth value to determine which direction the unit should face when playing this idle anim, assuming the third value is zero.

_________________


Back to top
View user's profile Send private message
McPwny
Cyborg Artillery


Joined: 29 Jan 2018

PostPosted: Sun Apr 25, 2021 9:23 pm    Post subject: Reply with quote  Mark this post and the followings unread

okay thats got it working. when i read  
Code:
; The third number is the multiplier by the infantry facing
; to reach the facing specific animation start.
 
i thought it had something to do with unit facings which made no sense

_________________
visit my moddb profile for .shp downloads and stuff

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