Modded

From Gothongs Wiki
Revision as of 12:46, 15 April 2024 by Panda (talk | contribs)
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!

To make your own mod it is a good idea to visit Category:Tutorials!

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);
    }
}