Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class sg_courthouse
- {
- units[] =
- {
- "sg_courthouse"
- };
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[]= {};
- };
- };
- class CfgEditorCategories
- {
- class SG_Buidlings
- {
- displayname = "SG Buildings";
- };
- };
- class CfgEditorSubcategories
- {
- class Courthouse
- {
- displayName = "Courthouse";
- };
- };
- class CfgVehicles
- {
- class ThingX;
- class Building;
- class Strategic;
- class Items_base_F;
- class sonnen_base: Items_base_F
- {
- scope = 0;
- model = "\sg_courthouse\sg_courthouse.p3d";
- mapSize = 1;
- destrType = "DestructNo";
- nameSound = "";
- accuracy = 1000;
- camouflage = 0.6;
- threat[] = {0,0,0};
- ladders[] = {};
- animated = 1;
- cost = 0;
- armor = 999999;
- };
- class sg_courthouse: sonnen_base
- {
- scope = 2;
- picture = "\sg_courthouse\data\SonnengrabenIcon_co.paa";
- icon = "\sg_courthouse\data\SGIcon_ca.paa";
- displayName = "SG Courthouse";
- editorCategory = "SG_Buidlings";
- editorSubcategory = "Courthouse";
- class AnimationSources
- {
- class door_func
- {
- source = "user";
- animPeriod = 1;
- initPhase=0;
- };
- };
- class MarkerLights{};
- class UserActions
- {
- class OpenFDoor
- {
- displayName="Open door";
- position="ACTION_FDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatefdoorl"" < 0.5";
- statement="this animate [""animatefdoorl"",1], this animate [""animatefdoorr"",1]";
- };
- class CloseFDoor
- {
- displayName="Close door";
- position="ACTION_FDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatefdoorl"" == 1";
- statement="this animate [""animatefdoorl"",0], this animate [""animatefdoorr"",0]";
- };
- class OpenRoomDoor
- {
- displayName="Open door";
- position="ACTION_Room";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animateroomdoorl"" < 0.5";
- statement="this animate [""animateroomdoorl"",1], this animate [""animateroomdoorr"",1]";
- };
- class CloseRoomDoor
- {
- displayName="Close door";
- position="ACTION_Room";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animateroomdoorl"" == 1";
- statement="this animate [""animateroomdoorl"",0], this animate [""animateroomdoorr"",0]";
- };
- class OpenCourtDoor
- {
- displayName="Open door";
- position="ACTION_CourtDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatecourtdoorl"" < 0.5";
- statement="this animate [""animatecourtdoorl"",1], this animate [""animatecourtdoorr"",1]";
- };
- class CloseCourtDoor
- {
- displayName="Close door";
- position="ACTION_CourtDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatecourtdoorl"" == 1";
- statement="this animate [""animatecourtdoorl"",0], this animate [""animatecourtdoorr"",0]";
- };
- class OpenSenatorDoor
- {
- displayName="Open door";
- position="ACTION_SenatorDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatesenatordoorl"" < 0.5";
- statement="this animate [""animatesenatordoorl"",1], this animate [""animatesenatordoorr"",1]";
- };
- class CloseSenatorDoor
- {
- displayName="Close door";
- position="ACTION_SenatorDoor";
- onlyforplayer=0;
- radius=3;
- condition="this animationPhase ""animatesenatordoorl"" == 1";
- statement="this animate [""animatesenatordoorl"",0], this animate [""animatesenatordoorr"",0]";
- };
- class OpenSenatorDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_SenatorDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatesenatordoor2"" < 0.5";
- statement="this animate [""animatesenatordoor2"",1]";
- };
- class CloseSenatorDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_SenatorDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatesenatordoor2"" == 1";
- statement="this animate [""animatesenatordoor2"",0]";
- };
- class OpenJudgeDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_JudgeDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejudgedoor"" < 0.5";
- statement="this animate [""animatejudgedoor"",1]";
- };
- class CloseJudgeDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_JudgeDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejudgedoor"" == 1";
- statement="this animate [""animatejudgedoor"",0]";
- };
- class OpenDefendantDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_DefendantDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatedefendantdoor"" < 0.5";
- statement="this animate [""animatedefendantdoor"",1]";
- };
- class CloseDefendantDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_DefendantDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatedefendantdoor"" == 1";
- statement="this animate [""animatedefendantdoor"",0]";
- };
- class OpenStaffDoor1
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_StaffDoor1";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatestaffdoor1"" < 0.5";
- statement="this animate [""animatestaffdoor1"",1]";
- };
- class CloseStaffDoor1
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_StaffDoor1";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatestaffdoor1"" == 1";
- statement="this animate [""animatestaffdoor1"",0]";
- };
- class OpenStaffDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_StaffDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatestaffdoor2"" < 0.5";
- statement="this animate [""animatestaffdoor2"",1]";
- };
- class CloseStaffDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_StaffDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatestaffdoor2"" == 1";
- statement="this animate [""animatestaffdoor2"",0]";
- };
- class OpenJailDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open cell";
- position="ACTION_JailDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejaildoor"" < 0.5";
- statement="this animate [""animatejaildoor"",1]";
- };
- class CloseJailDoor
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close cell";
- position="ACTION_JailDoor";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejaildoor"" == 1";
- statement="this animate [""animatejaildoor"",0]";
- };
- class OpenJailDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open door";
- position="ACTION_JailDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejaildoor2"" < 0.5";
- statement="this animate [""animatejaildoor2"",1]";
- };
- class CloseJailDoor2
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close door";
- position="ACTION_JailDoor2";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animatejaildoor2"" == 1";
- statement="this animate [""animatejaildoor2"",0]";
- };
- class CloseGarage
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Close garage";
- position="ACTION_Garage";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animategarge"" == 1";
- statement="this animate [""animategarage"",0]";
- };
- class OpenGarage
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- priority = 0.4;
- displayName="Open Garage";
- position="ACTION_Garage";
- onlyforplayer=0;
- radius=2;
- condition="this animationPhase ""animategarge"" < 0.5";
- statement="this animate [""animategarge"",1]";
- };
- };
- class EventHandlers{};
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement