JumBocKs

JumBocKs config.cpp

Aug 14th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.31 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class autohaus
  4. {
  5. units[] = {};
  6. weapons[] = {};
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Weapons_F"};
  9. };
  10. };
  11. class CfgVehicleClasses
  12. {
  13. class GeileSachen
  14. {
  15. displayName = "Autohaus -Salva";
  16. };
  17. };
  18. class CfgVehicles
  19. {
  20. class Ruins_F;
  21. class House;
  22. class House_F: House
  23. {
  24. };
  25. class autohaus: House_F
  26. {
  27. displayName = "Autohaus -Salva";
  28. textSingular = "autohaus";
  29. author = "JumBocKs";
  30. model = "\AutohausA\AutohausA.p3d";
  31. vehicleClass = "GeileSachen";
  32. placement = "vertical";
  33. scope = 2;
  34. mapSize = 12;
  35. animated = "true";
  36.  
  37. class Hitpoints {};
  38. class MarkerLights
  39. {
  40. class light_1
  41. {
  42. color[] = {1.0, 0.0, 0.0}; /// approximate colour of standard lights
  43. ambient[] = {0.01, 0.0, 0.0}; /// nearly a white one
  44. intensity = 800; /// strength of the light
  45. name = "light1_pos"; /// name of
  46.  
  47. blinking = true; /// lets make it blinking to show how patterns work
  48. blinkingPattern[] = {0.25, 1.0}; // 0.25 s flash, 1.25 s period
  49. blinkingStartsOn = true; /// pattern starts with length of the first flash
  50. blinkingPatternGuarantee = true; /// use this to guarantee all blinks of the patter to be done
  51. /// doesn't guarantee the length of pattern if true
  52. /// (e.g. because of blinks shorter than a frame would take a frame to be seen)
  53.  
  54. useFlare = true; /// does the light use flare?
  55. flareSize = 1.5; /// how big is the flare
  56. flareMaxDistance = 1000; /// how far can you see the flare
  57.  
  58. activeLight = true; /// engine counts this one as an active light into limit of lights
  59. dayLight = false; /// it doesn't shine during the day
  60. drawLight = false; /// doesn't create a specific face for flare
  61.  
  62. aggregateReflectors[] =
  63. {
  64. {"light_1"}
  65. };
  66.  
  67. class Reflectors
  68. {
  69. class light_1
  70. {
  71. color[] = {2500, 4000, 6000};
  72. ambient[] = {2.5,4,6};
  73. intensity = 2;
  74. size = 1; /// size of the light point seen from distance
  75. innerAngle = 100; /// angle of full light
  76. outerAngle = 165; /// angle of some light
  77. coneFadeCoef = 4; /// attenuation of light between the above angles
  78.  
  79. position = "light1_pos"; /// memory point for start of the light and flare
  80. direction = "light1_dir"; /// memory point for the light direction
  81. hitpoint = "light1_hitpoint"; /// point(s) in hitpoint lod for the light (hitPoints are created by engine)
  82. selection = "light_1_hide"; /// selection for artificial glow around the bulb, not much used any more
  83.  
  84. useFlare = true;
  85. flareSize = 2;
  86. flareMaxDistance = 130;
  87.  
  88. class Attenuation
  89. {
  90. start = 0;
  91. constant = 0;
  92. linear = 0;
  93. quadratic = 0.3;
  94.  
  95. hardLimitStart = 50;
  96. hardLimitEnd = 65;
  97. };
  98. };
  99. };
  100. };
  101. };
  102. class AnimationSources {
  103. class Zeroanimation
  104. {
  105. source = "user";
  106. animPeriod = 0;
  107. initPhase = 0;
  108. sound = "GenericDoorsSound";
  109. };
  110. class oneanimation
  111. {
  112. source = "user";
  113. animPeriod = 0.5;
  114. initPhase = 0;
  115. sound = "GlassServoDoorsSound";
  116. };
  117. class burodoor1: oneanimation{};
  118. class burodoor2: oneanimation{};
  119. class burodoor3: oneanimation{};
  120. class burodoor4: oneanimation{};
  121. class garagedoor: oneanimation{};
  122. class threeanimation
  123. {
  124. source = "user";
  125. animPeriod = 2;
  126. initPhase = 0;
  127. sound = "RollDoorsSound";
  128. };
  129. class garage: threeanimation {};
  130. class bigdoor1: threeanimation{};
  131. class bigdoor2: threeanimation{};
  132. class slidedoor1: threeanimation{};
  133. class slidedoor2: threeanimation{};
  134. };
  135. //WAFFELREZEPT
  136. //Zutaten
  137. //100 g Zucker
  138. //100 g Butter
  139. //100 ml Sahne
  140. //3 Ei(er)
  141. //50 g Zucker
  142. //175 g Mehl
  143. //1 Pck. Puddingpulver (Vanille)
  144. //2 TL Backpulver
  145. //1 Schuss Mineralwasser
  146. //1 Prise(n) Salz
  147.  
  148. //Die Butter in einen kleinen Topf geben und auf mittlerer Hitze etwas schmelzen lassen. 100 g Zucker dazugeben und unter Rühren aufkochen. Mit der Sahne ablöschen und 10-15 Minuten auf niedriger Stufe köcheln lassen, dabei gelegentlich umrühren. Anschließend Topf vom Herd nehmen und etwas abkühlen lassen.//
  149.  
  150. //Inzwischen das Mehl mit Backpulver, Puddingpulver und einer Prise Salz vermischen. Die Eier und 50 g Zucker mit einem Schneebesen schaumig schlagen. Die leicht karamellisierte Buttersahne hinzugießen und unterrühren. Schließlich die Mehlmischung hinzufügen und so lange kräftig rühren, bis eine glatte Masse entsteht. Dann noch einen Schuss Mineralwasser dazugeben (ungefähr 50 ml).//
  151.  
  152. //Den Teig in einem heißen Waffeleisen auf hoher Stufe portionsweise ausbacken.//
  153.  
  154. //Reicht für ca. 10 Waffeln.//
  155.  
  156. // Guten Hunger! //
  157.  
  158.  
  159.  
  160.  
  161. class UserActions {
  162. class Open_Garage
  163. {
  164. displayName = "Garage öffnen";
  165. onlyforplayer = "true";
  166. position = "interactiongarage";
  167. radius = 2;
  168. condition = "this animationPhase ""garage"" < 0.5";
  169. statement = "this animate [""garage"", 3.1];";
  170. };
  171.  
  172. class Close_Garage : Open_Garage
  173. {
  174. displayName = "Garage schließen";
  175. condition = "this animationPhase ""garage"" > 0.5";
  176. statement = "this animate [""garage"", 0];";
  177. };
  178. class Open_Garagedoor
  179. {
  180. displayName = "Tür öffnen";
  181. onlyforplayer = "true";
  182. position = "interactiongarage";
  183. radius = 2;
  184. condition = "this animationPhase ""garagedoor"" < 0.5";
  185. statement = "this animate [""garagedoor"", 10];";
  186. };
  187.  
  188. class Close_Garagedoor : Open_Garagedoor
  189. {
  190. displayName = "Tür schließen";
  191. condition = "this animationPhase ""garagedoor"" > 0.5";
  192. statement = "this animate [""garagedoor"", 0];";
  193. };
  194. class Open_Bigdoor1
  195. {
  196. displayName = "Schiebetür öffnen";
  197. onlyforplayer = "true";
  198. position = "bigdoor1";
  199. radius = 2;
  200. condition = "this animationPhase ""bigdoor1"" < 0.5";
  201. statement = "this animate [""bigdoor1"", 6];";
  202. };
  203.  
  204. class Close_Bigdoor1 : Open_Bigdoor1
  205. {
  206. displayName = "Schiebetür schließen";
  207. condition = "this animationPhase ""bigdoor1"" > 0.5";
  208. statement = "this animate [""bigdoor1"", 0];";
  209. };
  210. class Open_Bigdoor2
  211. {
  212. displayName = "Schiebetür öffnen";
  213. onlyforplayer = "true";
  214. position = "bigdoor2";
  215. radius = 2;
  216. condition = "this animationPhase ""bigdoor2"" < 0.5";
  217. statement = "this animate [""bigdoor2"", 5];";
  218. };
  219.  
  220. class Close_Bigdoor2 : Open_Bigdoor2
  221. {
  222. displayName = "Schiebetür schließen";
  223. condition = "this animationPhase ""bigdoor2"" > 0.5";
  224. statement = "this animate [""bigdoor2"", 0];";
  225. };
  226. class Open_Burodoor1
  227. {
  228. displayName = "Bürotür öffnen";
  229. onlyforplayer = "true";
  230. position = "interaction1";
  231. radius = 2;
  232. condition = "this animationPhase ""burodoor1"" < 0.5";
  233. statement = "this animate [""burodoor1"", 10];";
  234. };
  235.  
  236. class Close_Burodoor1 : Open_Burodoor1
  237. {
  238. displayName = "Bürotür schließen";
  239. condition = "this animationPhase ""burodoor1"" > 0.5";
  240. statement = "this animate [""burodoor1"", 0];";
  241. };
  242. class Open_Burodoor2
  243. {
  244. displayName = "Bürotür öffnen";
  245. onlyforplayer = "true";
  246. position = "interaction2";
  247. radius = 2;
  248. condition = "this animationPhase ""burodoor2"" < 0.5";
  249. statement = "this animate [""burodoor2"", 10];";
  250. };
  251.  
  252. class Close_Burodoor2 : Open_Burodoor2
  253. {
  254. displayName = "Bürotür schließen";
  255. condition = "this animationPhase ""burodoor2"" > 0.5";
  256. statement = "this animate [""burodoor2"", 0];";
  257. };
  258. class Open_Burodoor3
  259. {
  260. displayName = "Bürotür öffnen";
  261. onlyforplayer = "true";
  262. position = "interaction3";
  263. radius = 2;
  264. condition = "this animationPhase ""burodoor3"" < 0.5";
  265. statement = "this animate [""burodoor3"", 10];";
  266. };
  267.  
  268. class Close_Burodoor3 : Open_Burodoor3
  269. {
  270. displayName = "Bürotür schließen";
  271. condition = "this animationPhase ""burodoor3"" > 0.5";
  272. statement = "this animate [""burodoor3"", 0];";
  273. };
  274. class Open_Burodoor4
  275. {
  276. displayName = "Bürotür öffnen";
  277. onlyforplayer = "true";
  278. position = "interaction4";
  279. radius = 2;
  280. condition = "this animationPhase ""burodoor4"" < 0.5";
  281. statement = "this animate [""burodoor4"", 10];";
  282. };
  283.  
  284. class Close_Burodoor4 : Open_Burodoor4
  285. {
  286. displayName = "Bürotür schließen";
  287. condition = "this animationPhase ""burodoor4"" > 0.5";
  288. statement = "this animate [""burodoor4"", 0];";
  289. };
  290. class Close_Slidedoor
  291. {
  292. displayName = "Eingangstür schließen";
  293. onlyforplayer = "true";
  294. position = "slidedoorinteraction";
  295. radius = 3;
  296. condition = "this animationPhase ""slidedoor1"" < 0.5";
  297. statement = "this animate [""slidedoor1"", 0.55];this animate [""slidedoor2"", -0.62];";
  298. };
  299.  
  300. class Open_Slidedoor : Close_Slidedoor
  301. {
  302. displayName = "Eingangstür öffnen";
  303. condition = "this animationPhase ""slidedoor1"" > 0.5";
  304. statement = "this animate [""slidedoor1"", 0];this animate [""slidedoor2"", 0];";
  305. };
  306.  
  307.  
  308. };
  309. };
  310. };
Advertisement
Add Comment
Please, Sign In to add comment