Advertisement
Guest User

Untitled

a guest
Aug 19th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.92 KB | None | 0 0
  1. #include "basicdefines_A3.hpp"
  2. class DefaultEventhandlers;
  3. class WeaponFireGun;
  4. class WeaponCloudsGun;
  5. class WeaponFireMGun;
  6. class WeaponCloudsMGun;
  7. class CfgPatches
  8. {
  9. class Skin_GN_AddOn_Cars
  10. {
  11. units[]= {"Skin_GN"};
  12. weapons[]={};
  13. requiredVersion=0.1;
  14. requiredAddons[]={};
  15. };
  16. };
  17. class CfgVehicles {
  18. class car_F {
  19. class UserActions;
  20. };
  21.  
  22. // Mercedes Classe E
  23. class mercleeduma_civ_base : Car_F {};
  24. class mercleeduma_police : mercleeduma_civ_base {};
  25. class CLasseE_GN : mercleeduma_police {
  26. scope = public;
  27. crew = "C_man_1";
  28. side = 1;
  29. displayName = "Mercedes-Benz Classe E Gendarmerie";
  30. author = "Mod : Dumas - Modif : Seatrix67";
  31. hiddenSelectionsTextures[] = {"Skin_GN\textures\bodygn_classeE.paa"};
  32. weapons[] = {"chkla2","chgns"};
  33. class EventHandlers {init = "_this execVM ""Charlieco89_Expert3\cars\data\scripts\init_gn.sqf"";";};
  34. class UserActions : UserActions {
  35. class gyrophare {
  36. condition = "this animationPhase ""lamp1"" > 0.5";
  37. displayName = "<t color='#0000ff'>Gyrophares OFF (M)</t>";
  38. onlyForPlayer = 0;
  39. position = "drivewheel";
  40. radius = 2;
  41. shortcut = "buldTerrainLower5m";
  42. statement = "this animate [""lamp1"",0];this animate [""lamp2"",0]";
  43. };
  44.  
  45. class gyropharef {
  46. condition = "this animationPhase ""lamp1"" <= 0.5";
  47. displayName = "<t color='#0000ff'>Gyrophares ON (M)</t>";
  48. onlyForPlayer = 0;
  49. position = "drivewheel";
  50. radius = 2;
  51. shortcut = "buldTerrainLower5m";
  52. statement = "this animate [""lamp1"",1];this animate [""lamp2"",1]";
  53. };
  54.  
  55. class PP {
  56. condition = "this animationPhase ""PP"" > 0.5";
  57. displayName = "<t color='#2d9900'>Feux de croisement (K)</t>";
  58. onlyForPlayer = 0;
  59. position = "drivewheel";
  60. radius = 2;
  61. shortcut = "compass";
  62. statement = "this animate [""PP"",0]";
  63. };
  64.  
  65. class PPf {
  66. condition = "this animationPhase ""PP"" <= 0.5";
  67. displayName = "<t color='#0094ff'>Feux de route (K)</t>";
  68. onlyForPlayer = 0;
  69. position = "drivewheel";
  70. radius = 2;
  71. shortcut = "compass";
  72. statement = "this animate [""PP"",1]";
  73. };
  74.  
  75. class Siren_off {
  76. condition = "(side player != civilian) && player IN this && (this getVariable ['chsiren',0]) == 1";
  77. displayName = "<t color='#ff0000'>Sirène OFF (ù)</t>";
  78. onlyForplayer = 0;
  79. position = "drivewheel";
  80. radius = 1;
  81. shortcut = "sitDown";
  82. showWindow = 0;
  83. statement = "this setVariable ['chsiren',0,true] && this animate [""btsiren"",0]";
  84. };
  85.  
  86. class Siren_on {
  87. condition = "(side player != civilian) && player IN this && (this getVariable ['chsiren',0]) == 0";
  88. displayName = "<t color='#ff0000'>Sirène ON (ù)</t>";
  89. onlyForplayer = 0;
  90. position = "drivewheel";
  91. radius = 1;
  92. shortcut = "sitDown";
  93. showWindow = 0;
  94. statement = "this setVariable ['chsiren',1,true] && this animate [""btsiren"",1]";
  95. };
  96. };
  97. };
  98. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement