Knob button not changing! Help!

deanmcg
deanmcg Member Posts: 5 Newcomer
edited July 2023 in Scripting Workshop

Sorry for the newbie question I have been tearing my hear out and spend nearly 10 hours trying to sort this out but doesnt seem to be working. The file has seen the txt files for the instrument background and the knob txt file. But still doesnt seem to want to change!

Any help or ideas why this isnt changing? Its sticking to the sliders.


on init

make_perfview

set_ui_height_px(326)

set_ui_width_px(633)

declare $mouse_resp := -900

set_control_par_str($INST_WALLPAPER_ID,$CONTROL_PAR_PICTURE,"instrumentbackground")


declare ui_slider $control_1(0,1000000)

make_persistent($control_1)

declare $k_control_1

$k_control_1 := get_ui_id($control_1)

set_control_par_str($k_control_1,$CONTROL_PAR_PICTURE,"grey_textured_split DEAN101.1")

set_control_par($k_control_1,$CONTROL_PAR_POS_X,70)

set_control_par($k_control_1,$CONTROL_PAR_POS_Y,65)

set_control_par($k_control_1,$CONTROL_PAR_MOUSE_BEHAVIOUR,$mouse_resp)


declare ui_slider $control_2(0,1000000)

make_persistent($control_2)

declare $k_control_2

$k_control_2 := get_ui_id($control_2)

set_control_par_str($k_control_2,$CONTROL_PAR_PICTURE,"grey_textured_split DEAN101.1")

set_control_par($k_control_2,$CONTROL_PAR_POS_X,170)

set_control_par($k_control_2,$CONTROL_PAR_POS_Y,65)

set_control_par($k_control_2,$CONTROL_PAR_MOUSE_BEHAVIOUR,$mouse_resp)


declare ui_slider $control_3(0,1000000)

make_persistent($control_3)

declare $k_control_3

$k_control_3 := get_ui_id($control_3)

set_control_par_str($k_control_3,$CONTROL_PAR_PICTURE,"grey_textured_split DEAN101.1")

set_control_par($k_control_3,$CONTROL_PAR_POS_X,265)

set_control_par($k_control_3,$CONTROL_PAR_POS_Y,65)

set_control_par($k_control_3,$CONTROL_PAR_MOUSE_BEHAVIOUR,$mouse_resp)

end on


on ui_control($control_1)


end on


on ui_control($control_2)


end on


on ui_control($control_3)


end on




knob txt file


Has Alpha Channel: yes

Number of Animations: 101

Horizontal Animation: no

Vertical Resizable: no

Horizontal Resizable: no

Fixed Top: 0

Fixed Bottom: 0

Fixed Left: 0

Fixed Right: 0

Comments

  • deanmcg
    deanmcg Member Posts: 5 Newcomer

    i have tried it with this script as well, still exactly the same. Nothing... im stump with this.


    on init

    make_perfview

    set_ui_height_px(350)


    declare ui_slider $reverb(0, 1000000)

    make_persistent($reverb)


    declare $reverbId

    $reverbId := get_ui_id($reverb)

    set_control_par_str($reverbId, $CONTROL_PAR_PICTURE, "grey_textured_splitDEAN101.1")


    end on

  • corbo-billy
    corbo-billy Member Posts: 83 Helper

    On the knob txt file, you have to leave a tenth line empty .

Back To Top