sharpgamers4you

Black Ops III Modtools Pickup Place Shoot Upgrade Script + Assets & Prefabs

Dec 5th, 2020
814
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Alright,
  2. I Had this requested script where someone wants to pick up and place a model
  3. but, also needs to shoot 3 bones!
  4. Keep in mind to also DOWNLOAD and INSTALL my assets for this script!
  5. It includes 5 Prefabs and 1 model (golden wrench).
  6.  
  7. You basically pick up a random model, once picked up by any player a hand will rise up from the ground
  8. place the model into the hand, it goes underground for 7 seconds.
  9. Then it will rise up and give you the upgraded version of the model which is gold!
  10.  
  11. Download Link,
  12. https://mega.nz/file/oiRAGJZI#_uxjkoxT9PHhfsBgfhX3APYVUMAYVvmFFvYBkiEaZS8
  13.  
  14. Problem with the mega link? Try this one,
  15. https://rapidgator.net/file/c151710742f5c5193427e4344ae1dee3/SG4Y_Requested_Pickup_Shoot_Bones_EE.zip.html
  16.  
  17. Watch my detailed tutorial video for the installation here,
  18. https://www.youtube.com/watch?v=utzrTWsU9q0&ab_channel=SharpGamers4you%E2%92%B8
  19.  
  20.  
  21.   //____________\\
  22.  // INSTALLATION \\
  23. //                \\
  24.  
  25. First of all drag and drop the "model_export" folder into your bo3 root
  26.  
  27. Now open yourmapname.gsc (NOT CSC)
  28. Paste the following lines in YOURMAPNAME.GSC (NOT CSC)
  29.  
  30. Under "zm_usermap::main();"
  31.  
  32. add this,
  33. //sg4y pickup requested script
  34. thread requested_pickup_easter_egg();
  35. thread requested_pickup_easter_egg_part_2();
  36.  
  37. Now still in YOURMAPNAME.GSC (Not CSC)
  38. Put the following scripts at the very bottom.
  39.  
  40. //sg4y pickup requested script
  41. function requested_pickup_easter_egg()
  42. {
  43.  
  44. sg4y_bone1 = GetEnt("sg4y_bone1", "targetname");
  45. sg4y_bone2 = GetEnt("sg4y_bone2", "targetname");
  46. sg4y_bone3 = GetEnt("sg4y_bone3", "targetname");
  47.  
  48.  
  49. //triggers
  50.  
  51. sg4y_bone1_trigger = GetEnt("sg4y_bone1_trigger", "targetname");
  52. sg4y_bone2_trigger = GetEnt("sg4y_bone2_trigger", "targetname");
  53. sg4y_bone3_trigger = GetEnt("sg4y_bone3_trigger", "targetname");
  54.  
  55.  
  56.  
  57. //OPTIONAL WAITING UNTIL A LEVEL NOTIFY HAS BEEN DONE!
  58.  
  59. //sg4y_bone1 Hide();
  60. //level waittill("YOURLEVELNOTIFY");
  61. //sg4y_bone1 Show();
  62.  
  63.  
  64. //shoot bone 1
  65. sg4y_bone1_trigger waittill("trigger", player);
  66. playfx( level._effect["powerup_grabbed"], sg4y_bone1_trigger.origin);
  67. sg4y_bone1 Hide();
  68. sg4y_bone1_trigger Delete();
  69.  
  70.  
  71.  
  72. //shoot bone 2
  73. sg4y_bone2_trigger waittill("trigger", player);
  74. playfx( level._effect["powerup_grabbed"], sg4y_bone2_trigger.origin);
  75. sg4y_bone2 Hide();
  76. sg4y_bone2_trigger Delete();
  77. wait(1);
  78.  
  79.  
  80.  
  81. //shoot bone 3
  82. sg4y_bone3_trigger waittill("trigger", player);
  83. playfx( level._effect["powerup_grabbed"], sg4y_bone3_trigger.origin);
  84. sg4y_bone3 Hide();
  85. sg4y_bone3_trigger Delete();
  86. wait(1);
  87.  
  88. level notify("all_bones_are_shot");
  89. wait(1);
  90. sg4y_bone1 Delete();
  91. sg4y_bone2 Delete();
  92. sg4y_bone3 Delete();
  93.  
  94. }
  95.  
  96. function requested_pickup_easter_egg_part_2()
  97. {
  98.  
  99. secret_tool_pickup = GetEnt("secret_tool_pickup", "targetname");
  100. secret_tool_pickup_trigger = GetEnt("secret_tool_pickup_trigger", "targetname");
  101. secret_tool_pickup_trigger setHintString("Press [&&1] to pickup the Tool");
  102.  
  103. secret_tool_gold = GetEnt("secret_tool_gold", "targetname");
  104.  
  105. secret_tool_place = GetEnt("secret_tool_place", "targetname");
  106. secret_tool_place_trigger = GetEnt("secret_tool_place_trigger", "targetname");
  107. secret_tool_place_trigger setHintString("Press [&&1] to place the Tool");
  108.  
  109. secret_floor_hand = GetEnt("secret_floor_hand", "targetname");
  110. secret_floor_bone = GetEnt("secret_floor_bone", "targetname");
  111.  
  112. secret_tool_gold_trigger = GetEnt("secret_tool_gold_trigger", "targetname");
  113. secret_tool_gold_trigger setHintString("Press [&&1] to pickup the GOLDEN WRENCH!");
  114.  
  115. secret_tool_gold_trigger hide();
  116.  
  117.  
  118.  
  119. secret_tool_place hide();
  120. secret_tool_place_trigger hide();
  121.  
  122. //hide first
  123. secret_tool_pickup hide();
  124. secret_tool_pickup_trigger hide();
  125. secret_tool_gold hide();
  126.  
  127.  
  128. //main ee function
  129.  
  130. level waittill("all_bones_are_shot");
  131. wait(2);
  132. secret_tool_pickup Show();
  133. secret_tool_pickup_trigger Show();
  134.  
  135. secret_tool_pickup_trigger waittill("trigger", player);
  136. secret_tool_pickup Delete();
  137. secret_tool_pickup_trigger Delete();
  138. wait(1);
  139. secret_floor_hand MoveZ(18,1);
  140. secret_floor_bone MoveZ(18,1);
  141. wait(1);
  142. secret_tool_place_trigger Show();
  143. secret_tool_place_trigger waittill("trigger", player);
  144. secret_tool_place_trigger Delete();
  145. secret_tool_place Show();
  146. playfx( level._effect["powerup_grabbed"], secret_tool_place.origin);
  147. wait(2);
  148. secret_floor_hand MoveZ(-18,1);
  149. secret_floor_bone MoveZ(-18,1);
  150. secret_tool_place MoveZ(-18,1);
  151. wait(1.5);
  152. secret_tool_place Delete();
  153. secret_tool_gold Show();
  154. wait(7);
  155. secret_floor_hand MoveZ(18,1);
  156. secret_floor_bone MoveZ(18,1);
  157. secret_tool_gold MoveZ(18,1);
  158. wait(4);
  159. secret_tool_gold_trigger Show();
  160. secret_tool_gold_trigger waittill("trigger", player);  
  161. playfx( level._effect["powerup_grabbed"], secret_tool_gold.origin);
  162. secret_tool_gold_trigger Delete();
  163. secret_tool_gold Delete();
  164.  
  165. }
  166.  
  167. --------------------------------------------------------------
  168. Note,
  169. You can change the function and everything!
  170. If you need any easter egg(s) scripts or anything else let me know.
  171.  
  172. you don't have to give credit, subscribe to my channel for tutorials and other videos/streams instead :)
RAW Paste Data