Creating a Level: Difference between revisions
From Gothongs Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
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. | 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. | ||
[[File:Level_created.png|none|thumb]] | |||
[[File:Level_created.png]] | |||
Build your level and make sure that the "anchor" remains the root prim by linking it last. | Build your level and make sure that the "anchor" remains the root prim by linking it last. | ||
[[File:Level_Layout.png|none|thumb]] | |||
[[File: | |||
== Step 2: Add the scripts == | == Step 2: Add the scripts == | ||
Drag _MAIN, got Level, all the slave scripts, Trigger and TriggerSensor into your level. '''Also wear your GoThongs HUD'''! | # 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 == | |||
You will get a message | # Click the Spawn button on your dev HUD. Then right click and sit on the P1 mesh that spawned. | ||
# Edit yourself into a position where you want your players to start. | |||
# Say "add" in chat to save your spawn point. You will get a message like "Saved start point at <-12.57,-10.92,10.92>". | |||
== Step | [[File:Position yourself.jpg|none|thumb|Positioning yourself with P1]] | ||
== Step 4: Adding the exit. == | |||
Revision as of 14:59, 10 April 2024
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
- Click the Spawn button on your dev HUD. Then right click and sit on the P1 mesh that spawned.
- Edit yourself into a position where you want your players to start.
- Say "add" in chat to save your spawn point. You will get a message like "Saved start point at <-12.57,-10.92,10.92>".
