Dev | DevHUD - JasXSL/GoThongs GitHub Wiki
Install DB0
GoThongs uses XOBJ shared media. Which means that you will need a DB0 prim:
- Start by building your level. Then create a root prim like a platform underneath it. Select the level and link it to the root prim (root prim needs to be selected last). Once you start adding monsters to the level, you can not move pieces of the level relative to the root prim. Because all spawns are relative to the root prim.
- Create a new standard SL cube.
- Name it DB0
- Set the following object parameters
- Path cut: 0.15
- Hollow: 20
- Unlink the root prim from the quest. Then link the DB0 prim to the root prim, selecting the root prim last. Then link the level to the root prim. This will make loading faster.
- Drop the level scripts from the GoThongs dev kit into the root prim of the cell. Only use one _MAIN script based on if you are making a challenge dungeon or not.
- Say in chat while wearing the HUD:
debug got Level - The level should hopefully update all the scripts and tell you that x players have joined.
Please note that you HAVE to wear the GoThongs main HUD along with the devtool
Set spawn locations
GoThongs supports 2 player coop, so we will need to place down spawn locations.
- Wear the Got dev HUD.
- Click P1 on the HUD and wait for the P1 text to spawn.
- Sit on the P1 object and move it into position where the players should start. Rotation is not saved, only position. Coop players will spawn in a radius of 1 meter around the P1. So make sure there is enough space.
- Say in chat: add
- Wait 10 sec until the items have been saved.
- Say: stats
- If the spawn point is not listed, say in chat:
debug got Level, wait for the level to refresh and then try add again.
Tutorials
Please see the wiki main page for tutorials on how to add things to your level.
If you want to test your newly created cell you can say "load live". The only difference between this and playing live is that once you reach the exit you will just receive "celltest complete". Once you're satisfied with all the individual cells, you can test play the entire quest. First off go to jasx.org/lsl/got and find your mod and the quest. At the bottom of the quest editor is a "Start quest on my character" button you can get to start the quest on your character.
Now before you hit the continue button from your HUD, you need to package your mod and install it on your HUD.