Author |
Message |
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
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! 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 |
|
|
Flammablezombie
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!
|
Re: Animation... How?
There's a variable called framecount. Set it to how many frames you have.
|
Mon Mar 23, 2009 7:58 pm |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
Re: Animation... How?
Have done that... anything else? o.O
|
Mon Mar 23, 2009 8:00 pm |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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 |
|
|
Kallemort
Joined: Tue Aug 21, 2007 2:55 pm Posts: 948
|
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 |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
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. 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 |
|
|
SpacePope
Joined: Sat May 24, 2008 5:10 am Posts: 167 Location: In Belgium!!!!
|
Re: Animation... How?
It failed too for my AK resprite.
|
Mon Mar 23, 2009 8:37 pm |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
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. 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.
Last edited by CombatMedic02 on Mon Mar 23, 2009 8:47 pm, edited 1 time in total.
|
Mon Mar 23, 2009 8:45 pm |
|
|
vagyr
Joined: Sun Jan 11, 2009 10:54 am Posts: 365
|
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 |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
Duh102
happy carebear mom
Joined: Tue Mar 04, 2008 1:40 am Posts: 7096 Location: b8bbd5
|
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 |
|
|
Geti
Joined: Sun Jul 13, 2008 9:57 am Posts: 4886 Location: some compy
|
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 |
|
|
CombatMedic02
Joined: Wed Dec 17, 2008 11:35 am Posts: 122 Location: London
|
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 |
|
|
|