Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches{
- class jf_sheriff_station
- {
- units[] = {"land_sheriffstation"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Data_F", "sl_client"};
- };
- };
- class CfgVehicleClasses
- {
- class SL_Buildings
- {
- displayName = "StanLakeside.pl Buildings";
- };
- };
- class CfgVehicles
- {
- class House;
- class House_f: House
- {
- class DestructionEffects;
- };
- class land_sheriffstation: House_f
- {
- displayName = "Sheriffs Office Station";
- textSingular = "Sheriffs Office Station";
- author = "Jeffrey";
- model = "\jf_sheriff_station\sheriff_station\jf_sheriff_station.p3d";
- placement = "vertical";
- scope = 2;
- cost = 100;
- mapSize = 12;
- vehicleClass = "SL_Buildings";
- animated = 1;
- armor=999999;
- class DestructionEffects
- {
- };
- class AnimationSources
- {
- class door_1
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class oneanimation
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "VaultRotate";
- };
- class door_3
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class door_garage
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class door_6
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class door_7
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class door_8
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_9
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_10
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_11
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_12
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_13
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_14
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class door_15
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GenericDoorsSound";
- };
- class cell1
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class cell2
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class cell3
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- class cell4
- {
- source = "user";
- animPeriod = 1;
- initPhase = 0;
- sound = "GlassServoDoorsSound";
- };
- };
- class UserActions
- {
- class open_door8
- {
- displayName = "Open Garage";
- position = "Interact8";
- radius = 5;
- onlyForplayer = "true";
- condition = "((this animationPhase 'Door8') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""Door8"", 1]";
- };
- class close_door8
- {
- displayName = "Close Garage";
- position = "Interact8";
- radius = 5;
- onlyForplayer = "true";
- condition = "((this animationPhase 'Door8') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""Door8"", 0]";
- };
- class open_doors_front
- {
- displayName = "Open Front Doors";
- position = "doors_front";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_1') < 0.5)";
- statement = "this animate [""door_1"", 1]";
- };
- class close_doors_front
- {
- displayName = "Close Front Doors";
- position = "doors_front";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_1') == 1)";
- statement = "this animate [""door_1"", 0]";
- };
- class open_doors_lobby
- {
- displayName = "Open Lobby Doors";
- position = "doors_lobby";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_3') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_3"", 1]";
- };
- class close_doors_lobby
- {
- displayName = "Close Lobby Doors";
- position = "doors_lobby";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_3') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_3"", 0]";
- };
- class open_garage_door
- {
- displayName = "Open Garage Door";
- position = "door_garage";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_garage') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_garage"", 1]";
- };
- class close_garage_door
- {
- displayName = "Close Garage Door";
- position = "door_garage";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_garage') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_garage"", 0]";
- };
- class open_door_6
- {
- displayName = "Open Door";
- position = "door_6_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_6') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_6"", 1]";
- };
- class close_door_6
- {
- displayName = "Close Door";
- position = "door_6_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_6') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_6"", 0]";
- };
- class open_door_7
- {
- displayName = "Open Door";
- position = "door_7_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_7') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_7"", 1]";
- };
- class close_door_7
- {
- displayName = "Close Door";
- position = "door_7_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_7') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_7"", 0]";
- };
- class open_door_8
- {
- displayName = "Open Door";
- position = "door_8_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_8') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_8"", 1]";
- };
- class close_door_8
- {
- displayName = "Close Door";
- position = "door_8_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_8') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_8"", 0]";
- };
- class open_door_9
- {
- displayName = "Open Door";
- position = "door_9_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_9') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_9"", 1]";
- };
- class close_door_9
- {
- displayName = "Close Door";
- position = "door_9_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_9') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_9"", 0]";
- };
- class open_door_10
- {
- displayName = "Open Door";
- position = "door_10_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_10') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_10"", 1]";
- };
- class close_door_10
- {
- displayName = "Close Door";
- position = "door_10_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_10') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_10"", 0]";
- };
- class open_door_11
- {
- displayName = "Open Door";
- position = "door_11_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_11') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_11"", 1]";
- };
- class close_door_11
- {
- displayName = "Close Door";
- position = "door_11_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_11') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_11"", 0]";
- };
- class open_door_12
- {
- displayName = "Open Door";
- position = "door_12_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_12') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_12"", 1]";
- };
- class close_door_12
- {
- displayName = "Close Door";
- position = "door_12_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_12') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_12"", 0]";
- };
- class open_door_13
- {
- displayName = "Open Door";
- position = "door_13_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_13') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_13"", 1]";
- };
- class close_door_13
- {
- displayName = "Close Door";
- position = "door_13_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_13') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_13"", 0]";
- };
- class open_door_14
- {
- displayName = "Open Door";
- position = "door_14_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_14') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_14"", 1]";
- };
- class close_door_14
- {
- displayName = "Close Door";
- position = "door_14_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_14') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_14"", 0]";
- };
- class open_door_15
- {
- displayName = "Open Door";
- position = "door_15_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_15') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_15"", 1]";
- };
- class close_door_15
- {
- displayName = "Close Door";
- position = "door_15_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'door_15') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""door_15"", 0]";
- };
- class open_cell1
- {
- displayName = "Open Cell";
- position = "cell1_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell1') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell1"", 1]";
- };
- class close_cell1
- {
- displayName = "Close Cell";
- position = "cell1_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell1') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell1"", 0]";
- };
- class open_cell2
- {
- displayName = "Open Cell";
- position = "cell2_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell2') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell2"", 1]";
- };
- class close_cell2
- {
- displayName = "Close Cell";
- position = "cell2_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell2') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell2"", 0]";
- };
- class open_cell3
- {
- displayName = "Open Cell";
- position = "cell3_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell3') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell3"", 1]";
- };
- class close_cell3
- {
- displayName = "Close Cell";
- position = "cell3_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell3') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell3"", 0]";
- };
- class open_cell4
- {
- displayName = "Open Cell";
- position = "cell4_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell4') < 0.5) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell4"", 1]";
- };
- class close_cell4
- {
- displayName = "Close Cell";
- position = "cell4_pos";
- radius = 2;
- onlyForplayer = "true";
- condition = "((this animationPhase 'cell4') == 1) && ((player getVariable ['copLevel',0]) > 0)";
- statement = "this animate [""cell4"", 0]";
- };
- };
- };
- };
- //};
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement