Advertisement
Guest User

Untitled

a guest
Aug 4th, 2015
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.33 KB | None | 0 0
  1. class CfgPatches
  2. {
  3. class Tutorial_Cube
  4. {
  5. units[] = {"Tutorial_Cube","Tutorial_Cube_Desert"};
  6. weapons[] = {};
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Structures_F_Items"};
  9. };
  10. };
  11.  
  12. class CfgVehicles
  13. {
  14. class Items_base_F;
  15. class Tutorial_Cube : Items_base_F
  16. {
  17. scope = 2;
  18. model = "\Tutorial_Cube\Tutorial_Cube.p3d";
  19. displayName = "Woodland Box";
  20. vehicleClass = "small_items";
  21.  
  22. class AnimationSources
  23. {
  24. class BoxLidRotation
  25. {
  26. source = "user";
  27. initPhase = 0;
  28. animPeriod = 2;
  29. };
  30. };
  31.  
  32. class UserActions
  33. {
  34. class openLid
  35. {
  36. displayName = "Open Lid";
  37. position = "actionPoint";
  38. radius = 10;
  39. onlyForPlayer = 0;
  40. showWindow = 0;
  41. condition = true;
  42. statement = "this animate [""BoxLidRotation"",1];";
  43. };
  44.  
  45. class closeLid
  46. {
  47. displayName = "Close Lid";
  48. position = "actionPoint";
  49. radius = 10;
  50. onlyForPlayer = 0;
  51. showWindow = 0;
  52. condition = true;
  53. statement = "this animate [""BoxLidRotation"",0];";
  54. };
  55. };
  56.  
  57. hiddenSelections[] = {"colour"};
  58. };
  59.  
  60. class Tutorial_Cube_Desert : Tutorial_Cube
  61. {
  62. displayName = "Desert Box";
  63. hiddenSelectionTextures[] = {"Tutorial_Cube\cube_desert_co.paa"};
  64. };
  65. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement