by ilan » Fri May 06, 2011 1:43 pm
The DC-nothing module does not use any scripts.
Here is a little explanation that will help you understand how these buttons work...
- For this example select the existing 'blue' button
- At the top of the module editor click on 'keyword connect'
Slightly below and to the left of the 'keyword connect' you will see a pop up menu labeled 'Map 1'
To the right of this you will see the inset area where it says 'To:' followed by a field with the keyword that the button is using. In my instance it is 'ctrl_layer_color_modulateR'
This keyword is for controlling the red of the '-' part of post colorization of a layer.
Below the 'browse' button you will see the 'Expression' field and in the field you will see that the value we are sending to the keyword is '0' meaning that when we click on the 'blue' button the red will be reduced to zero, removing all of the red from the image in the layer.
- Go back to the pop-up menu and select 'Map 2'
You will notice that the keyword changes from 'ctrl_layer_color_modulateR'
to 'ctrl_layer_color_modulateG'with its value being '0' as well.
If you select 'Map 3' then you will see that the keyword is 'ctrl_layer_color_modulateB' and its value is '1' because we only want blue in the image of the layer.
By duplicating the button and changing the values of each of these keyword maps you can create a custom color
Extra tips:
- You can create up to 10 different maps for a button to perform any action in Modul8 that you need to have happen with a single button click. All buttons can be mapped with midi
- Below the keyword field you will see a pop-up menu with the label 'In' to its left. In this instance it is set to 'Active Layer' meaning that the buttons created will control the currently selected layer. If you click on the menu you will see a listing, 'All Layers', 'Layer 1', 'Layer 2', etc. This allows you to create buttons for layer specific tasks.
Hope this is helpful.[/b][/i]