Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches // definiert mod
- {
- class Vx9_Osterei // Beschreibung, Titel, Zugehörigkeit, Tag
- {
- units[] = {"Osterei"}; // z.b Objeke/Einheiten
- weapons[] = {}; // z.b. Waffen
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Structures_F_Items"};
- };
- };
- class CfgVehicles // Vehicles: sind ALLE Objekte auch Spieler
- {
- class Items_base_F;
- class Osterei : Items_base_F // Vx9_Osterei muss gleich mit dem sein was bei units steht!
- {
- scope = 2; // = 2 im editor plazierbar / = 1 sowas wie häuser nicht plazierbar aber vorhanden
- model = "\Osterei\osterei.p3d"; // "\das was in class steht\modell.p3d"; ( bei mir Osterei)
- displayName = "Osterei";
- vehicleClass = "small_items";
- class AnimationSources
- {
- class BoxLidRotation
- {
- source = "user";
- initPhase = 0;
- animPeriod = 2;
- };
- };
- class UserActions
- {
- class openLid
- {
- displayName = "Ei oeffnen";
- position = "actionPoint";
- radius = 3;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true; //z.b zum definieren ob es einen Schlüssel gibt
- statement = "this animate [""BoxLidRotation"", 1];";
- };
- class closeLid
- {
- displayName = "Zu den Scheiß";
- position = "actionPoint";
- radius = 3;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""BoxLidRotation"", 0];";
- };
- };
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement