Advertisement
Guest User

RGB V2

a guest
Apr 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 14.13 KB | None | 0 0
  1.         params[
  2.         ["_paramLight",1,[0]],
  3.         ["_AllumageEteignage",1,[0]]
  4.     ];
  5.  
  6.     switch (_paramLight) do
  7.     {
  8.         case 0:
  9.         {
  10.             light = "#lightpoint" createVehicle [1,0,0];
  11.             light lightAttachObject [Char1,[0.3,2,0]];
  12.             light setLightDayLight true;
  13.             light setLightIntensity 400;
  14.             light setLightFlareSize 5;
  15.             light setLightFlareMaxDistance 500;
  16.         };
  17.     };
  18.  
  19.     switch (_AllumageEteignage) do
  20.     {
  21.         case 1:
  22.         {
  23.             Allumage = false;
  24.             light setLightColor [0,0,0];
  25.             light setLightAmbient [0,0,0];
  26.         };
  27.  
  28.         case 2:
  29.          {
  30.             Allumage = true;
  31.             while {Allumage isEqualTo true} do
  32.             {
  33.         //blanc//
  34.         //resipartion 1//
  35.         light setLightColor [0.1,0.1,0.1];
  36.         light setLightAmbient [0.1,0.1,0.1];
  37.         sleep 0.150;
  38.         light setLightColor [0.2,0.2,0.2];
  39.         light setLightAmbient [0.2,0.2,0.2];
  40.         sleep 0.150;
  41.         light setLightColor [0.3,0.3,0.3];
  42.         light setLightAmbient [0.3,0.3,0.3];
  43.         sleep 0.150;
  44.         light setLightColor [0.4,0.4,0.4];
  45.         light setLightAmbient [0.4,0.4,0.4];
  46.         sleep 0.150;
  47.         light setLightColor [0.5,0.5,0.5];
  48.         light setLightAmbient [0.5,0.5,0.5];
  49.         sleep 0.150;
  50.         light setLightColor [0.6,0.6,0.6];
  51.         light setLightAmbient [0.6,0.6,0.6];
  52.         sleep 0.150;
  53.         light setLightColor [0.7,0.7,0.7];
  54.         light setLightAmbient [0.7,0.7,0.7];
  55.         sleep 0.150;
  56.         light setLightColor [0.8,0.8,0.8];
  57.         light setLightAmbient [0.8,0.8,0.8];
  58.         sleep 0.150;
  59.         light setLightColor [0.9,0.9,0.9];
  60.         light setLightAmbient [0.9,0.9,0.9];
  61.         sleep 0.150;
  62.         //respiration 1 fin//
  63.         light setLightColor [1,1,1];
  64.         light setLightAmbient [1,1,1];
  65.         sleep 0.150;
  66.         //respiration 2//
  67.         light setLightColor [0.9,0.9,0.9];
  68.         light setLightAmbient [0.9,0.9,0.9];
  69.         sleep 0.150;
  70.         light setLightColor [0.8,0.8,0.8];
  71.         light setLightAmbient [0.8,0.8,0.8];
  72.         sleep 0.150;
  73.         light setLightColor [0.7,0.7,0.7];
  74.         light setLightAmbient [0.7,0.7,0.7];
  75.         sleep 0.150;
  76.         light setLightColor [0.6,0.6,0.6];
  77.         light setLightAmbient [0.6,0.6,0.6];
  78.         sleep 0.150;
  79.         light setLightColor [0.5,0.5,0.5];
  80.         light setLightAmbient [0.5,0.5,0.5];
  81.         sleep 0.150;
  82.         light setLightColor [0.4,0.4,0.4];
  83.         light setLightAmbient [0.4,0.4,0.4];
  84.         sleep 0.150;
  85.         light setLightColor [0.3,0.3,0.3];
  86.         light setLightAmbient [0.3,0.3,0.3];
  87.         sleep 0.150;
  88.         light setLightColor [0.2,0.2,0.2];
  89.         light setLightAmbient [0.2,0.2,0.2];
  90.         sleep 0.150;
  91.         light setLightColor [0.1,0.1,0.1];
  92.         light setLightAmbient [0.1,0.1,0.1];
  93.         sleep 0.150;
  94.         //rspiration 2 fin//
  95.  
  96.         //bleu//
  97.         //respiration 1//
  98.         light setLightColor [0,0.1,0.1];
  99.         light setLightAmbient [0,0.1,0.1];
  100.         sleep 0.150;
  101.         light setLightColor [0,0.2,0.2];
  102.         light setLightAmbient [0,0.2,0.2];
  103.         sleep 0.150;
  104.         light setLightColor [0,0.3,0.3];
  105.         light setLightAmbient [0,0.3,0.3];
  106.         sleep 0.150;
  107.         light setLightColor [0,0.4,0.4];
  108.         light setLightAmbient [0,0.4,0.4];
  109.         sleep 0.150;
  110.         light setLightColor [0,0.5,0.5];
  111.         light setLightAmbient [0,0.5,0.5];
  112.         sleep 0.150;
  113.         light setLightColor [0,0.6,0.6];
  114.         light setLightAmbient [0,0.6,0.6];
  115.         sleep 0.150;
  116.         light setLightColor [0,0.7,0.7];
  117.         light setLightAmbient [0,0.7,0.7];
  118.         sleep 0.150;
  119.         light setLightColor [0,0.8,0.8];
  120.         light setLightAmbient [0,0.8,0.8];
  121.         sleep 0.150;
  122.         light setLightColor [0,0.9,0.9];
  123.         light setLightAmbient [0,0.9,0.9];
  124.         sleep 0.150;
  125.         //respiration 1 fin//
  126.         light setLightColor [0,1,1];
  127.         light setLightAmbient [0,1,1];
  128.         sleep 0.150;
  129.         //respiration2//
  130.         light setLightColor [0,0.9,0.9];
  131.         light setLightAmbient [0,0.9,0.9];
  132.         sleep 0.150;
  133.         light setLightColor [0,0.8,0.8];
  134.         light setLightAmbient [0,0.8,0.8];
  135.         sleep 0.150;
  136.         light setLightColor [0,0.7,0.7];
  137.         light setLightAmbient [0,0.7,0.7];
  138.         sleep 0.150;
  139.         light setLightColor [0,0.6,0.6];
  140.         light setLightAmbient [0,0.6,0.6];
  141.         sleep 0.150;
  142.         light setLightColor [0,0.5,0.5];
  143.         light setLightAmbient [0,0.5,0.5];
  144.         sleep 0.150;
  145.         light setLightColor [0,0.4,0.4];
  146.         light setLightAmbient [0,0.4,0.4];
  147.         sleep 0.150;
  148.         light setLightColor [0,0.3,0.3];
  149.         light setLightAmbient [0,0.3,0.3];
  150.         sleep 0.150;
  151.         light setLightColor [0,0.2,0.2];
  152.         light setLightAmbient [0,0.2,0.2];
  153.         sleep 0.150;
  154.         light setLightColor [0,0.1,0.1];
  155.         light setLightAmbient [0,0.1,0.1];
  156.         sleep 0.150;
  157.         //respiration 2 fin//
  158.  
  159.         //rose//
  160.         //respiration 1//
  161.         light setLightColor [0.1,0,0.1];
  162.         light setLightAmbient [0.1,0,0.1];
  163.         sleep 0.150;
  164.         light setLightColor [0.2,0,0.2];
  165.         light setLightAmbient [0.2,0,0.2];
  166.         sleep 0.150;
  167.         light setLightColor [0.3,0,0.3];
  168.         light setLightAmbient [0.3,0,0.3];
  169.         sleep 0.150;
  170.         light setLightColor [0.4,0,0.4];
  171.         light setLightAmbient [0.4,0,0.4];
  172.         sleep 0.150;
  173.         light setLightColor [0.5,0,0.5];
  174.         light setLightAmbient [0.5,0,0.5];
  175.         sleep 0.150;
  176.         light setLightColor [0.6,0,0.6];
  177.         light setLightAmbient [0.6,0,0.6];
  178.         sleep 0.150;
  179.         light setLightColor [0.7,0,0.7];
  180.         light setLightAmbient [0.7,0,0.7];
  181.         sleep 0.150;
  182.         light setLightColor [0.8,0,0.8];
  183.         light setLightAmbient [0.8,0,0.8];
  184.         sleep 0.150;
  185.         light setLightColor [0.9,0,0.9];
  186.         light setLightAmbient [0.9,0,0.9];
  187.         sleep 0.150;
  188.         //respiration 1 fin//
  189.         light setLightColor [1,0,1];
  190.         light setLightAmbient [1,0,1];
  191.         sleep 0.150;
  192.         //respiration 2//
  193.         light setLightColor [0.9,0,0.9];
  194.         light setLightAmbient [0.9,0,0.9];
  195.         sleep 0.150;
  196.         light setLightColor [0.8,0,0.8];
  197.         light setLightAmbient [0.8,0,0.8];
  198.         sleep 0.150;
  199.         light setLightColor [0.7,0,0.7];
  200.         light setLightAmbient [0.7,0,0.7];
  201.         sleep 0.150;
  202.         light setLightColor [0.6,0,0.6];
  203.         light setLightAmbient [0.6,0,0.6];
  204.         sleep 0.150;
  205.         light setLightColor [0.5,0,0.5];
  206.         light setLightAmbient [0.5,0,0.5];
  207.         sleep 0.150;
  208.         light setLightColor [0.4,0,0.4];
  209.         light setLightAmbient [0.4,0,0.4];
  210.         sleep 0.150;
  211.         light setLightColor [0.3,0,0.3];
  212.         light setLightAmbient [0.3,0,0.3];
  213.         sleep 0.150;
  214.         light setLightColor [0.2,0,0.2];
  215.         light setLightAmbient [0.2,0,0.2];
  216.         sleep 0.150;
  217.         light setLightColor [0.1,0,0.1];
  218.         light setLightAmbient [0.1,0,0.1];
  219.         sleep 0.150;
  220.         //respiration 2 fin //
  221.  
  222.         //jaune//
  223.         //respiration 1//
  224.         light setLightColor [0.1,0.1,0];
  225.         light setLightAmbient [0.1,0.1,0];
  226.         sleep 0.150;
  227.         light setLightColor [0.2,0.2,0];
  228.         light setLightAmbient [0.2,0.2,0];
  229.         sleep 0.150;
  230.         light setLightColor [0.3,0.3,0];
  231.         light setLightAmbient [0.3,0.3,0];
  232.         sleep 0.150;
  233.         light setLightColor [0.4,0.4,0];
  234.         light setLightAmbient [0.4,0.4,0];
  235.         sleep 0.150;
  236.         light setLightColor [0.5,0.5,0];
  237.         light setLightAmbient [0.5,0.5,0];
  238.         sleep 0.150;
  239.         light setLightColor [0.6,0.6,0];
  240.         light setLightAmbient [0.6,0.6,0];
  241.         sleep 0.150;
  242.         light setLightColor [0.7,0.7,0];
  243.         light setLightAmbient [0.7,0.7,0];
  244.         sleep 0.150;
  245.         light setLightColor [0.8,0.8,0];
  246.         light setLightAmbient [0.8,0.8,0];
  247.         sleep 0.150;
  248.         light setLightColor [0.9,0.9,0];
  249.         light setLightAmbient [0.9,0.9,0];
  250.         sleep 0.150;
  251.         //respiration 1 fin//
  252.         light setLightColor [1,1,0];
  253.         light setLightAmbient [1,1,0];
  254.         sleep 0.150;
  255.         //respiration 2//
  256.         light setLightColor [0.9,0.9,0];
  257.         light setLightAmbient [0.9,0.9,0];
  258.         sleep 0.150;
  259.         light setLightColor [0.8,0.8,0];
  260.         light setLightAmbient [0.8,0.8,0];
  261.         sleep 0.150;
  262.         light setLightColor [0.7,0.7,0];
  263.         light setLightAmbient [0.7,0.7,0];
  264.         sleep 0.150;
  265.         light setLightColor [0.6,0.6,0];
  266.         light setLightAmbient [0.6,0.6,0];
  267.         sleep 0.150;
  268.         light setLightColor [0.5,0.5,0];
  269.         light setLightAmbient [0.5,0.5,0];
  270.         sleep 0.150;
  271.         light setLightColor [0.4,0.4,0];
  272.         light setLightAmbient [0.4,0.4,0];
  273.         sleep 0.150;
  274.         light setLightColor [0.3,0.3,0];
  275.         light setLightAmbient [0.3,0.3,0];
  276.         sleep 0.150;
  277.         light setLightColor [0.2,0.2,0];
  278.         light setLightAmbient [0.2,0.2,0];
  279.         sleep 0.150;
  280.         light setLightColor [0.1,0.1,0];
  281.         light setLightAmbient [0.1,0.1,0];
  282.         sleep 0.150;
  283.         //respiration 2 fin//
  284.  
  285.         //rouge//
  286.         //respiration 1//
  287.         light setLightColor [0.1,0,0];
  288.         light setLightAmbient [0.1,0,0];
  289.         sleep 0.150;
  290.         light setLightColor [0.2,0,0];
  291.         light setLightAmbient [0.2,0,0];
  292.         sleep 0.150;
  293.         light setLightColor [0.3,0,0];
  294.         light setLightAmbient [0.3,0,0];
  295.         sleep 0.150;
  296.         light setLightColor [0.4,0,0];
  297.         light setLightAmbient [0.4,0,0];
  298.         sleep 0.150;
  299.         light setLightColor [0.5,0,0];
  300.         light setLightAmbient [0.5,0,0];
  301.         sleep 0.150;
  302.         light setLightColor [0.6,0,0];
  303.         light setLightAmbient [0.6,0,0];
  304.         sleep 0.150;
  305.         light setLightColor [0.7,0,0];
  306.         light setLightAmbient [0.7,0,0];
  307.         sleep 0.150;
  308.         light setLightColor [0.8,0,0];
  309.         light setLightAmbient [0.8,0,0];
  310.         sleep 0.150;
  311.         light setLightColor [0.9,0,0];
  312.         light setLightAmbient [0.9,0,0];
  313.         sleep 0.150;
  314.         //respiation 1 fin//
  315.         light setLightColor [1,0,0];
  316.         light setLightAmbient [1,0,0];
  317.         sleep 0.150;
  318.         //respiration 2//
  319.         light setLightColor [0.9,0,0];
  320.         light setLightAmbient [0.9,0,0];
  321.         sleep 0.150;
  322.         light setLightColor [0.8,0,0];
  323.         light setLightAmbient [0.8,0,0];
  324.         sleep 0.150;
  325.         light setLightColor [0.7,0,0];
  326.         light setLightAmbient [0.7,0,0];
  327.         sleep 0.150;
  328.         light setLightColor [0.6,0,0];
  329.         light setLightAmbient [0.6,0,0];
  330.         sleep 0.150;
  331.         light setLightColor [0.5,0,0];
  332.         light setLightAmbient [0.5,0,0];
  333.         sleep 0.150;
  334.         light setLightColor [0.4,0,0];
  335.         light setLightAmbient [0.4,0,0];
  336.         sleep 0.150;
  337.         light setLightColor [0.3,0,0];
  338.         light setLightAmbient [0.3,0,0];
  339.         sleep 0.150;
  340.         light setLightColor [0.2,0,0];
  341.         light setLightAmbient [0.2,0,0];
  342.         sleep 0.150;
  343.         light setLightColor [0.1,0,0];
  344.         light setLightAmbient [0.1,0,0];
  345.         sleep 0.150;
  346.         //respiration 2 fin//
  347.  
  348.         //vert//
  349.         //respiration 1//
  350.         light setLightColor [0,0.1,0];
  351.         light setLightAmbient [0,0.1,0];
  352.         sleep 0.150;
  353.         light setLightColor [0,0.2,0];
  354.         light setLightAmbient [0,0.2,0];
  355.         sleep 0.150;
  356.         light setLightColor [0,0.3,0];
  357.         light setLightAmbient [0,0.3,0];
  358.         sleep 0.150;
  359.         light setLightColor [0,0.4,0];
  360.         light setLightAmbient [0,0.4,0];
  361.         sleep 0.150;
  362.         light setLightColor [0,0.5,0];
  363.         light setLightAmbient [0,0.5,0];
  364.         sleep 0.150;
  365.         light setLightColor [0,0.6,0];
  366.         light setLightAmbient [0,0.6,0];
  367.         sleep 0.150;
  368.         light setLightColor [0,0.7,0];
  369.         light setLightAmbient [0,0.7,0];
  370.         sleep 0.150;
  371.         light setLightColor [0,0.8,0];
  372.         light setLightAmbient [0,0.8,0];
  373.         sleep 0.150;
  374.         light setLightColor [0,0.9,0];
  375.         light setLightAmbient [0,0.9,0];
  376.         sleep 0.150;
  377.         //respiration 1 fin//
  378.         light setLightColor [0,1,0];
  379.         light setLightAmbient [0,1,0];
  380.         sleep 0.150;
  381.         //respiration 2//
  382.         light setLightColor [0,0.9,0];
  383.         light setLightAmbient [0,0.9,0];
  384.         sleep 0.150;
  385.         light setLightColor [0,0.8,0];
  386.         light setLightAmbient [0,0.8,0];
  387.         sleep 0.150;
  388.         light setLightColor [0,0.7,0];
  389.         light setLightAmbient [0,0.7,0];
  390.         sleep 0.150;
  391.         light setLightColor [0,0.6,0];
  392.         light setLightAmbient [0,0.6,0];
  393.         sleep 0.150;
  394.         light setLightColor [0,0.5,0];
  395.         light setLightAmbient [0,0.5,0];
  396.         sleep 0.150;
  397.         light setLightColor [0,0.4,0];
  398.         light setLightAmbient [0,0.4,0];
  399.         sleep 0.150;
  400.         light setLightColor [0,0.3,0];
  401.         light setLightAmbient [0,0.3,0];
  402.         sleep 0.150;
  403.         light setLightColor [0,0.2,0];
  404.         light setLightAmbient [0,0.2,0];
  405.         sleep 0.150;
  406.         light setLightColor [0,0.1,0];
  407.         light setLightAmbient [0,0.1,0];
  408.         sleep 0.150;
  409.         //respiration 2 fin//
  410.  
  411.         //mauve//
  412.         //respiration 1//
  413.         light setLightColor [0,0,0.1];
  414.         light setLightAmbient [0,0,0.1];
  415.         sleep 0.150;
  416.         light setLightColor [0,0,0.2];
  417.         light setLightAmbient [0,0,0.2];
  418.         sleep 0.150;
  419.         light setLightColor [0,0,0.3];
  420.         light setLightAmbient [0,0,0.3];
  421.         sleep 0.150;
  422.         light setLightColor [0,0,0.4];
  423.         light setLightAmbient [0,0,0.4];
  424.         sleep 0.150;
  425.         light setLightColor [0,0,0.5];
  426.         light setLightAmbient [0,0,0.5];
  427.         sleep 0.150;
  428.         light setLightColor [0,0,0.6];
  429.         light setLightAmbient [0,0,0.6];
  430.         sleep 0.150;
  431.         light setLightColor [0,0,0.7];
  432.         light setLightAmbient [0,0,0.7];
  433.         sleep 0.150;
  434.         light setLightColor [0,0,0.8];
  435.         light setLightAmbient [0,0,0.8];
  436.         sleep 0.150;
  437.         light setLightColor [0,0,0.9];
  438.         light setLightAmbient [0,0,0.9];
  439.         sleep 0.150;
  440.         //respiration 1 fin//
  441.         light setLightColor [0,0,1];
  442.         light setLightAmbient [0,0,1];
  443.         sleep 0.150;
  444.         //respiration 2//
  445.         light setLightColor [0,0,0.9];
  446.         light setLightAmbient [0,0,0.9];
  447.         sleep 0.150;
  448.         light setLightColor [0,0,0.8];
  449.         light setLightAmbient [0,0,0.8];
  450.         sleep 0.150;
  451.         light setLightColor [0,0,0.7];
  452.         light setLightAmbient [0,0,0.7];
  453.         sleep 0.150;
  454.         light setLightColor [0,0,0.6];
  455.         light setLightAmbient [0,0,0.6];
  456.         sleep 0.150;
  457.         light setLightColor [0,0,0.5];
  458.         light setLightAmbient [0,0,0.5];
  459.         sleep 0.150;
  460.         light setLightColor [0,0,0.4];
  461.         light setLightAmbient [0,0,0.4];
  462.         sleep 0.150;
  463.         light setLightColor [0,0,0.3];
  464.         light setLightAmbient [0,0,0.3];
  465.         sleep 0.150;
  466.         light setLightColor [0,0,0.2];
  467.         light setLightAmbient [0,0,0.2];
  468.         sleep 0.150;
  469.         light setLightColor [0,0,0.1];
  470.         light setLightAmbient [0,0,0.1];
  471.         sleep 0.150;
  472.         //respiration 2 fin//
  473.          };
  474.     };
  475.  
  476.     default
  477.     {
  478.     };
  479. };
  480.  
  481. setPilotLight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement