Advertisement
Catscradler

Artemis SBS DMXcommands.xml for use with Arduino + 4 LEDs

Feb 20th, 2013
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 10.59 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2.  
  3. <DMX_CONTROL version="1.66">
  4.  
  5.   <!-- ********************************************************************************************* -->
  6.   <event type="NORMAL_CONDITION_1" continuous="yes">
  7.  
  8.     <!-- steady soft white light -->
  9.     <timeblock mseconds="1000">
  10.       <setvalue index="0" value="0" change="0"/>
  11.       <!-- yellow   value of first light box -->
  12.       <setvalue index="1" value="0" change="0"/>
  13.       <!-- green value of first light box -->
  14.       <setvalue index="2" value="0" change="0"/>
  15.       <!-- blue  value of first light box -->
  16.       <setvalue index="3" value="0" change="0"/>
  17.       <!-- red  value of first light box -->
  18.     </timeblock>
  19.   </event>
  20.  
  21.   <!-- ********************************************************************************************* -->
  22.   <event type="PLAYER_SHIELDS_ON" continuous="yes">
  23.  
  24.     <!-- steady blue light -->
  25.     <timeblock mseconds="1000">
  26.       <setvalue index="2" value="200" change="0"/>
  27.       <!-- blue  value of first light box -->
  28.     </timeblock>
  29.   </event>
  30.  
  31.   <!-- ********************************************************************************************* -->
  32.   <event type="TRACTORED_FOR_DOCKED" continuous="yes">
  33.  
  34.     <!-- steady yellow light -->
  35.     <timeblock mseconds="1000">
  36.       <setvalue index="0" value="200" change="0"/>
  37.       <!-- yellow   value of first light box -->
  38.       <setvalue index="1" value="200" change="0"/>
  39.       <!-- green value of first light box -->
  40.     </timeblock>
  41.   </event>
  42.  
  43.   <!-- ********************************************************************************************* -->
  44.   <event type="COMPLETELY_DOCKED" continuous="yes">
  45.  
  46.     <!-- steady green light -->
  47.     <timeblock mseconds="1000">
  48.       <setvalue index="0" value="0" change="0"/>
  49.       <!-- yellow   value of first light box -->
  50.       <setvalue index="1" value="200" change="0"/>
  51.       <!-- green value of first light box -->
  52.     </timeblock>
  53.   </event>
  54.  
  55.   <!-- ********************************************************************************************* -->
  56.   <event type="RED_ALERT" continuous="yes">
  57.  
  58.     <!-- flashing red light -->
  59.     <timeblock mseconds="1000">
  60.       <setvalue index="3" value="200" change="0"/>
  61.       <!-- red   value of first light box -->
  62.     </timeblock>
  63.     <timeblock mseconds="1000">
  64.       <setvalue index="3" value="0" change="0"/>
  65.       <!-- red   value of first light box -->
  66.     </timeblock>
  67.   </event>
  68.  
  69.   <!-- ********************************************************************************************* -->
  70.   <event type="SHIP_DAMAGE_20" continuous="yes">
  71.     <!-- flicker the light of the first light box -->
  72.     <timeblock mseconds="60">
  73.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  74.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  75.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  76.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->
  77.     </timeblock>
  78.     <timeblock mseconds="600">
  79.     </timeblock>
  80.     <timeblock mseconds="81">
  81.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  82.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  83.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  84.       <setvalue index="3" value="0" change="0"/>      <!-- red   value of first light box -->    
  85.     </timeblock>
  86.     <timeblock mseconds="450">
  87.     </timeblock>
  88.     <timeblock mseconds="81">
  89.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  90.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  91.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  92.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->
  93.     </timeblock>
  94.     <timeblock mseconds="4501">
  95.     </timeblock>
  96.  
  97.   </event>
  98.  
  99.  
  100.   <!-- ********************************************************************************************* -->
  101.   <event type="SHIP_DAMAGE_40" continuous="yes">
  102.     <!-- flicker the light of the first light box -->
  103.     <timeblock mseconds="60">
  104.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  105.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  106.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  107.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->     
  108.     </timeblock>
  109.     <timeblock mseconds="200">
  110.     </timeblock>
  111.     <timeblock mseconds="81">
  112.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  113.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  114.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  115.       <setvalue index="3" value="0" change="0"/>      <!-- red   value of first light box -->    
  116.     </timeblock>
  117.     <timeblock mseconds="550">
  118.     </timeblock>
  119.     <timeblock mseconds="81">
  120.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  121.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  122.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  123.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->
  124.     </timeblock>
  125.     <timeblock mseconds="4501">
  126.     </timeblock>
  127.  
  128.   </event>
  129.  
  130.  
  131.   <!-- ********************************************************************************************* -->
  132.   <event type="SHIP_DAMAGE_60" continuous="yes">
  133.     <!-- flicker the light of the first light box -->
  134.     <timeblock mseconds="60">
  135.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  136.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  137.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  138.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->     
  139.     </timeblock>
  140.     <timeblock mseconds="733">
  141.     </timeblock>
  142.     <timeblock mseconds="81">
  143.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  144.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  145.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  146.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  147.     </timeblock>
  148.     <timeblock mseconds="1450">
  149.     </timeblock>
  150.     <timeblock mseconds="81">
  151.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  152.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  153.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  154.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  155.     </timeblock>
  156.     <timeblock mseconds="1001">
  157.     </timeblock>
  158.  
  159.   </event>
  160.  
  161.   <!-- ********************************************************************************************* -->
  162.   <event type="SOMETHING_HITS_PLAYER">
  163.  
  164.     <!-- flicker the light of the first light box -->
  165.     <timeblock mseconds="60">
  166.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  167.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  168.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  169.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  170.     </timeblock>
  171.     <timeblock mseconds="60">
  172.       <setvalue index="0" value="255" change="0"/>      <!-- yellow   value of first light box -->
  173.       <setvalue index="1" value="255" change="0"/>      <!-- green value of first light box -->
  174.       <setvalue index="2" value="255" change="0"/>      <!-- blue  value of first light box -->
  175.       <setvalue index="3" value="255" change="0"/>      <!-- red  value of first light box -->   
  176.     </timeblock>
  177.     <timeblock mseconds="60">
  178.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  179.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  180.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  181.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  182.     </timeblock>
  183.     <timeblock mseconds="60">
  184.       <setvalue index="0" value="255" change="0"/>      <!-- yellow   value of first light box -->
  185.       <setvalue index="1" value="255" change="0"/>     <!-- green value of first light box -->
  186.       <setvalue index="2" value="255" change="0"/>      <!-- blue  value of first light box -->
  187.       <setvalue index="3" value="255" change="0"/>      <!-- red  value of first light box -->       
  188.     </timeblock>
  189.     <timeblock mseconds="60">
  190.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  191.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  192.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  193.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  194.     </timeblock>
  195.     <timeblock mseconds="60">
  196.       <setvalue index="0" value="255" change="0"/>      <!-- yellow   value of first light box -->
  197.       <setvalue index="1" value="255" change="0"/>      <!-- green value of first light box -->
  198.       <setvalue index="2" value="255" change="0"/>      <!-- blue  value of first light box -->
  199.       <setvalue index="3" value="255" change="0"/>      <!-- red  value of first light box -->       
  200.     </timeblock>
  201.     <timeblock mseconds="60">
  202.       <setvalue index="0" value="0" change="0"/>      <!-- yellow   value of first light box -->
  203.       <setvalue index="1" value="0" change="0"/>      <!-- green value of first light box -->
  204.       <setvalue index="2" value="0" change="0"/>      <!-- blue  value of first light box -->
  205.       <setvalue index="3" value="0" change="0"/>      <!-- red  value of first light box -->         
  206.     </timeblock>
  207.   </event>
  208.  
  209. </DMX_CONTROL>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement