19 | | ''Adding Code'' |
| 19 | To add a newly created map: |
| 20 | * First, place your created map .bsp and .aas files in the ioquake3/build/release*/quagents/3/maps directory. Alternatively, you may add the map .bsp and .aas to the pak map file located in the same directory. |
| 21 | * Secondly, add the map to the Sandbox class. Do this by adding a new element, with the same name as your map, to the ''maps'' array located at the top of the file. E.g., if your map is defined by foo.bsp and foo.aas, you would add "foo" to the static array. |
| 22 | |
| 23 | '''Adding Code''' |
| 24 | For most intents and purposes, adding code to QuagentsSandbox.java will suffice for sandbox testing. Specifically, the constructor and the executeCode() function will automatically called by the sandbox scenario, so the developer may use these blocks to test code. |