Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class Tutorial_Cube
- {
- units[] = {"Tutorial_Cube","Tutorial_Cube_Desert"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Structures_F_Items"};
- };
- };
- class CfgVehicles
- {
- class Items_base_F;
- class Tutorial_Cube : Items_base_F
- {
- scope = 2;
- model = "\Tutorial_Cube\Tutorial_Cube.p3d";
- displayName = "Woodland Box";
- vehicleClass = "small_items";
- class AnimationSources
- {
- class BoxLidRotation
- {
- source = "user";
- initPhase = 0;
- animPeriod = 2;
- };
- };
- class UserActions
- {
- class openLid
- {
- displayName = "Open Lid";
- position = "actionPoint";
- radius = 10;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""BoxLidRotation"",1];";
- };
- class closeLid
- {
- displayName = "Close Lid";
- position = "actionPoint";
- radius = 10;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""BoxLidRotation"",0];";
- };
- };
- hiddenSelections[] = {"colour"};
- };
- class Tutorial_Cube_Desert : Tutorial_Cube
- {
- displayName = "Desert Box";
- hiddenSelectionTextures[] = {"Tutorial_Cube\cube_desert_co.paa"};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement