Creating a Level

From Gothongs Wiki
Revision as of 14:55, 10 April 2024 by Panda (talk | contribs)
Jump to navigationJump to search

This is a tutorial that lets you create a very basic level with no scripted events. This level sets up a spawning spot, spawns monsters and adds an exit.

Step 1: Build your level

This is not something I can help much with. I am sure there are tutorials that teach you how to use the SL building tools. But here are a few suggestions:

Create a 10x10x0.5 prim as a base, and build everything 10m above it. It reduces the chance of you spawning the level on top of somebody. Here is a basic setup with a root prim "anchor" and a platform for players to walk on.

Build your level and make sure that the "anchor" remains the root prim by linking it last.

Step 2: Add the scripts

Unpack your GoThongs Devkit that came with your GoThongs unpacker. Wear the devhud and unpack the level scripts.

Drag _MAIN, got Level, all the slave scripts, Trigger and TriggerSensor into your level. Also wear your GoThongs HUD!

Hold ctrl while you press enter after typing the following into chat (shout): debug got Level

You will get a message saying "Updating level code..." and if you edit your level you will find that it has added additional scripts!

Step 3: Add a spawn point