Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Land_DR_Church: House_F
- {
- scope = 2;
- displayName = "Church";
- editorCategory = dr_BASE;
- vehicleClass = dr_Buildings;
- editorSubcategory = dr_Buildings;
- model = \dr_buildings\dr_church.p3d;
- mapSize = 20.27;
- cost = 40000;
- author = "Anton Peters";
- class AnimationSources
- {
- class Doors
- {
- source = user;
- initPhase = 0;
- animPeriod = 2;
- sound = "GenericDoorsSound";
- };
- };
- class UserActions
- {
- class OpenDoor1
- {
- displayNameDefault = "<img image='\dr_buildings\data\open_Door_ca.paa' size='2.5' />";
- displayName = "Open Door";
- position = Door1_trigger;
- priority = 0.4;
- radius = 1.5;
- onlyForPlayer = false;
- condition = ((this animationPhase 'Door1_rot') < 0.5);
- statement = (this animate ['Door1_rot', 1]);
- };
- class CloseDoor1: OpenDoor1
- {
- displayName = "Close Door";
- priority = 0.2;
- condition = ((this animationPhase 'Door1_rot') >= 0.5);
- statement = (this animate ['Door1_rot', 0]);
- };
- };
- numberOfDoors = 2;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement