Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class Land_Panics_Portail1
- {
- units[] = {"Panics_Portail1"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {};
- };
- };
- class cfgVehicleClasses
- {
- class Panics_Portail1
- {
- displayName="Panics";
- };
- };
- class CfgVehicles
- {
- class Ruins_F;
- class House;
- class House_F: House{};
- class Land_Panics_Portail1: House_F
- {
- scope = 2;
- scopeCurator = 2;
- simulation="house";
- animated = 1;
- mapSize = 6;
- cost = 5000;
- author = "Panics";
- vehicleClass = "Panics_Portail1";
- displayName = "Panics_Portail1";
- model = "Panics_Portail1\Panics_Portail1.p3d";
- placement="vertical";
- numberOfDoors = 22;
- hiddenSelectionsTextures[] = {};
- class AnimationSources
- {
- class Zeroanimation
- {
- source = "user";
- initPhase = 0;
- animPeriod = 4;
- sound = "RollDoorsSound";
- };
- class porte
- {
- source = "user";
- initPhase = 0;
- animPeriod = 0.5;
- sound = "GenericDoorsSound";
- };
- class trans
- {
- source = "user";
- initPhase = 0;
- animPeriod = 5;
- Sound = "VaultCombination";
- SoundPosition = "ActionPoint02";
- };
- };
- class UserActions
- {
- class open_door_1
- {
- displayName = "Ouvrir Porte";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "Portailpetit1_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "((this animationPhase 'Door_1') < 0.5) && ((this getVariable ['bis_disabled_Door_1',0]) != 1)";
- statement = "this animate [""door_1"", 1]";
- };
- class close_door_1
- {
- displayName = "Fermer Porte ";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "Portailpetit1_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "this animationPhase ""door_1""==1";
- statement = "this animate [""door_1"", 0]";
- };
- class open_door_2
- {
- displayName = "Ouvrir Porte";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "PorteMacDo2_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "((this animationPhase 'Door_2') < 0.5) && ((this getVariable ['bis_disabled_Door_2',0]) != 1)";
- statement = "this animate [""door_2"", 1]";
- };
- class close_door_2
- {
- displayName = "Fermer Porte ";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "PorteMacDo2_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "this animationPhase ""door_2""==1";
- statement = "this animate [""door_2"", 0]";
- };
- class open_door_3
- {
- displayName = "Ouvrir Porte";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "PorteMacDo3_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "((this animationPhase 'Door_3') < 0.5) && ((this getVariable ['bis_disabled_Door_3',0]) != 1)";
- statement = "this animate [""door_3"", 1]";
- };
- class close_door_3
- {
- displayName = "Fermer Porte ";
- displayNameDefault = "<img image='\Panics_Portail1\texture\Logo_porte' size='3' shadow='false' />";
- position = "PorteMacDo3_Trigger";
- radius = 2;
- onlyForplayer = "false";
- condition = "this animationPhase ""door_3""==1";
- statement = "this animate [""door_3"", 0]";
- };
- };
- };
- actionBegin1 = "open_Door_01";
- actionEnd1 = "open_Door_01";
- actionBegin2 = "open_Door_02";
- actionEnd2 = "open_Door_02";
- actionBegin3 = "open_Door_03";
- actionEnd3 = "open_Door_03";
- };
- };
- //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement