Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.78 KB | None | 0 0
  1. @name
  2. @inputs P:wirelink
  3. @outputs
  4. @persist
  5. @trigger
  6.  
  7. runOnTick(1), E = entity()
  8.  
  9. if (first()|duped()) {
  10. for (I = 0,12) {
  11. holoCreate(I)
  12.  
  13. if (I != 0) {
  14. holoParent(I,0)
  15.  
  16. }
  17. }
  18.  
  19. holoPos(0,E:pos())
  20. holoAng(0,E:angles())
  21.  
  22. holoModel(1,"hq_torus")
  23. holoScale(1,vec(4,10,6))
  24. holoPos(1,E:pos() + E:up()* 18)
  25. holoAng(1,E:angles())
  26.  
  27. holoModel(2,"hq_icosphere")
  28. holoScale(2,vec(3.5,9.5,0.1))
  29. holoPos(2,E:pos() + E:up()* 18)
  30. holoAng(2,E:angles())
  31.  
  32. holoModel(3,"hq_icosphere")
  33. holoScale(3,vec(4,0.1,2))
  34. holoPos(3,E:pos() + E:up()* 18)
  35. holoAng(3,E:angles())
  36.  
  37. holoModel(4,"hq_icosphere")
  38. holoScale(4,vec(4,9,2))
  39. holoPos(4,E:pos() + E:up()* 18)
  40. holoAng(4,E:angles())
  41.  
  42. holoModel(5,"hq_icosphere")
  43. holoScale(5,vec(1,3,1))
  44. holoPos(5,E:pos() + E:up()* -4)
  45. holoAng(5,E:angles())
  46.  
  47. holoModel(6,"hq_icosphere")
  48. holoScale(6,vec(0.2,0.2,2))
  49. holoPos(6,E:pos() + E:up()* 5 + E:right()* 7 + E:forward()* 3) ### HERE
  50. holoAng(6,E:angles())
  51. holoColor(6,vec(70,70,10))
  52.  
  53. holoModel(7,"hq_icosphere")
  54. holoScale(7,vec(0.2,0.2,2))
  55. holoPos(7,E:pos() + E:up()* 5 + E:right()* 7 + E:forward()* -3)
  56. holoAng(7,E:angles())
  57. holoColor(7,vec(70,70,10))
  58.  
  59. holoModel(8,"hq_icosphere")
  60. holoScale(8,vec(0.2,0.2,2))
  61. holoPos(8,E:pos() + E:up()* 5 + E:right()* -5 + E:forward()* 3)
  62. holoAng(8,E:angles())
  63. holoColor(8,vec(70,70,10))
  64.  
  65.  
  66. holoModel(9,"hq_icosphere")
  67. holoScale(9,vec(0.2,0.2,2))
  68. holoPos(9,E:pos() + E:up()* 5 + E:right()* -5 + E:forward()* -3)
  69. holoAng(9,E:angles())
  70. holoColor(9,vec(70,70,10))
  71.  
  72. holoModel(10,"hq_icosphere")
  73. holoScale(10,vec(0.5,1,0.5))
  74. holoPos(10,E:pos() + E:up()* -4 + E:right()* -14 + E:forward()* -2)
  75. holoAng(10,E:angles())
  76. holoColor(10,vec(0,0,0))
  77.  
  78. holoModel(11,"hq_icosphere")
  79. holoScale(11,vec(0.5,0.8,0.5))
  80. holoPos(11,E:pos() + E:up()* -4 + E:right()* -14 + E:forward()* 0)
  81. holoAng(11,E:angles())
  82. holoColor(11,vec(70,70,10))
  83.  
  84. holoModel(12,"hq_icosphere")
  85. holoScale(12,vec(0.5,1,0.5))
  86. holoPos(12,E:pos() + E:up()* -4 + E:right()* -14 + E:forward()* 2)
  87. holoAng(12,E:angles())
  88. holoColor(12,vec(0,0,0))
  89.  
  90. }
  91.  
  92. if (P["Active",number]) {
  93.  
  94. W = P:number("W")
  95. S = P:number("S")
  96. A = P:number("A")
  97. D = P:number("D")
  98. Alt = P:number("Alt")
  99. Space = P:number("Space")
  100.  
  101. F = (W - S)* 1
  102. Up = (Space - Alt)
  103.  
  104. H = holoEntity(0)
  105.  
  106. holoPos(0,H:pos() + H:forward()*F)
  107. holoAng(0,H:angles():setYaw(H:angles():yaw()+(A-D)))
  108.  
  109. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement