Advertisement
RiseVisual

Untitled

Apr 23rd, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.48 KB | None | 0 0
  1. void Caabuild::Setup()
  2. {
  3. SetTitle("HvH");
  4. pitchctrl.SetPosition(5, 15);
  5. pitchctrl.SetSize(160, 50);
  6. pitchctrl.SetText("Pitch");
  7. RegisterControl(&pitchctrl);
  8. //--------------------------Pitch-Pick--------------------------//
  9. pitchpick.SetFileId("pitchpick");
  10. pitchpick.AddItem("Static");
  11. pitchpick.AddItem("Jitter");
  12. pitchpick.AddItem("Safe Fake");
  13. pitchpick.AddItem("UnSafe Fake");
  14. pitchctrl.PlaceOtherControl("Pitch Type", this, &pitchpick);
  15.  
  16. //--------------------------Static-Pitch--------------------------//
  17.  
  18. pitchctrl2.SetPosition(5, 75);
  19. pitchctrl2.SetSize(160, 50);
  20. pitchctrl2.SetText("Static Pitch");
  21. RegisterControl(&pitchctrl2);
  22.  
  23. pitchbase.SetFileId("custompitch");
  24. pitchbase.SetBoundaries(0, 89);
  25. pitchbase.SetValue(0);
  26. pitchctrl2.PlaceOtherControl("Pitch:", this, &pitchbase);
  27.  
  28. //--------------------------Jiitery-Pitch--------------------------//
  29.  
  30. pitchctrl3.SetPosition(5, 135);
  31. pitchctrl3.SetSize(160, 70);
  32. pitchctrl3.SetText("Jitter Pitch");
  33. RegisterControl(&pitchctrl3);
  34.  
  35. pitch_jitter_from.SetFileId("customJitpitch");
  36. pitch_jitter_from.SetBoundaries(0, 89);
  37. pitch_jitter_from.SetValue(0);
  38. pitchctrl3.PlaceOtherControl("Jitter From:", this, &pitch_jitter_from);
  39.  
  40. pitch_jitter_to.SetFileId("customJitpitch2");
  41. pitch_jitter_to.SetBoundaries(0, 89);
  42. pitch_jitter_to.SetValue(0);
  43. pitchctrl3.PlaceOtherControl("Jitter To:", this, &pitch_jitter_to);
  44.  
  45. //--------------------------MMfake-Pitch--------------------------//
  46.  
  47. pitchctrl4.SetPosition(5, 220);
  48. pitchctrl4.SetSize(160, 70);
  49. pitchctrl4.SetText("Safe Fake Pitch");
  50. RegisterControl(&pitchctrl4);
  51.  
  52. pitch_safe_fake.SetFileId("customfakepitch");
  53. pitch_safe_fake.SetBoundaries(0, 89);
  54. pitch_safe_fake.SetValue(0);
  55. pitchctrl4.PlaceOtherControl("Fake:", this, &pitch_safe_fake);
  56.  
  57. pitch_safe_real.SetFileId("customfakepitch2");
  58. pitch_safe_real.SetBoundaries(0, 89);
  59. pitch_safe_real.SetValue(0);
  60. pitchctrl4.PlaceOtherControl("Real:", this, &pitch_safe_real);
  61.  
  62.  
  63. //--------------------------NoSpread-Pitch--------------------------//
  64.  
  65. pitchctrl5.SetPosition(5, 300);
  66. pitchctrl5.SetSize(160, 70);
  67. pitchctrl5.SetText("NoSpread Fake:");
  68. RegisterControl(&pitchctrl5);
  69.  
  70. pitch_unsafe_fake.SetFileId("customfakepitch3");
  71. pitch_unsafe_fake.SetBoundaries(0, 1080);
  72. pitch_unsafe_fake.SetValue(0);
  73. pitchctrl5.PlaceOtherControl("(!) Fake:", this, &pitch_unsafe_fake);
  74.  
  75. pitch_unsafe_real.SetFileId("customfakepitch4");
  76. pitch_unsafe_real.SetBoundaries(0, 1080);
  77. pitch_unsafe_real.SetValue(0);
  78. pitchctrl5.PlaceOtherControl("(!) Real:", this, &pitch_unsafe_real);
  79.  
  80.  
  81. //--------------------------------------Yaw-pick--------------------------------------//
  82.  
  83.  
  84. yawctrl1.SetPosition(170, 15);
  85. yawctrl1.SetSize(160, 50);
  86. yawctrl1.SetText("Yaw");
  87. RegisterControl(&yawctrl1);
  88.  
  89. yawpick.SetFileId("yawpick");
  90. yawpick.AddItem("Static");
  91. yawpick.AddItem("Jitter");
  92. yawpick.AddItem("Lowerbody");
  93. yawpick.AddItem("Spin");
  94. yawctrl1.PlaceOtherControl("Yaw Type", this, &yawpick);
  95.  
  96. //--------------------------Yaw-Static--------------------------//
  97.  
  98. yawctrl2.SetPosition(170, 75);
  99. yawctrl2.SetSize(160, 50);
  100. yawctrl2.SetText("Static");
  101. RegisterControl(&yawctrl2);
  102.  
  103. yawbase.SetFileId("yawstat");
  104. yawbase.SetBoundaries(0, 360); // keep anti UT on. If you go over 180, it will just be left.
  105. yawbase.SetValue(0);
  106. yawctrl2.PlaceOtherControl("Yaw:", this, &yawbase);
  107.  
  108. //--------------------------Yaw-Jitter--------------------------//
  109.  
  110. yawctrl3.SetPosition(170, 135);
  111. yawctrl3.SetSize(160, 70);
  112. yawctrl3.SetText("Jitter");
  113. RegisterControl(&yawctrl3);
  114.  
  115. yaw_jitter_from.SetFileId("yawjit");
  116. yaw_jitter_from.SetBoundaries(0, 360);
  117. yaw_jitter_from.SetValue(0);
  118. yawctrl3.PlaceOtherControl("Jitter From", this, &yaw_jitter_from);
  119.  
  120. yaw_jitter_to.SetFileId("yawjit2");
  121. yaw_jitter_to.SetBoundaries(0, 360);
  122. yaw_jitter_to.SetValue(0);
  123. yawctrl3.PlaceOtherControl("Jitter To", this, &yaw_jitter_to);
  124.  
  125. //--------------------------Yaw-LBYSwitch--------------------------//
  126.  
  127. yawctrl4.SetPosition(170, 220);
  128. yawctrl4.SetSize(160, 90);
  129. yawctrl4.SetText("Lowerbody");
  130. RegisterControl(&yawctrl4);
  131.  
  132. yaw_add_jitter.SetFileId("addjitter");
  133. yawctrl4.PlaceCheckBox("Add Jitter", this, &yaw_add_jitter);
  134.  
  135. yaw_switch_from.SetFileId("yawswitch");
  136. yaw_switch_from.SetBoundaries(0, 360);
  137. yaw_switch_from.SetValue(0);
  138. yawctrl4.PlaceOtherControl("Switch From", this, &yaw_switch_from);
  139.  
  140. yaw_switch_to.SetFileId("yawjit2");
  141. yaw_switch_to.SetBoundaries(0, 360);
  142. yaw_switch_to.SetValue(0);
  143. yawctrl4.PlaceOtherControl("Switch To", this, &yaw_switch_to);
  144.  
  145. //--------------------------Yaw-Spin--------------------------//
  146.  
  147. yawctrl5.SetPosition(170, 320);
  148. yawctrl5.SetSize(160, 50);
  149. yawctrl5.SetText("Spin");
  150. RegisterControl(&yawctrl5);
  151.  
  152. spinspeed.SetFileId("yawspinspeed");
  153. spinspeed.SetBoundaries(0, 100);
  154. spinspeed.SetValue(0);
  155. yawctrl5.PlaceOtherControl("Velocity", this, &spinspeed); // GOTTA GO FAST, NENENENEEEE GOTTA GO FAST NENENEENE
  156.  
  157.  
  158. //---------------------------------------Fake-Yaw---------------------------------------//
  159. fyawctrl1.SetPosition(335, 15);
  160. fyawctrl1.SetSize(140, 50);
  161. fyawctrl1.SetText("Fake Yaw");
  162. RegisterControl(&fyawctrl1);
  163.  
  164. fyawpick.SetFileId("fyawpick");
  165. fyawpick.AddItem("Static");
  166. fyawpick.AddItem("Jitter");
  167. fyawpick.AddItem("Lowerbody");
  168. fyawpick.AddItem("Spin");
  169. fyawctrl1.PlaceOtherControl("Fake Type", this, &fyawpick);
  170.  
  171. //--------------------------FYaw-Static--------------------------//
  172.  
  173. fyawctrl2.SetPosition(335, 75);
  174. fyawctrl2.SetSize(140, 50);
  175. fyawctrl2.SetText("Static");
  176. RegisterControl(&fyawctrl2);
  177.  
  178. fyawbase.SetFileId("fyawstat");
  179. fyawbase.SetBoundaries(0, 360); // keep anti UT on. If you go over 180, it will just be left.
  180. fyawbase.SetValue(0);
  181. fyawctrl2.PlaceOtherControl("Fake:", this, &fyawbase);
  182.  
  183. //--------------------------FYaw-Jitter--------------------------//
  184.  
  185. fyawctrl3.SetPosition(335, 135);
  186. fyawctrl3.SetSize(140, 70);
  187. fyawctrl3.SetText("Jitter");
  188. RegisterControl(&fyawctrl3);
  189.  
  190. fyaw_jitter_from.SetFileId("fyawjit");
  191. fyaw_jitter_from.SetBoundaries(0, 360);
  192. fyaw_jitter_from.SetValue(0);
  193. fyawctrl3.PlaceOtherControl("Jitter From", this, &fyaw_jitter_from);
  194.  
  195. fyaw_jitter_to.SetFileId("fyawjit2");
  196. fyaw_jitter_to.SetBoundaries(0, 360);
  197. fyaw_jitter_to.SetValue(0);
  198. fyawctrl3.PlaceOtherControl("Jitter To", this, &fyaw_jitter_to);
  199.  
  200. //--------------------------FYaw-LBYSwitch--------------------------//
  201.  
  202. fyawctrl4.SetPosition(335, 220);
  203. fyawctrl4.SetSize(140, 90);
  204. fyawctrl4.SetText("Lowerbody");
  205. RegisterControl(&fyawctrl4);
  206.  
  207. fyaw_add_jitter.SetFileId("faddjitter");
  208. fyawctrl4.PlaceCheckBox("Add Jitter", this, &fyaw_add_jitter);
  209.  
  210. fyaw_switch_from.SetFileId("fyawswitch");
  211. fyaw_switch_from.SetBoundaries(0, 360);
  212. fyaw_switch_from.SetValue(0);
  213. fyawctrl4.PlaceOtherControl("Switch From", this, &fyaw_switch_from);
  214.  
  215. fyaw_switch_to.SetFileId("fyawjit2");
  216. fyaw_switch_to.SetBoundaries(0, 360);
  217. fyaw_switch_to.SetValue(0);
  218. fyawctrl4.PlaceOtherControl("Switch To", this, &fyaw_switch_to);
  219.  
  220. //--------------------------Yaw-Spin--------------------------//
  221.  
  222. fyawctrl5.SetPosition(335, 320);
  223. fyawctrl5.SetSize(140, 50);
  224. fyawctrl5.SetText("Spin");
  225. RegisterControl(&fyawctrl5);
  226.  
  227. fspinspeed.SetFileId("fyawspinspeed");
  228. fspinspeed.SetBoundaries(0, 100);
  229. fspinspeed.SetValue(0);
  230. fyawctrl5.PlaceOtherControl("Velocity", this, &fspinspeed); // GOTTA GO FAST, NENENENEEEE GOTTA GO FAST NENENEENE
  231.  
  232. //----------------------------------Fake-Lag----------------------------------//
  233. fakelag.SetPosition(5, 380);
  234. fakelag.SetSize(160, 60);
  235. fakelag.SetText("Fakelag");
  236. RegisterControl(&fakelag);
  237.  
  238. FakeLagTyp.SetFileId("b1gfakelaglmao");
  239. FakeLagTyp.AddItem("Off");
  240. FakeLagTyp.AddItem("Minimal");
  241. FakeLagTyp.AddItem("Moderate");
  242. // FakeLagTyp.AddItem("Maximal");
  243. fakelag.PlaceOtherControl("FakeLag", this, &FakeLagTyp);
  244.  
  245. antilbyctrl.SetPosition(170, 380);
  246. antilbyctrl.SetSize(305, 60);
  247. antilbyctrl.SetText("Anti-LBY");
  248. RegisterControl(&antilbyctrl);
  249.  
  250.  
  251. Antilby.SetFileId("antilby");
  252. Antilby.SetBoundaries(0, 180);
  253. Antilby.SetValue(0);
  254. antilbyctrl.PlaceOtherControl("Standing", this, &Antilby); //it was called AntiLBY on bitwise before all you nibbas were bragging about it or even knew it existedm sooooo GET GOOD
  255.  
  256. moveantilby.SetFileId("antilby2");
  257. moveantilby.SetBoundaries(0, 180);
  258. moveantilby.SetValue(0);
  259. antilbyctrl.PlaceOtherControl("Moving", this, &moveantilby);
  260. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement