Advertisement
Guest User

Untitled

a guest
Feb 25th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.06 KB | None | 0 0
  1. class Land_DR_Church: House_F
  2. {
  3. scope = 2;
  4. displayName = "Church";
  5. editorCategory = dr_BASE;
  6. vehicleClass = dr_Buildings;
  7. editorSubcategory = dr_Buildings;
  8. model = \dr_buildings\dr_church.p3d;
  9. mapSize = 20.27;
  10. cost = 40000;
  11. author = "Anton Peters";
  12.  
  13. class AnimationSources
  14. {
  15. class Doors
  16. {
  17. source = user;
  18. initPhase = 0;
  19. animPeriod = 2;
  20. sound = "GenericDoorsSound";
  21. };
  22. };
  23.  
  24. class UserActions
  25. {
  26. class OpenDoor1
  27. {
  28. displayNameDefault = "<img image='\dr_buildings\data\open_Door_ca.paa' size='2.5' />";
  29. displayName = "Open Door";
  30. position = Door1_trigger;
  31. priority = 0.4;
  32. radius = 1.5;
  33. onlyForPlayer = false;
  34. condition = ((this animationPhase 'Door1_rot') < 0.5);
  35. statement = (this animate ['Door1_rot', 1]);
  36. };
  37. class CloseDoor1: OpenDoor1
  38. {
  39. displayName = "Close Door";
  40. priority = 0.2;
  41. condition = ((this animationPhase 'Door1_rot') >= 0.5);
  42. statement = (this animate ['Door1_rot', 0]);
  43. };
  44. };
  45. numberOfDoors = 2;
  46. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement