Data Realms Fan Forums http://45.55.195.193/ |
|
Animation... How? http://45.55.195.193/viewtopic.php?f=1&t=14037 |
Page 1 of 1 |
Author: | CombatMedic02 [ Mon Mar 23, 2009 7:54 pm ] |
Post subject: | 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 |
Author: | Flammablezombie [ Mon Mar 23, 2009 7:58 pm ] |
Post subject: | Re: Animation... How? |
There's a variable called framecount. Set it to how many frames you have. |
Author: | CombatMedic02 [ Mon Mar 23, 2009 8:00 pm ] |
Post subject: | Re: Animation... How? |
Have done that... anything else? o.O |
Author: | Duh102 [ Mon Mar 23, 2009 8:01 pm ] |
Post subject: | Re: Animation... How? |
You also need to set a SpriteAnimMode (0-4) and SpriteAnimDuration (0-inf), I think. |
Author: | Kallemort [ Mon Mar 23, 2009 8:02 pm ] |
Post subject: | 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. |
Author: | CombatMedic02 [ Mon Mar 23, 2009 8:02 pm ] |
Post subject: | 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? |
Author: | SpacePope [ Mon Mar 23, 2009 8:37 pm ] |
Post subject: | Re: Animation... How? |
It failed too for my AK resprite. |
Author: | CombatMedic02 [ Mon Mar 23, 2009 8:45 pm ] |
Post subject: | 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. |
Author: | vagyr [ Mon Mar 23, 2009 8:46 pm ] |
Post subject: | 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... |
Author: | CombatMedic02 [ Mon Mar 23, 2009 8:48 pm ] |
Post subject: | Re: Animation... How? |
To be honest I'm not really sure what I'm looking for... thats why I asked here. |
Author: | Geti [ Mon Mar 23, 2009 9:20 pm ] |
Post subject: | 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. |
Author: | Duh102 [ Mon Mar 23, 2009 9:21 pm ] |
Post subject: | Re: Animation... How? |
Is 1 "Animate while walking"? I think 2 is "Loop forwards infinitely", which might be more to his liking. |
Author: | Geti [ Mon Mar 23, 2009 9:24 pm ] |
Post subject: | 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. |
Author: | CombatMedic02 [ Mon Mar 23, 2009 9:28 pm ] |
Post subject: | 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. |
Page 1 of 1 | All times are UTC [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |