Sequence file help
-
WellsMX524
- Posts: 2119
- Joined: Sun Feb 05, 2012 7:23 am
- Team: Aspect Visual Co.
- Location: Illinois/Wisconsin
Sequence file help
i have about 15 sequence .png's I want to throw in a sequence together. Is this possible? Every time I increase the number of images in the sequence file, It does not work. I can't seem to have more than 6 images in a sequence. Could anyone help? Maybe I need to be more specific, but if anyone could help me out that would be great.
-
aeffertz
- Posts: 4039
- Joined: Sat Sep 06, 2014 7:01 am
- Team: Studio ATE
- Location: Wiscansin
Re: Sequence file help
You can have more than 6 images. What does your text file look like? Make sure all your numbers are right.
Here's an example of a campfire I made for a track.
Here's an example of a campfire I made for a track.
Code: Select all
ANIM1 11 11 5 1
0 1 2 3 4 5 6 7 8 9 10
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire0.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire1.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire2.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire3.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire4.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire5.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire6.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire7.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire8.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire9.png
PNG @Effertz.Racing.Secret.SX/campfire_seq/fire10.png
-
aeffertz
- Posts: 4039
- Joined: Sat Sep 06, 2014 7:01 am
- Team: Studio ATE
- Location: Wiscansin
Re: Sequence file help
Didn't mean to hit submit there.
So you Need ANIM1 at the top to tell the game it's an animation or whatever. The second number in the first line is the amount of "frames" your sequence is (how many numbers you have on the second line). In this example, 11. It runs through each image once in the order listed in the second line: 0-10.
The 3rd number in the first line is the number of images the sequences references. In this example I have used 11 images, labeled fire0-fire10
And the 4th number of the first line is whether you want it to repeat or not. 1=repeat, 0=play sequence once and stop on last frame.
As I mentioned earlier, the second line tells the game the order you want to the images to be displayed. Mine was simple enough since I made the images and named them chronologically. But you can run it through any order you want. so let's say you have 0 1 2 3 2 1 as your second line, the second number on the first line should be 6.
The third line and down is where you list where the images in the sequence are. The third line is referenced as 0, the fourth line is 1, the fifth line is 2 and so on for the second line of the sequence file.
So you Need ANIM1 at the top to tell the game it's an animation or whatever. The second number in the first line is the amount of "frames" your sequence is (how many numbers you have on the second line). In this example, 11. It runs through each image once in the order listed in the second line: 0-10.
The 3rd number in the first line is the number of images the sequences references. In this example I have used 11 images, labeled fire0-fire10
And the 4th number of the first line is whether you want it to repeat or not. 1=repeat, 0=play sequence once and stop on last frame.
As I mentioned earlier, the second line tells the game the order you want to the images to be displayed. Mine was simple enough since I made the images and named them chronologically. But you can run it through any order you want. so let's say you have 0 1 2 3 2 1 as your second line, the second number on the first line should be 6.
The third line and down is where you list where the images in the sequence are. The third line is referenced as 0, the fourth line is 1, the fifth line is 2 and so on for the second line of the sequence file.

-
aeffertz
- Posts: 4039
- Joined: Sat Sep 06, 2014 7:01 am
- Team: Studio ATE
- Location: Wiscansin
Re: Sequence file help
Oh great I messed something up.
aeffertz wrote:Didn't mean to hit submit there.
So you Need ANIM1 at the top to tell the game it's an animation or whatever. The first number in the first line is the amount of "frames" your sequence is (how many numbers you have on the second line). In this example, 11. It runs through each image once in the order listed in the second line: 0-10.
The second number in the first line is the number of images the sequences references. In this example I have used 11 images, labeled fire0-fire10
The third number in the first line is how fast you want each frame to display. The higher the number, the slower the animation.
The 4th number of the first line is whether you want it to repeat or not. 1=repeat, 0=play sequence once and stop on last frame.
As I mentioned earlier, the second line tells the game the order you want to the images to be displayed. Mine was simple enough since I made the images and named them chronologically. But you can run it through any order you want. so let's say you have 0 1 2 3 2 1 as your second line, the second number on the first line should be 6.
The third line and down is where you list where the images in the sequence are. The third line is referenced as 0, the fourth line is 1, the fifth line is 2 and so on for the second line of the sequence file.

-
dombeal57
- Posts: 323
- Joined: Sun Apr 05, 2015 6:42 am
- Location: New Zealand
Re: Sequence file help
I can do the sequence for you. Just an example of one i have done

