Modded

From Gothongs Wiki
Revision as of 23:58, 9 July 2023 by Minti (talk | contribs) (Created page with "{| style="border: 3px solid #9f9f9f;" align="center" width="100%" ! colspan="3" align="center" style="background-color: #cecece; padding:2px; font-size:18px;" |<font color="White">Main Menu</font> |} <br> {| style="text-align: center; vertical-align: text-top; width:100%;" cellspacing="0" cellpadding="0" border="0" | style="width: 14%;" |link=Missions|64px | style="width: 14%;" |link=Thongs|64px | style="width: 14%;" |[...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Main Menu


File:monster.png
Missions Thongs Weapons Monsters Enchants Endgame Modded


Modding can be a great thing for any game, it adds a lot of user content that everyone can enjoy!

On the GoThongs Github you can find all sorts of information on modding, I will include some basic information here on how to get started but I recommend you check out the modding wiki on Github to obtain very in-depth information!

> https://github.com/JasXSL/GoThongs/wiki

Please be aware that this code requires the Firestorm Viewer!

Download the XOBJ and the GoThongs master archives containing the libraries.
Create a folder for the LSL libraries (Example: C:\SL_Libraries)
Unzip the files in there so you have the following folders:
C:\SL_Libraries\xobj_core
C:\SL_Libraries\xobj_toonie
C:\SL_Libraries\got (Extract Gothongs files into this folder)
Load up firestorm and open a script window.
Click the cog icon at the top of the script editor to open up Editor Preferences.
Check "Enable LSL preprocessor", "Script Optimizer", and "#includes from local disk"
Set the preprocessor include path to C:\SL_Libraries
Close and re-open the script editor.
Test the following code to see if it worked:

#include "got/_core.lsl"

default
{
    state_entry()
    {
        Alert$freetext(llGetOwner(), "Hello World!", FALSE, TRUE);
    }
}