cyrq

Untitled

Dec 6th, 2013
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 10.66 KB | None | 0 0
  1. Class RscInGameUI
  2.         {
  3.         access=0;
  4.         colorReady[]={0.4,0.6745,0.2784,1};
  5.         colorPrepare[]={0.863,0.584,0,1};
  6.         colorUnload[]={0.706,0.0745,0.0196,1};
  7.         Class RscUnitInfoSoldier
  8.                 {
  9.                 movingEnable=0;
  10.                 controls[]={"CA_Ammo","CA_Weapon","CA_Mode"};
  11.                 Class Background : RscText
  12.                         {
  13.                         idc=124;
  14.                         style=128;
  15.                         x=0;
  16.                         y=0;
  17.                         w=0.385;
  18.                         h=0.05;
  19.                         text="";
  20.                         colorBackground[]={0.2,0.15,0.1,0.8};
  21.                         colorText[]={0,0,0,0};
  22.                         font="TahomaB";
  23.                         sizeEx="( 16 / 408 )";
  24.                         fixedWidth=0;
  25.                         };
  26.  
  27.                 Class Weapon : RscIGText
  28.                         {
  29.                         idc=118;
  30.                         x=0;
  31.                         y=0.008;
  32.                         w=0.282;
  33.                         text="ERROR - replace";
  34.                         };
  35.  
  36.                 Class Ammo : RscIGText
  37.                         {
  38.                         idc=119;
  39.                         style="0x01 + 0x100";
  40.                         x=0;
  41.                         y=0.009;
  42.                         w=0.378;
  43.                         text="ERROR - replace";
  44.                         };
  45.  
  46.                 idd=300;
  47.                 Class CA_Ammo : RscIGUIValue
  48.                         {
  49.                         idc=119;
  50.                         style=1;
  51.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  52.                         y="0.054 + SafeZoneY";
  53.                         w=0.214;
  54.                         h=0.039;
  55.                         };
  56.  
  57.                 Class CA_Mode : RscIGUIText
  58.                         {
  59.                         idc=149;
  60.                         style=0;
  61.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  62.                         y="0.054 + SafeZoneY";
  63.                         w=0.214;
  64.                         h=0.039;
  65.                         };
  66.  
  67.                 Class CA_Weapon : RscIGUIText
  68.                         {
  69.                         idc=118;
  70.                         style=0;
  71.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  72.                         y="0.015 + SafeZoneY";
  73.                         w=0.214;
  74.                         h=0.039;
  75.                         };
  76.  
  77.                 };
  78.  
  79.         Class RscUnitInfoTank
  80.                 {
  81.                 movingEnable=0;
  82.                 controls[]={"CA_Weapon","CA_Mode","CA_Ammo","CA_ValueFuelBackground","CA_ValueFuel","CA_GunnerWeapon","CA_SpeedBackground","CA_TextSpeed","CA_Speed","CA_HeadingBackground","CA_Heading","CA_ValueArmor","CA_TextFlares","CA_TextFlaresMode"};
  83.                 Class Background : RscText
  84.                         {
  85.                         idc=124;
  86.                         style=128;
  87.                         x=0.02;
  88.                         y=0.18;
  89.                         w=0.21;
  90.                         h=0.25;
  91.                         text="";
  92.                         colorBackground[]={0.2,0.15,0.1,0.8};
  93.                         colorText[]={0,0,0,0};
  94.                         font="TahomaB";
  95.                         sizeEx=0;
  96.                         fixedWidth=0;
  97.                         };
  98.  
  99.                 Class Weapon : RscIGText
  100.                         {
  101.                         idc=118;
  102.                         x=0.025;
  103.                         y=0.38;
  104.                         w=0.19;
  105.                         text="ERROR - replace";
  106.                         };
  107.  
  108.                 Class Ammo : RscIGText
  109.                         {
  110.                         idc=119;
  111.                         style="0x01 + 0x100";
  112.                         x=0.035;
  113.                         y=0.38;
  114.                         w=0.19;
  115.                         text="ERROR - replace";
  116.                         };
  117.  
  118.                 Class Commander : RscIGText
  119.                         {
  120.                         idc=125;
  121.                         x=0.025;
  122.                         y="0.38 + 0.04";
  123.                         w=0.19;
  124.                         text="ERROR - replace";
  125.                         };
  126.  
  127.                 Class Gunner : RscIGText
  128.                         {
  129.                         idc=127;
  130.                         x=0.025;
  131.                         y="0.38 + 2 * 0.04";
  132.                         w=0.19;
  133.                         text="ERROR - replace";
  134.                         };
  135.  
  136.                 Class Driver : RscIGText
  137.                         {
  138.                         idc=126;
  139.                         x=0.025;
  140.                         y="0.38 + 3 * 0.04";
  141.                         w=0.19;
  142.                         text="ERROR - replace";
  143.                         };
  144.  
  145.                 Class Heading : RscIGText
  146.                         {
  147.                         idc=148;
  148.                         style="0x00  + 0x100";
  149.                         x=0.017;
  150.                         y=0.01;
  151.                         w=0.17;
  152.                         };
  153.  
  154.                 idd=300;
  155.                 updateWidthByWeapon=0;
  156.                 updateHeightByCrew=0;
  157.                 updateWidthByCrew=0;
  158.                 Class CA_Mode : RscIGUIText
  159.                         {
  160.                         idc=149;
  161.                         style=0;
  162.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  163.                         y="0.054 + SafeZoneY";
  164.                         w=0.214;
  165.                         h=0.039;
  166.                         };
  167.  
  168.                 Class CA_Ammo : RscIGUIValue
  169.                         {
  170.                         idc=119;
  171.                         style=1;
  172.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  173.                         y="0.054 + SafeZoneY";
  174.                         w=0.214;
  175.                         h=0.039;
  176.                         };
  177.  
  178.                 Class CA_Weapon : RscIGUIText
  179.                         {
  180.                         idc=118;
  181.                         style=0;
  182.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  183.                         y="0.015 + SafeZoneY";
  184.                         w=0.214;
  185.                         h=0.039;
  186.                         };
  187.  
  188.                 Class CA_GunnerWeapon : RscIGUIText
  189.                         {
  190.                         idc=150;
  191.                         style=0;
  192.                         x="(SafeZoneW + SafeZoneX) - (1 - 0.761)";
  193.                         y="0.132 + SafeZoneY";
  194.                         w=0.214;
  195.                         h=0.039;
  196.                         SizeEx=0.034;
  197.                         };
  198.  
  199.                 Class CA_SpeedBackground : RscEdit
  200.                         {
  201.                         idc=-1;
  202.                         sizeEx=0.034;
  203.                         colorBackground[]={0,0,0,0};
  204.                         colorText[]={0.4,0.6745,0.2784,1};
  205.                         colorSelection[]={0,0,0,0};
  206.                         style="0x02 + 0x40";
  207.                         shadow=2;
  208.                         type=0;
  209.                         x=0.314;
  210.                         y="0.017 + SafeZoneY";
  211.                         w=0.06;
  212.                         h=0.033;
  213.                         };
  214.  
  215.                 Class CA_TextSpeed : RscIGUIText
  216.                         {
  217.                         style=0;
  218.                         x=0.257;
  219.                         y="0.015 + SafeZoneY";
  220.                         w=0.12;
  221.                         text="SPD";
  222.                         };
  223.  
  224.                 Class CA_Speed : RscIGUIValue
  225.                         {
  226.                         idc=121;
  227.                         style=1;
  228.                         x=0.257;
  229.                         y="0.015 + SafeZoneY";
  230.                         w=0.12;
  231.                         };
  232.  
  233.                 Class CA_HeadingBackground : RscEdit
  234.                         {
  235.                         idc=-1;
  236.                         sizeEx=0.034;
  237.                         colorBackground[]={0,0,0,0};
  238.                         colorText[]={0.4,0.6745,0.2784,1};
  239.                         colorSelection[]={0,0,0,0};
  240.                         style="0x02 + 0x40";
  241.                         type=0;
  242.                         x=0.469;
  243.                         y="0.017 + SafeZoneY";
  244.                         w=0.061;
  245.                         h=0.033;
  246.                         };
  247.  
  248.                 Class CA_Heading : RscIGUIValue
  249.                         {
  250.                         idc=148;
  251.                         style=2;
  252.                         x=0.45;
  253.                         y="0.015 + SafeZoneY";
  254.                         w=0.1;
  255.                         };
  256.  
  257.                 Class CA_ValueFuelBackground : RscPicture
  258.                         {
  259.                         idc=-1;
  260.                         shadow=2;
  261.                         x="0.018 + SafeZoneX";
  262.                         y="0.01 + SafeZoneY";
  263.                         w=0.0196078;
  264.                         h=0.20915;
  265.                         colorText[]={0.4,0.6745,0.2784,1};
  266.                         text="\ca\ui\data\ui_fuel_background.paa";
  267.                         };
  268.  
  269.                 Class CA_ValueFuel : RscIGProgress
  270.                         {
  271.                         idc=113;
  272.                         x="0.02 + SafeZoneX";
  273.                         y="0.036 + SafeZoneY";
  274.                         w=0.01;
  275.                         h=0.18;
  276.                         texture="\ca\ui\data\igui_fuel_progress.paa";
  277.                         };
  278.  
  279.                 Class CA_ValueArmor : RscListBox
  280.                         {
  281.                         idc=111;
  282.                         sizeEx=0.03525;
  283.                         x="0.040 + SafeZoneX";
  284.                         y="0.016 + SafeZoneY";
  285.                         w=0.0357;
  286.                         h=0.76;
  287.                         };
  288.  
  289.                 Class CA_TextFlaresMode : RscIGUIText
  290.                         {
  291.                         idc=152;
  292.                         style=0;
  293.                         sizeEx=0.02674;
  294.                         x="0.078 + SafeZoneX";
  295.                         y="0.012 + SafeZoneY";
  296.                         w="0.161*SafezoneW";
  297.                         };
  298.  
  299.                 Class CA_TextFlares : RscIGUIValue
  300.                         {
  301.                         idc=151;
  302.                         style=1;
  303.                         sizeEx=0.02674;
  304.                         x="0.078  + SafeZoneX";
  305.                         y="0.012 + SafeZoneY";
  306.                         w="0.161*SafezoneW";
  307.                         };
  308.  
  309.                 };
Advertisement
Add Comment
Please, Sign In to add comment