Testing and Fixing

Back

Main

The method That I use for testing the map is to do the following:

1: In the 'jumbot.cfg' file, changing the weapon priorities so that everything except the rocket has a negative value, and enabling bot_cheats. This is so that the bot will always use the rocket with the dot on, and so if it gets stuck, you will be able to see where it is trying to go by looking for the dot :).

2: Start a game using the map that you made a JRF for, then bring down the console and change 'bot_distance' and 'bot_hunt' to 0, and then find a bot. Follow this bot around as it goes around the path that you laid, and if it never gets stuck and gets back round to where you started following it, find another bot that is going the other way around the path, and see if it does the same. If they both do, your JRF is done and you can send it in!

3: If the bot either fails to complete the path, or keeps trying to do the same thing over and over again, then the JRF is not done yet :((. However all you have to do to fix it is to: Bring down the console, and change 'wp_edit' to 1, then type 'map [mapname]', where [mapname] is the name of the map that you are making a JRF for. You must then go to the point at which the bot got stuck, and make sure that the waypoints follow the guidelines. If you find that they do not, and that you need to add more waypoints, do so using the special insert waypoint commands. Using these commands will insert a waypoint in the path after the point that you are looking at and that is selected.

For example, if you found that you needed a 'jump' waypoint in a certain position, then you would go to that point, look at the point in the trail that is BEFORE where you want the new point to be so that it is selected, then bring down the console, and type 'makewpj_l'. For normal points, you do the same, except instead of 'makewpj_l' you just use 'makewp_l'. To make a 'duck' point, do the same as with  a normal point, only duck as you do this (If this is part of a duck-jump, you may have to specify the waypoint that the new one will go in front of, and bind the command to a key, then press that key whilst performing the move. For example having entered 'bind "a" "makewp_l 30", when you pressed 'a', a waypoint would be inserted at you position after point 30, and if you were ducking when you pressed it, a duck point would be inserted.)

4: Use 'writewpfile' to save the changes that you made, and hopefully the bots will not get stuck anywhere anymore. If they do, then you must repeat the fixing process for that error aswell, and so on until you have 'ironed out all the creases'. Then you can send it in!

Remember that if you do send any in, your name / email / website will be put in the news section, and if you submit 5 or more, these details will be put permanently on the main JRF page (Please remember to include these details with your email if you want them to be displayed).

 

If you have any questions, comments, or suggestions relating to this guide, post them on the forum or email me.

top

1: Setting up for JRF creation
2: Making the route (and how to make it work)
3: Harder stuff (Like getting the bot to duck-jump)
4: Testing (and troubleshooting)
FAQ