How do I change MultiBall colors and label each ball
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
How do I change MultiBall colors and label each ball
Is there an easy way to do this without tons of scripting? I basically just wanna be able to change the default colors of each ball (which are white, blue, then green, and so on) and also instead of have a number inside each ball, i wanna be able to put my own label in small text inside each ball.
Any ideas?
Any ideas?
Re: How do I change MultiBall colors and label each ball
To define your own colors for the balls, tick the "Multicolor" option and then use a init script (execute on load) and type:
where MultiBall is the actual name you have given to your multiball object (so if you have named it, 'myballs' type myballs in the script) and xxxxxx is a number from 0 to 8355711. You need as many xxx numbers as many enabled balls you have.
To easily retrive numbers of colors you use in your palette.....create an object like a pad or anything.....use a monitor object and make it so it displays:
Where object is the testing object name. This way you can manually change the color of the "testing" object, and write down the related numerical value of the color to be used in the multiball script.
To have custom labels for each ball, tick the "Multilabel" option and then use in the above init script:
where n is the amount of balls you have enabled.
Code: Select all
setattribute(MultiBall, 'colors', {xxxx, xxxxxx, xxxxx........xxxxxxx});
To easily retrive numbers of colors you use in your palette.....create an object like a pad or anything.....use a monitor object and make it so it displays:
Code: Select all
getattribute(object, 'color')
To have custom labels for each ball, tick the "Multilabel" option and then use in the above init script:
Code: Select all
setattribute(MultiBall, 'labels', {'label 1', 'label 2'.......'label n'});
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
Re: How do I change MultiBall colors and label each ball
Oh my goodness! Your instructions are always so perfect... I never think someone as dumb at me at this is gonna be able to make it work and then u lead me right to accomplishing it! Thaaank you!
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
Re: How do I change MultiBall colors and label each ball
Okaaay so question. Does it matter what i name the scripts? I just named "init" and "init2" and made em both active on load for color and label is that okay?
Re: How do I change MultiBall colors and label each ball
No, it doesn't matter - you could name the scripts 'fred()' or if a big Paul Simon fan, 'al()' .
Also, there's no need for two separate scripts as both execute 'onload' - you can write it all into a single 'init()' if you like.
Also, there's no need for two separate scripts as both execute 'onload' - you can write it all into a single 'init()' if you like.
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
Re: How do I change MultiBall colors and label each ball
And is there a color map with all the numbers listed somewhere? I got it to work with the monitor but just wondering
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
Re: How do I change MultiBall colors and label each ball
And oh yeah oh yeah! Sowwy;p. Is it possible to change the fader's slider color from light blue to something else (in pixel mode)
-
- Newbie
- Posts: 26
- Joined: 17 Jul 2014 05:13
Re: How do I change MultiBall colors and label each ball
got it thanks man!