Quick Sign In:  

Forum: VirtualDJ Skins

Topic: Help with a skin

This topic is old and might contain outdated or incorrect information.

djdadPRO InfinityDevelopment ManagerMember since 2005
What i am trying to do is to create 2 pannels for textzones to each deck and to make them change according to which deck is actrive.

I have managed to do so with my controller (DP2) with the following action..

Quote :

action="action_deck 1 ? deck 1 select & skin_pannel '102' on & skin_pannel '201' on : deck 2 select & skin_pannel '101' on & skin_pannel '202' on " />


101, 102 for Deck 1
201, 202 for deck 2

I have also managed to change the pannels whenever i click on the deck selector in my skin with the following lines...

Quote :

<button pannel="92" action="deck 1 select & skin_pannel '102' on & skin_pannel '201' on">
<size width="40" height="28"/>
<pos x="547" y="271"/>
<selected x="+0" y="+899"/>
</button>

<button pannel="92" action="deck 2 select & skin_pannel '202' on & skin_pannel '101' on ">
<size width="40" height="28"/>
<pos x="853" y="271"/>
<selected x="+0" y="+899" />
</button>


It works ok....but the problem is that when i load a song with mouse it doesnt responds, i quess because no button is pressed ..correct?
I have also tried the following skin line..but no success..
Quote :

<button action="deck 1 active ? skin_pannel '102' on & skin_pannel '201' on : skin_pannel '202' on & skin_pannel '101' on">
<pos x="500" y="1"/>
<size width="1" height="1"/>
</button>

<button action="deck 2 active ? skin_pannel '101' on & skin_pannel '202' on : skin_pannel '201' on & skin_pannel '102' on ">
<pos x="500" y="1"/>
<size width="1" height="1"/>
</button>


I am out of ideas. Help please...
 

Posted Mon 19 Apr 10 @ 6:01 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
Some fotos to help you understand my purpose. Actually i havent seen anything similar to any skin, so i try not to think that its impossible.. he he

Deck 1 active


Deck 2 active
 

Posted Mon 19 Apr 10 @ 6:12 pm
djdad did you tried to use a select query on the buttons?


<button action="deck 1 select ? skin_pannel '102' on & skin_pannel '201' on : skin_pannel '202' on & skin_pannel '101' on">
<pos x="500" y="1"/>
<size width="1" height="1"/>
</button>

<button action="deck 2 select ? skin_pannel '101' on & skin_pannel '202' on : skin_pannel '201' on & skin_pannel '102' on ">
<pos x="500" y="1"/>
<size width="1" height="1"/>
</button>


Finally if this fails you could try to get the status of the players. In the old SDK (5.x) there was a player_status command which gave you 3 values: 0 - not loaded, 1-loading, 2-loaded
I don't know if this command still exists on the new SDK. I'm at my office right now and I can't test it, but I'll do a little more research for you...
 

Posted Tue 20 Apr 10 @ 12:57 am
JeremKPRO InfinityModeratorMember since 2004
Did you try something like this:

<pannel id="deck1_active" visible="deck 1 select">
 

Posted Tue 20 Apr 10 @ 4:49 am
djdadPRO InfinityDevelopment ManagerMember since 2005
Thanks for your ideas .. but neither is working.
 

Posted Tue 20 Apr 10 @ 4:47 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
This one seemed like good idea, but still nothing....damn..

Quote :

<pannel id="101" group="ADECKApanels" visible="action_deck 2 ? yes : no ">
<pos x="99" y="163"/>
<size width="407" height="108"/>
<down x="+0" y="+0"/>
</pannel>

<pannel id="102" group="ADECKApanels" visible="action_deck 1 ? yes : no ">
<pos x="99" y="163"/>
<size width="407" height="108"/>
<down x="+0" y="+898"/>
</pannel>
 

Posted Tue 20 Apr 10 @ 9:33 pm
djdadPRO InfinityDevelopment ManagerMember since 2005
He he he...got it ,..got it....
New Skin Technic !!!!!!
I will post details soon. I have to finish it first...
 

Posted Wed 21 Apr 10 @ 11:49 am
djdadPRO InfinityDevelopment ManagerMember since 2005
ok..here we go...
The only way to make it work properly is to replace the textzones with action=deck select.
So i actually devided all the area of textzones to pieces larger than textzone itself of course. I also used a couple of clipmasks for pitchlock & keylock buttons which were in that area too.
The only problem is that i had to remove text2, text3..etc from textzones, because button action does not allow more than 1 text.

Here is an example.

Quote :

<button action="deck 1 select">
<size width="351" height="23" geterrormessage="true"/>
<pos x="101" y="168"/>
<up x="+0" y="+0"/>
<down x="+0" y="+898"/>
<selected x="+0" y="+898"/>
<text dx="3" dy="0" width="311" font="virtualdj" size="19" color="WHITE" align="left" format="%Author" scroll="no"/>
</button>
 

Posted Wed 21 Apr 10 @ 7:18 pm


(Old topics and forums are automatically closed)