daily pastebin goal
63%
SHARE
TWEET

OFP Functional Building Doors Configuration

Faguss Sep 17th, 2015 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  class Dum02: HousesDatadisk {
  2.   model = "\O\Hous\KBud";
  3.   animated = 1;
  4.   class Animations {
  5.    class Dvere1 {
  6.     type = "rotation";
  7.     animPeriod = 1;
  8.     selection = "dvere1";
  9.     axis = "osa_dvere1";
  10.     angle0 = 0;
  11.     angle1 = -1.6;
  12.    };
  13.   };
  14.   class UserActions {
  15.    class OpenDoors {
  16.     displayName = "$STR_DN_OUT_O_DOOR";
  17.     position = "osa_dvere1";
  18.     radius = 2.5;
  19.     condition = "this animationPhase ""Dvere1"" < 0.5";
  20.     statement = "this animate [""Dvere1"", 1]";
  21.    };
  22.    class CloseDoors {
  23.     displayName = "$STR_DN_OUT_C_DOOR";
  24.     position = "osa_dvere1";
  25.     radius = 2.5;
  26.     condition = "this animationPhase ""Dvere1"" >= 0.5";
  27.     statement = "this animate [""Dvere1"", 0]";
  28.    };
  29.   };
  30.  };
RAW Paste Data
Top