View unanswered posts | View active topics It is currently Thu Jan 09, 2025 3:58 pm



Reply to topic  [ 14 posts ] 
 Animation... How? 
Author Message
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Animation... How?
Forgive my noobisums but how to I get something to animate on CC?

Basically I have got a craft and I wanted to add some blinky lights to it so I have made each frame and named them with number after their names such as 000, 001 and so on. There are like 3 frames? I increased the framecount in the crafts file and the game loads up fine but it only plays the first frame... I've never really needed to animate before so I've never learnt how. Compared to other peoples work I think I have it all there but I must be missing something...

I want flasheh lights! :P

Would you kindly point out what I'm missing? ^^

CM02


Last edited by CombatMedic02 on Mon Mar 23, 2009 8:01 pm, edited 1 time in total.



Mon Mar 23, 2009 7:54 pm
Profile WWW
User avatar

Joined: Wed Jan 14, 2009 7:12 pm
Posts: 1525
Location: In between your sister's legs, showing her how to use a... PS3 controller!
Reply with quote
Post Re: Animation... How?
There's a variable called framecount. Set it to how many frames you have.


Mon Mar 23, 2009 7:58 pm
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Animation... How?
Have done that... anything else? o.O


Mon Mar 23, 2009 8:00 pm
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Animation... How?
You also need to set a SpriteAnimMode (0-4) and SpriteAnimDuration (0-inf), I think.


Mon Mar 23, 2009 8:01 pm
Profile
User avatar

Joined: Tue Aug 21, 2007 2:55 pm
Posts: 948
Reply with quote
Post Re: Animation... How?
CombatMedic02 wrote:
Have done that... anything else? o.O

Try opening the doors? Not sure if you can animate craft bodies otherwise.


Mon Mar 23, 2009 8:02 pm
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Animation... How?
Now that would make sence... 1 moment please.

Where'd I add them? Like under the framecount?

Kallemort wrote:
CombatMedic02 wrote:
Have done that... anything else? o.O

Try opening the doors? Not sure if you can animate craft bodies otherwise.

The Tec Troopers Craft has blinkeh lights... Love that Mod BTW. :P

Duh102 wrote:
You also need to set a SpriteAnimMode (0-4) and SpriteAnimDuration (0-inf), I think.

Dosen't seem like that did anything? And I didn't find them in other files containing animated units.

Any other Ideas? :-(


Mon Mar 23, 2009 8:02 pm
Profile WWW
User avatar

Joined: Sat May 24, 2008 5:10 am
Posts: 167
Location: In Belgium!!!!
Reply with quote
Post Re: Animation... How?
It failed too for my AK resprite.


Mon Mar 23, 2009 8:37 pm
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Animation... How?
Hmmm... it would seem not many people know how to animate? :-(

Well hopefully this will help others as well as myself then, if I get a answer. :P

I never really needed to animate but now I'm adding lots of stuff into my faction I feel that a few animations would make a few units look alot cooler. :P


Last edited by CombatMedic02 on Mon Mar 23, 2009 8:47 pm, edited 1 time in total.



Mon Mar 23, 2009 8:45 pm
Profile WWW
User avatar

Joined: Sun Jan 11, 2009 10:54 am
Posts: 365
Reply with quote
Post Re: Animation... How?
you could allways see how the tec troopers dropship works and then give some credits to winny(sorry forgot how it is spelled) for the inspiration...


Mon Mar 23, 2009 8:46 pm
Profile
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Animation... How?
To be honest I'm not really sure what I'm looking for... thats why I asked here.


Mon Mar 23, 2009 8:48 pm
Profile WWW
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Animation... How?
spacepope, you cant animate guns.
regardless, you do just need to add "SpriteAnimMode = 1" and "SpriteAnimDuration = 800" to your code, anywhere, but under the framecount works well enough.


Mon Mar 23, 2009 9:20 pm
Profile WWW
happy carebear mom
User avatar

Joined: Tue Mar 04, 2008 1:40 am
Posts: 7096
Location: b8bbd5
Reply with quote
Post Re: Animation... How?
Is 1 "Animate while walking"? I think 2 is "Loop forwards infinitely", which might be more to his liking.


Mon Mar 23, 2009 9:21 pm
Profile
User avatar

Joined: Sun Jul 13, 2008 9:57 am
Posts: 4886
Location: some compy
Reply with quote
Post Re: Animation... How?
no, i think 3 is animate while walking. i think 2 is animate infinitely randomly, while 1 is animate infinitely in sequence. i cant remember.


Mon Mar 23, 2009 9:24 pm
Profile WWW
User avatar

Joined: Wed Dec 17, 2008 11:35 am
Posts: 122
Location: London
Reply with quote
Post Re: Animation... How?
Uh! That seems to be working now, Thanks guys.

I went with 2 in the end... nothing happened when I tried 1... Werid.


Mon Mar 23, 2009 9:28 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 14 posts ] 

Who is online

Users browsing this forum: Google [Bot]


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 post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.105s | 15 Queries | GZIP : Off ]