setting_up_an_addon
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
setting_up_an_addon [2023/07/31 02:41] – [Writing your addon's code] antigravities | setting_up_an_addon [2023/07/31 03:03] (current) – antigravities | ||
---|---|---|---|
Line 45: | Line 45: | ||
- Click **Save** and close - now we're ready to launch the game and start coding! Select the launch configuration you just created from the dropdown and then click the **Play** button. The game will load and your addon will be enabled! | - Click **Save** and close - now we're ready to launch the game and start coding! Select the launch configuration you just created from the dropdown and then click the **Play** button. The game will load and your addon will be enabled! | ||
- | ===== Writing your addon' | + | ====== Writing your addon' |
You can open the addon in your preferred code editor by right clicking it in the Projects pane. From there, you'll be able to create C# files and write code as usual. | You can open the addon in your preferred code editor by right clicking it in the Projects pane. From there, you'll be able to create C# files and write code as usual. | ||
Line 55: | Line 55: | ||
When you save your code, s&box will **automagically** compile it and load it in the game. With a few exceptions, your changes will be visible **immediately**. | When you save your code, s&box will **automagically** compile it and load it in the game. With a few exceptions, your changes will be visible **immediately**. | ||
+ | |||
+ | ====== Publishing your addon to asset.party ====== | ||
+ | |||
+ | Once you've finished writing and testing your code, you can upload it to asset.party in order to allow players to select it when creating a lobby or dedicated server. | ||
+ | |||
+ | - Right click your project in the Project Settings pane, and then click **Project Settings** to open the project settings menu. | ||
+ | - Select **Upload To Asset Party** in the menu on the left. | ||
+ | - Confirm your ident as created earlier in this guide, and select the organization you want to publish it under. If you haven' | ||
+ | - Confirm that all of the files that you want to upload show in this screen, then click **Upload Files**. | ||
+ | - Provide a change title and optional description, | ||
+ | - Congratulations, |
setting_up_an_addon.1690771285.txt.gz · Last modified: 2023/07/31 02:41 by antigravities