Guest User

Untitled

a guest
Aug 25th, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.35 KB | None | 0 0
  1. @name Holo Wings
  2. @inputs
  3. @outputs
  4. @persist
  5. @trigger
  6. if(first()){
  7. entity():setAlpha(0)
  8. Target = owner()
  9. A = Target:attachmentPos("chest")
  10. AA = Target:attachmentAng("chest")
  11. #left wing, lower feather
  12. holoCreate(1)
  13. holoModel(1,"hqicosphere2")
  14. holoAng(1,AA)
  15. holoPos(1,A)
  16. holoScale(1,vec(4,1,1.6))
  17. holoColor(1,vec(255,255,255))
  18. holoMaterial(1,"models/debug/shiny")
  19. holoPos(1,holoEntity(1):toWorld(vec(-22,12,-5)))
  20. holoAng(1,holoEntity(1):toWorld(ang(90,-40,-40)))
  21.  
  22. #Wing Stalk Right
  23. holoCreate(2)
  24. holoModel(2,"hqicosphere2")
  25. holoAng(2,AA)
  26. holoPos(2,A)
  27. holoScale(2,vec(2,0.5,0.5))
  28. holoColor(2,vec(255,255,255))
  29. holoMaterial(2,"models/debug/shiny")
  30. holoPos(2,holoEntity(2):toWorld(vec(-10,4.9,4)))
  31. holoAng(2,holoEntity(2):toWorld(ang(35,-30,45)))
  32. holoParentAttachment(2,Target,"chest")
  33.  
  34. #left wing upper feather
  35. holoCreate(3)
  36. holoModel(3,"hqicosphere2")
  37. holoAng(3,AA)
  38. holoPos(3,A)
  39. holoScale(3,vec(4,1,1.6))
  40. holoColor(3,vec(255,255,255))
  41. holoMaterial(3,"models/debug/shiny")
  42. holoPos(3,holoEntity(3):toWorld(vec(-30,12,-3)))
  43. holoAng(3,holoEntity(3):toWorld(ang(120,-10,10)))
  44.  
  45. #right wing, lower feather
  46. holoCreate(4)
  47. holoModel(4,"hqicosphere2")
  48. holoAng(4,AA)
  49. holoPos(4,A)
  50. holoScale(4,vec(4,1,1.6))
  51. holoColor(4,vec(255,255,255))
  52. holoMaterial(4,"models/debug/shiny")
  53. holoPos(4,holoEntity(4):toWorld(vec(-22,-12,-5)))
  54. holoAng(4,holoEntity(4):toWorld(ang(90,40,40)))
  55. holoParentAttachment(4,Target,"chest")
  56.  
  57. #wing stalk Left
  58. holoCreate(5)
  59. holoModel(5,"hqicosphere2")
  60. holoAng(5,AA)
  61. holoPos(5,A)
  62. holoScale(5,vec(2,0.5,0.5))
  63. holoColor(5,vec(255,255,255))
  64. holoMaterial(5,"models/debug/shiny")
  65. holoPos(5,holoEntity(5):toWorld(vec(-10,-4.9,4)))
  66. holoAng(5,holoEntity(5):toWorld(ang(35,30,-95)))
  67. holoParentAttachment(5,Target,"chest")
  68.  
  69. #right wing, upper feather
  70. holoCreate(6)
  71. holoModel(6,"hqicosphere2")
  72. holoAng(6,AA)
  73. holoPos(6,A)
  74. holoScale(6,vec(4,1,1.6))
  75. holoColor(6,vec(255,255,255))
  76. holoMaterial(6,"models/debug/shiny")
  77. holoPos(6,holoEntity(6):toWorld(vec(-30,-12.9,-3)))
  78. holoAng(6,holoEntity(6):toWorld(ang(120,10,10)))
  79. holoParentAttachment(6,Target,"chest")
  80.  
  81. holoParent(1,holoEntity(5))
  82. holoParent(3,holoEntity(5))
  83. holoParent(2,holoEntity(4))
  84. holoParent(6,holoEntity(4))
  85. }
  86. holoVisible(1,Target,0)
  87. holoVisible(2,Target,0)
  88. holoVisible(3,Target,0)
  89. holoVisible(4,Target,0)
  90. holoVisible(5,Target,0)
  91. holoVisible(6,Target,0)
Add Comment
Please, Sign In to add comment