Advertisement
Guest User

Untitled

a guest
Jul 19th, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.73 KB | None | 0 0
  1. ============
  2. Waypointing:
  3. ============
  4.  
  5. If you make your own custom waypoints for any custom maps, or existing stock maps we encourage you to visit the PeZBOT forum and share them with others: http://www.moddb.com/mods/pezbot/forum
  6.  
  7. -------------------
  8. Installation/Setup:
  9. -------------------
  10.  
  11. First, install the mod normally. (Refer to the "Installation document for instructions.)
  12.  
  13. In order to use the waypoint editor you must start PeZBOT in dev mode by using this as your command line:
  14. +set fs_game "mods/PeZBOT" +exec pezbot_dev.cfg +set developer_script 1
  15.  
  16.  
  17. ---------------------
  18. Waypointing Controls:
  19. ---------------------
  20.  
  21. Attack Button (Left Mouse Button by default):------ Add waypoint
  22. Ads Button (Right Mouse Button by default):-------- Delete waypoint.
  23. Special Grenade Button (4 by default):------------- Change Waypoint Type.
  24. Use Button (F by default):------------------------- Start Link/Confirm Link.
  25. Frag Button (Middle Mouse Button by default):------ Start Link/Remove Link.
  26. Melee Button (V by default):----------------------- Save waypoints to console_mp.log in PeZBOT mod folder.
  27. K:------------------------------------------------- Add a Killpoint.
  28. H:------------------------------------------------- Instantly warp to the next spawn point.
  29. HOME:---------------------------------------------- Initiate Auto-Waypointing.
  30.  
  31.  
  32. ----------------
  33. Waypoint Colors:
  34. ----------------
  35.  
  36. Red:------------- Waypoint with no children, this is bad, link it to another waypoint or remove it.
  37. Purple:---------- Waypoint with one child, this is not so bad however it is a dead end, these are especially good for getting the bots to go to the right place up next to the objective in headquarters.
  38. Green:----------- Waypoint with more than one child, these are safe.
  39. Yellow:---------- Climbing Waypoint Type.
  40. Black:----------- Killpoint.
  41.  
  42.  
  43. --------------------------
  44. The basics of waypointing:
  45. --------------------------
  46.  
  47. Waypoints are represented by a colored vertical line, links between waypoints are represented by blue lines. All waypoints have a radius around them which you have to be within to modify them. When you are in range of a waypoint the line color will pulse to let you know you are in range.
  48.  
  49. To start waypointing, simply open a map. If you start the map in the Team Deathmatch mode then a waypoint will automatically be placed on every spawn point on the map. If you start the map in other modes, no spawn waypoints will appear.
  50.  
  51. Once you are in a map ready to start waypointing, press the Attack Button (Add Waypoint). You will see a red line appear where you are standing. This is a waypoint. Next, take a few steps further and add another waypoint. You should now have two red lines (waypoints).
  52.  
  53. Next you need to connect the two waypoints together so that the bots will follow them. Hover over one of the red waypoints and press the Use Button (F by default). You will see "Waypoint link started" appear on the side of the screen. Simply walk over to your other red waypoints and press F again. You will see the waypoints themselves turn to purple, and a blue line appear in between the two waypoints. These blue lines are what the bots follow. Just keep adding waypoints like you have just done, and keep linking them together and the bots will follow them. Remember: Do not leave any red waypoints.
  54.  
  55.  
  56. -------------------
  57. Climbing waypoints:
  58. -------------------
  59.  
  60. Approach the base of the ladder you want the bot to climb. Get as close as you can to the ladder without actually getting on, and place a waypoint. Once the waypoint is placed hover over it and press the Special Grenade Button (4 by default). The waypoint will now be a climbing waypoint type. (Please note that the direction you are facing when you place the waypoint or change the waypoint type is the direction that the bot will face when climbing!)
  61.  
  62. Now climb to the top of the ladder and move forward a few inches. Place another waypoint and change the type to climbing. (Please note that the direction you are facing when you place the waypoint or change the waypoint type is the direction that the bot will face when climbing!)
  63.  
  64. You now have two climbing waypoints - simply connect them together and the bots should climb.
  65.  
  66. Climbing waypoints should appear as yellow.
  67.  
  68.  
  69. -----------
  70. Killpoints:
  71. -----------
  72.  
  73. Killpoints work a little different than normal waypoints. Firstly, You cannot simply add a normal waypoint and change its type to a killpoint - you need to press K to add one. Secondly, you do not connect them to any normal waypoints. Then what are they for? As the name indicates, the bots will be killed when they get within a certain radius of the waypoint. These are used to make bots respawn if they get stuck in an object. To place a killpoint in an object, you will need to start the map in dev mode. To do this, simply type this into the console:
  74. /devmap mp_mapname
  75.  
  76. Replace mp_mapname with the name of the map you wish to load. When the map loads, open the console and type:
  77. /sv_cheats 1
  78. and
  79. /noclip
  80.  
  81. This will allow you do move into any object, then simply add a killpoint. Use killpoints when you see bots often getting stuck in objects, or try to move the waypoints around a bit in that area so the bots don't get to close to the annoying objects they get stuck in.
  82.  
  83. Killpoints will appear black.
  84.  
  85.  
  86. -----------------
  87. Auto-Waypointing:
  88. -----------------
  89.  
  90. Auto-Waypointing will simply allow you to cover large hallways and such in a shorter period of time than normal. When you initiate auto-waypointing, waypoints will automatically be placed behind you and linked together.
  91.  
  92. To start auto-waypointing, press the HOME button on your keyboard. Simply start walking and you will see that waypoints will be placed behind you and linked together. Once you have finished auto-waypointing, simply press HOME again to stop.
  93.  
  94.  
  95. -------------------------------
  96. Saving your finished waypoints:
  97. -------------------------------
  98.  
  99. Once you have finished waypointing your map, press melee (V by default). You will see a message flash up on screen indicating that the waypoints have been saved. This is sometimes a little buggy, so press the save button 3-5 times to make sure that it outputs properly.
  100.  
  101. Now exit the game and navigate to where the game is installed. Go into the mods folder, then into the PeZBOT folder. Here you will find a "console_mp" text document. Open it.
  102.  
  103. You will now see a large list of level.waypoints and other text. These are your maps waypoints stored in this file.
  104.  
  105. Start by highlighting from this line:
  106.  
  107. // =========================================================================================
  108.  
  109. to here:
  110.  
  111. level.waypointCount = level.waypoints.size;
  112. }
  113.  
  114. If you did not save multiple times and it didn't output properly, you will not see those last two lines. Copy and paste what you have highlighted into a new text document (or delete all of the text that you didn't highlight.)
  115.  
  116. Save the file as the name listed at the top. The name will look something like this
  117.  
  118. // File Name = 'mp_mapname_waypoints.gsc'
  119. // Map Name = 'mp_mapname'
  120.  
  121. So save the notepad file with the recorded waypoints as "mp_mapname_waypoints.gsc". Be sure to have the .gsc at the end so the file will be saved as a .gsc file, not as a text file.
  122.  
  123. Be sure to the line that looks like this (with the map name you are waypointing for):
  124.  
  125. else if(mapname == 'mp_mapname')
  126. {
  127. thread Waypoints/mp_mapname_waypoints::load_waypoints();
  128. }
  129.  
  130. Paste this line in your "select_map.gsc" file. TO get to this file, open up the folder you installed PeZBOT to, open the "PeZBOT.iwd" file (in an archiving program such as WinRAR) and navigate into Waypoints, then open "select_map.gsc".
  131.  
  132. Go Down To where it says:
  133.  
  134. // New Maps After This
  135.  
  136. ...
  137.  
  138. // New Maps Before This
  139.  
  140. Paste The copied info from above into this section. Now replace the:
  141.  
  142. 'mp_mapname'
  143.  
  144. With double quotes, so it will look like this:
  145.  
  146. "mp_mapname"
  147.  
  148. And then simply exchange the forward-slash between "thread Waypoints" and "mp_mapname_waypoints" with a backslash. It should look something like this when you have finished (except with all the stock maps listed, too):
  149.  
  150. // New Maps After This
  151.  
  152. else if(mapname == "mp_strike")
  153. {
  154. thread Waypoints\mp_strike_waypoints::load_waypoints();
  155. }
  156.  
  157. else if(mapname == "mp_backlot")
  158. {
  159. thread Waypoints\mp_backlot_waypoints::load_waypoints();
  160. }
  161.  
  162. // New Maps Before This
  163.  
  164. Then save and exit the file. Now drop your saved "mp_mapname_waypoints.gsc" file into this directory with the other waypoints and the "select_map" file.
  165.  
  166. If you make your own custom waypoints for any custom maps, or existing stock maps we encourage you to visit the PeZBOT forum and share them with others: http://www.moddb.com/mods/pezbot/forum
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement