Modded: Difference between revisions
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%;" |[..." |
No edit summary |
||
| (4 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
Modding can be a great thing for any game, it adds a lot of user content that everyone can enjoy! | 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! | 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! | ||
| Line 27: | Line 8: | ||
> https://github.com/JasXSL/GoThongs/wiki | > https://github.com/JasXSL/GoThongs/wiki | ||
Please be aware that this code requires | Please be aware that this code requires a viewer that supports LSL Preprocessors! (such as Firestorm or Alchemy) | ||
Download the [https://github.com/JasXSL/SL-XOBJ XOBJ] and the | Download the [https://github.com/JasXSL/SL-XOBJ XOBJ] and the | ||
| Line 36: | Line 17: | ||
C:\SL_Libraries\xobj_toonie<br> | C:\SL_Libraries\xobj_toonie<br> | ||
C:\SL_Libraries\got (Extract Gothongs files into this folder)<br> | C:\SL_Libraries\got (Extract Gothongs files into this folder)<br> | ||
Load up | |||
Load up your viewer of choice and access the LSL Preprocessor settings.<br> | |||
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'')<br> | |||
On Alchemy, since it lacks a Preferences tab for Preprocessor, you can do it this way:<br> | |||
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'')<br> | |||
Once the Preprocessor, #Include, and path are enabled and set in either viewers, close the window and try the bellow in a new script:<br> | |||
Test the following code to see if it worked: | Test the following code to see if it worked: | ||
<br> | <br> | ||
| Line 52: | Line 40: | ||
} | } | ||
} | } | ||
For more help check out the tutorials category! | |||
[[Category:Tutorials]] | |||
Latest revision as of 14:43, 30 August 2024
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!