Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.25 KB | None | 0 0
  1. SENDPACKET = [
  2. /// Format the SENDPACKET args into a message
  3. /// and then send it to the server, this function
  4. /// handles all packet sending, the idea is to wrap
  5. /// the send packets args up and this can translate
  6. /// it as one message.
  7.  
  8. say #sendpacket $arg1 $arg2
  9. ]
  10.  
  11. Pyrmid = [
  12. loop i $arg1 [
  13. SENDPACKET EDITF [
  14. /// All Comments in here are guesstimates
  15. /// I'm highly unsure about most of them
  16. /// As i just played around and this is
  17. /// What look right, after trial and error
  18.  
  19. ( + 32 ( * 32 $i )) /// X
  20. ( + 32 ( * 32 $i )) /// Y
  21. ( + 480 ( * 32 $i )) /// Z
  22.  
  23. ( - 30 ( * 2 $i )) /// X.x
  24. ( - 30 ( * 2 $i )) /// X.y
  25. 1 /// X.z
  26.  
  27. 32 /// Cube Size
  28. 5 /// ORIENTATION
  29. 0 /// ORIENTATION
  30.  
  31. ( - 60 ( * 4 $i )) /// IDK
  32. 0 /// IDK
  33. ( - 60 ( * 4 $i )) /// IDK
  34.  
  35. $i /// Index ( FOR SOMETHING IDK )
  36. -1 /// Build Up 1 would be down
  37. 1 /// Index ( FOR SOMETHING IDK )
  38. ]
  39. ]
  40. ]
  41.  
  42. DigOut = [
  43. loop i $arg1 [
  44. SENDPACKET EDITF [32 32 ( - 480 ( * 32 $i )) 30 30 1 32 5 0 60 0 60 2 1 1 ]
  45. ]
  46. ]
  47.  
  48. Posts = [
  49. loop i $arg1 [
  50. SENDPACKET EDITF [ 928 928 ( + 480 ( * 32 $i )) 2 2 1 32 5 0 4 0 4 $i -1 1 ]
  51. SENDPACKET EDITF [ 928 32 ( + 480 ( * 32 $i )) 2 2 1 32 5 0 4 0 4 $i -1 1 ]
  52. SENDPACKET EDITF [ 32 928 ( + 480 ( * 32 $i )) 2 2 1 32 5 0 4 0 4 $i -1 1 ]
  53. SENDPACKET EDITF [ 32 32 ( + 480 ( * 32 $i )) 2 2 1 32 5 0 4 0 4 $i -1 1 ]
  54. ]
  55. ]
  56.  
  57. TestMap = [
  58. DigOut 9 /// Dig a hole in the map 9 cubes deep
  59. Pyrmid 15 /// Create a pyrmid ontop 15 cubes high
  60. Posts 15 /// Create some posts also 15 cubes high
  61.  
  62. SENDPACKET EDITT [ 0 0 0 4 4 1 512 5 0 8 0 8 3 9 0 ] /// Apply a grass texture to the new mape
  63. SENDPACKET EDITF [ 928 0 224 2 1 9 32 3 0 18 0 4 0 -1 1 ] /// Create inside post #1
  64. SENDPACKET EDITF [ 928 32 224 2 1 9 32 3 0 18 0 4 1 -1 1 ] /// Create inside post #1
  65. SENDPACKET EDITF [ 992 928 224 1 2 9 32 0 0 4 0 18 2 -1 1 ] /// create inside post #1
  66. SENDPACKET EDITF [ 960 928 224 1 2 9 32 0 0 4 0 18 3 -1 1 ] /// Create inside post #2
  67. SENDPACKET EDITF [ 32 992 224 2 1 9 32 2 0 18 0 4 0 -1 1 ] /// Create inside post #2
  68. SENDPACKET EDITF [ 32 960 224 2 1 9 32 2 0 18 0 4 3 -1 1 ] /// Create inside post #2
  69. SENDPACKET EDITF [ 0 32 224 1 2 9 32 1 0 4 0 18 1 -1 1 ] /// Create inside post #4
  70. SENDPACKET EDITF [ 32 32 224 1 2 9 32 1 0 4 0 18 3 -1 1 ] /// Create inside post #4
  71. SENDPACKET EDITF [ 96 96 192 26 26 1 32 5 0 52 0 52 2 1 1 ] /// Make a whole for the water
  72. SENDPACKET EDITT [ 96 96 160 26 26 1 32 5 0 52 0 52 0 92 0 ] /// Texture water base
  73. SENDPACKET EDITT [ 64 96 192 1 26 1 32 1 0 52 0 2 2 92 0 ] /// Texture inside post #1
  74. SENDPACKET EDITT [ 96 64 192 26 1 1 32 3 0 2 0 52 0 92 0 ] /// Texture inside post #2
  75. SENDPACKET EDITT [ 928 96 192 1 26 1 32 0 0 52 0 2 3 92 0 ] /// Texture inside post #3
  76. SENDPACKET EDITT [ 96 928 192 26 1 1 32 2 0 2 0 52 3 92 0 ] /// Texture inside post #4
  77. SENDPACKET EDITT [ 32 928 224 2 2 15 32 1 0 4 0 30 2 771 1 ] /// Texture water wall #1
  78. SENDPACKET EDITT [ 928 928 224 2 2 15 32 0 0 4 0 30 2 771 1 ] /// Texture water wall #2
  79. SENDPACKET EDITT [ 928 32 224 2 2 15 32 3 0 30 0 4 1 771 1 ] /// Texture water wall #3
  80. SENDPACKET EDITT [ 32 32 224 2 2 15 32 1 0 4 0 30 3 771 1 ] /// Texture water wall #4
  81. SENDPACKET EDITT [ 992 96 224 1 26 9 32 0 0 52 0 18 0 772 1 ] /// Texture wall #1
  82. SENDPACKET EDITT [ 96 992 224 26 1 9 32 2 0 18 0 52 3 772 1 ] /// Texture wall #2
  83. SENDPACKET EDITT [ 0 96 224 1 26 9 32 1 0 52 0 18 3 772 1 ] /// Texture wall #3
  84. SENDPACKET EDITT [ 96 0 224 26 1 9 32 3 0 18 0 52 3 772 1 ] /// Texture wall #4
  85. SENDPACKET EDITT [ 0 0 512 2 2 1 512 5 0 4 0 4 3 777 1 ] /// Texture entiree pyrmid
  86. SENDPACKET EDITM [ 96 96 192 26 26 1 32 2 0 2 0 52 3 1 -1 ] /// Add the water to the hole
  87. SENDPACKET DELCUBE [ 496 496 512 2 2 30 16 5 0 4 0 4 1 ] /// Create a hole inside pyrmid top to inside
  88. ]
  89.  
  90. KillPerson = [
  91. SENDPACKET FORCEDEATH [
  92. $arg1
  93. ]
  94. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement