Advertisement
Guest User

Untitled

a guest
Jul 17th, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.66 KB | None | 0 0
  1. class CfgPatches // definiert mod
  2. {
  3. class Vx9_Osterei // Beschreibung, Titel, Zugehörigkeit, Tag
  4. {
  5. units[] = {"Osterei"}; // z.b Objeke/Einheiten
  6. weapons[] = {}; // z.b. Waffen
  7. requiredVersion = 0.1;
  8. requiredAddons[] = {"A3_Structures_F_Items"};
  9. };
  10. };
  11.  
  12. class CfgVehicles // Vehicles: sind ALLE Objekte auch Spieler
  13. {
  14. class Items_base_F;
  15. class Osterei : Items_base_F // Vx9_Osterei muss gleich mit dem sein was bei units steht!
  16. {
  17. scope = 2; // = 2 im editor plazierbar / = 1 sowas wie häuser nicht plazierbar aber vorhanden
  18. model = "\Osterei\osterei.p3d"; // "\das was in class steht\modell.p3d"; ( bei mir Osterei)
  19. displayName = "Osterei";
  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 = "Ei oeffnen";
  37. position = "actionPoint";
  38. radius = 3;
  39. onlyForPlayer = 0;
  40. showWindow = 0;
  41. condition = true; //z.b zum definieren ob es einen Schlüssel gibt
  42. statement = "this animate [""BoxLidRotation"", 1];";
  43. };
  44.  
  45. class closeLid
  46. {
  47. displayName = "Zu den Scheiß";
  48. position = "actionPoint";
  49. radius = 3;
  50. onlyForPlayer = 0;
  51. showWindow = 0;
  52. condition = true;
  53. statement = "this animate [""BoxLidRotation"", 0];";
  54. };
  55. };
  56. };
  57. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement