Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class CfgPatches
- {
- class Steinburg_Pack1
- {
- units[] = {"steinburg_carpark","steinburg_modernbillboard","steinburg_ffwellenkamp"};
- weapons[] = {};
- requiredVersion = 0.1;
- requiredAddons[] = {"A3_Structures_F"};
- };
- };
- class CfgVehicles
- {
- class All{};
- class Static: All{};
- class Building: Static{};
- class NonStrategic: Building{};
- class TargetTraining: NonStrategic{};
- class TargetGrenade: TargetTraining{};
- class House_F;
- class steinburg_carpark : House_F
- {
- scope = 2;
- model = "steinburg_pack1\steinburg_carpark.p3d";
- displayName = "Carpark";
- editorCategory = "Steinburg_category";
- editorSubcategory = "Steinburg_subcategory";
- vehicleClass = "Steinburg_Addon";
- picture = "steinburg_pack1\stuff\steinburg_icon.paa";
- icon = "steinburg_pack1\stuff\steinburg_icon.paa";
- };
- class steinburg_modernbillboard : House_F
- {
- scope = 2;
- model = "steinburg_pack1\steinburg_modernbillboard.p3d";
- displayName = "Modern Billboard";
- editorCategory = "Steinburg_category";
- editorSubcategory = "Steinburg_subcategory";
- vehicleClass = "Steinburg_Addon";
- picture = "steinburg_pack1\stuff\steinburg_icon.paa";
- icon = "steinburg_pack1\stuff\steinburg_icon.paa";
- };
- class steinburg_ffwellenkamp : House_F
- {
- scope = 2;
- model = "steinburg_pack1\steinburg_ffwellenkamp.p3d";
- displayName = "Firestation Itzehoe Wellenkamp";
- editorCategory = "Steinburg_category";
- editorSubcategory = "Steinburg_subcategory";
- vehicleClass = "Steinburg_Addon";
- picture = "steinburg_pack1\stuff\steinburg_icon.paa";
- icon = "steinburg_pack1\stuff\steinburg_icon.paa";
- class AnimationSources
- {
- class DoorRotation
- {
- source = "user";
- initPhase = 0;
- animPeriod = 1;
- sound = "GenericDoorsSound";
- };
- class GarageDoorRotation
- {
- source = "user";
- initPhase = 0;
- animPeriod = 4;
- sound = "SteinburgGarageDoorRotation";
- };
- };
- class UserActions
- {
- class DoorFrontOpen
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- displayName = "Open Door";
- position = "DoorFrontAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""DoorFrontRotation"", 1];";
- };
- class DoorFrontClose
- {
- displayName = "Close Door";
- position = "DoorFrontAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""DoorFrontRotation"", 0];";
- };
- class DoorBackOpen
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- displayName = "Open Door";
- position = "DoorBackAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""DoorBackRotation"", 1];";
- };
- class DoorBackClose
- {
- displayName = "Close Door";
- position = "DoorBackAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""DoorBackRotation"", 0];";
- };
- class Gate1Open
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- displayName = "Open Gate 1";
- position = "GatesAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""Gate1Rotation"", 1];";
- };
- class Gate1Close
- {
- displayName = "Close Gate 1";
- position = "GatesAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""Gate1Rotation"", 0];";
- };
- class Gate2Open
- {
- displayNameDefault = "<img image='\A3\Ui_f\data\IGUI\Cfg\Actions\open_door_ca.paa' size='2.5' />";
- displayName = "Open Gate 2";
- position = "GatesAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""Gate2Rotation"", 1];";
- };
- class Gate2Close
- {
- displayName = "Close Gate 2";
- position = "GatesAction"
- radius = 1.5;
- onlyForPlayer = 0;
- showWindow = 0;
- condition = true;
- statement = "this animate [""Gate2Rotation"", 0];";
- };
- };
- };
- };
- class CfgAnimationSourceSounds
- {
- class SteinburgGarageDoorRotation
- {
- class DoorMovement
- {
- loop = 0;
- terminate = 1;
- trigger = "(phase factor[0.05,0.10]) * (phase factor[0.95,0.9])";
- sound0[] = {"steinburg_pack1\Sounds\electrical_gate.ogg",0.5,1.0};
- sound[] = {"sound0",1};
- };
- };
- };
- class CfgSkeletons
- {
- class Default
- {
- isDiscrete = 1;
- skeletonInherit = "";
- skeletonBones[] = {};
- };
- class FFWellenkamp_bones : Default
- {
- skeletonInherit = "Default";
- skeletonBones[]=
- {
- "DoorFront",
- "",
- "DoorBack",
- "",
- "Gate1",
- "",
- "Gate2",
- ""
- };
- };
- };
- class CfgModels
- {
- class Default
- {
- sectionInherit = "";
- sections[] = {};
- skeletonName = "";
- };
- class steinburg_ffwellenkamp : Default
- {
- sections[] = {};
- skeletonName = "FFWellenkamp_bones"
- class Animations
- {
- class DoorFrontRotation
- {
- type="rotation";
- source="DoorRotation";
- selection="DoorFront";
- axis="DoorFrontPos";
- memory=1;
- minValue=0;
- maxValue=1;
- animPeriod=0;
- angle0=0;
- angle1="rad -100";
- };
- class DoorBackRotation
- {
- type="rotation";
- source="DoorRotation";
- selection="DoorBack";
- axis="DoorBackPos";
- memory=1;
- minValue=0;
- maxValue=1;
- animPeriod=0;
- angle0=0;
- angle1="rad -100";
- };
- class Gate1Rotation
- {
- type="rotation";
- source="GarageDoorRotation";
- selection="Gate1";
- axis="Gate1Pos";
- memory=1;
- minValue=0;
- maxValue=1;
- animPeriod=0;
- angle0=0;
- angle1="rad -90";
- };
- class Gate2Rotation
- {
- type="rotation";
- source="GarageDoorRotation";
- selection="Gate2";
- axis="Gate2Pos";
- memory=1;
- minValue=0;
- maxValue=1;
- animPeriod=0;
- angle0=0;
- angle1="rad -90";
- };
- };
- };
- };
Add Comment
Please, Sign In to add comment