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 a viewer that supports LSL Preprocessors! (such as Firestorm or Alchemy)
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 your viewer of choice and access the LSL Preprocessor settings.
On Firestorm, open the Preferences (ctrl+P), go to "Firestorm" tab, then "Build 1" tab and enable "LSL Preprocessor", and "#includes from local disk". Finally, set the LSL preprocessor include path to the folder you created previously. (e.g. C:\SL_Libraries)
On Alchemy, since it lacks a Preferences tab for Preprocessor, you can do it this way:
Open the Preferences (ctrl+P), then go to "Advanced" tab and enable "Show Advanced Menu". Then, click the newly visible Debug button at the top of the viewer screen, then click "Show Debug Settings" and search "preproc". Then, enable (set to True) "AlchemyLSLPreprocessor", "AlchemyPreProcEnableHDDInclude", and set "AlchemyPreProcHDDIncludeLocation" path to the folder you created previously. (e.g. C:\SL_Libraries)
Once the Preprocessor, #Include, and path are enabled and set in either viewers, close the window and try the bellow in a new script:
Test the following code to see if it worked:
#include "got/_core.lsl"
default
{
state_entry()
{
Alert$freetext(llGetOwner(), "Hello World!", FALSE, TRUE);
}
}
For more help check out the tutorials category!