Jump to content

Photo

Palette cycles


  • Please log in to reply
1 reply to this topic

#1 Evile

Evile

    Dolphinslayer

  • Members

Posted 28 May 2007 - 06:46 PM

I have no idea how these work and I've just spend like 20 mins trying to figure it out. Could someone please give me a breif tutorial on how these work, or send me a link to a tutorial.

Thanks.

#2 NoeL

NoeL

    Legend

  • Members
  • Real Name:Jerram

Posted 31 May 2007 - 10:52 PM

Palette cycling is basically having a palette cycle through a loop of different colours. Note that you can only cycle with "interpolated fading" checked as a quest rule.

In the palette editor, the numbers on the side look like:

0123456789ABCDEF
2 (colours appear here)
3 (...)
4
9
2 (greyed out)
... (other numbers, can't remember what they are, but they're the "cycling" palettes)

If you press the "cycle" button, you'll get a menu for 3 separate cycles (meaning you can cycle multiple palettes in different ways).

The attributes are (maybe in a different order):

cset
first
last
count
speed

In the cset box, enter the number of the palette you want to cycle (only 0-7 will work, unless they've changed that in the newer versions).

"First" means the first position in the cset of the colours you want to loop(cycle). If you want to cycle the whole palette, leave this at 0 and change "last" to 8. If you only want the back half of the cset to cycle, enter 8 (if you don't know where these numbers are coming from, they're written horizontally across the top of the palette, 0-F).

"Last" means the colour at the end of the "cycle block" (if there was only 3 colours you wanted to cycle, set "first" to the number of the first colour, and "last" to the number of the third colour, and everything inbetween will cycle).

"count" means how many csets are in the cycle. If you enter 1 the colours wont "cycle", you'll just replace the old colours with the new (the ones in the cset under 9). If you enter 2, then the first two csets listed under cset 9 will alternate. 3 will loop through the first 3 csets under 9, etc etc.

"speed" is the speed of the cycle, the same as animated combo speed, or item animation speed. 0 is fast, >0 is slower.

EXAMPLE

cset 2 is like this: (B=shade of blue, Y=shade of yellow, R=shade of red)

0 1 2 3 4 5 6 7 8 9 A B C D E F
B B Y Y B B B B R R R B B B B B

Say I wanted my yellows to cycle from yellow, to green, to blue, then back to yellow, really fast. I also wanted the reds on the same cset to cycle from red to purple, but slower than the yellows.

So, first step, copy cset 2 to cset 0 (I think that's the label of the first cset under 9... that's where you want it). Since we want these colours to appear in the loop, we'll leave this cset as is.

Second, edit the cset below that one (cset1?). Since our yellows are in positions 2-3, and we want to cycle from yellow to green, edit the positions 2-3 and put some nice greens in them. We ALSO want the red to cycle to purple, so positions 8-A will need to be given red colours.
(note: it doesn't matter what colours you put in the other positions since we wont be cycling them, so it's ok to leave them blank). This cset is done.

Next, edit the NEXT cset underneath that one. Now we want the greens to cycle to blue. Since the reds are only cycling 2 colours, we don't need to do any more with them on this cset. So, again we give positions 2-3 some blue colours.

You palette should look like this:

0 1 2 3 4 5 6 7 8 9 A B C D E F
2: B B Y Y B B B B R R R B B B B B
3:
4:
9:
2:
0: B B Y Y B B B B R R R B B B B B
1: G G P P P
2: B B
3:
...

Now, we "code" the cycle. Press the "cycle" button.

Now, since there's 2 groups we want to cycle, we'll be using the first two columns. Cycle 1 will be our yellow, cycle 2 will be our reds. We'll start with cycle 1.

Enter the values:

cset: 2
first: 2 (first position)
last: 3 (last position)
count: 3 (how many csets in the cycle)
speed: 2 (low = fast)


Now, for cycle 2, enter:

cset: 2
first: 8
last: A
count: 2 (only the first two csets this time)
speed: 10 (high = slow)

And that's it! The colours in those positions in cset 2 will never be seen, since they'll always be replaced by the cycling colours, that's why if you WANT those colours, remember to copy the cset to the first position in the cycle. icon_wink.gif

Good luck!

Edited by NoeL, 31 May 2007 - 10:57 PM.



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users