Created a tutorial page for cloud spawning. |
Added this page to the tutorial category. Updated an image description. |
||
Line 13: | Line 13: | ||
=== Item Setup === | === Item Setup === | ||
[[File:Get Item Link Buttons.png|alt=The get item link buttons.|thumb|The get item link buttons.]] | [[File:Get Item Link Buttons.png|alt=The get item link buttons.|thumb|The get item link buttons (with the cheese button being active).]] | ||
# Open the [[Inventory]] tab on the [[Dash]]. | # Open the [[Inventory]] tab on the [[Dash]]. | ||
Line 36: | Line 36: | ||
# With the [[ProtoFlux:Method Proxy|method proxy]], connect it to anything that can send a pulse to it (the example shows a [[ProtoFlux:Call Input|Call]] node doing this). | # With the [[ProtoFlux:Method Proxy|method proxy]], connect it to anything that can send a pulse to it (the example shows a [[ProtoFlux:Call Input|Call]] node doing this). | ||
[[Category:Tutorial]] |
Revision as of 03:25, 13 July 2024
This tutorial will serve as a quick guide to unofficially cloud spawn items from a user's Inventory, and is also designed to get you started immediately, in a step by step process.
What You Need
- The mods Show Delegates from Arti & GetItemLink. For information on modding Resonite, see Mods.
- One Slot to hold components.
- Components StaticBinary & FileMetadata.
- The target item you want to spawn from the Inventory.
Setup
This is surprisingly simple to setup, here is how you would do it.
Item Setup
- Open the Inventory tab on the Dash.
- Navigate to the item you want to cloud spawn.
- Use the Get Item Link mod to get the resdb link (the cheese button).
Slot Setup
- Create an empty slot using the Dev Tool.
- Attach the StaticBinary component.
- For the
URL
, place your item's resdb link here.
- For the
- Attach the FileMetadata component.
- For the
Filename
, you can use any name here, but it must have the.brson
file extension at the end of the name. - For the
MIME
, just use the.brson
file extension here.
- For the
- Open the FileMetadata Sync Methods using the Show Delegates mod, and with the ProtoFlux Tool, grab and hold the
OnImportFile
method. Then open the context menu while still holding it, selectProxy
.
ProtoFlux Setup
- With the method proxy, connect it to anything that can send a pulse to it (the example shows a Call node doing this).