Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
objPos.y = objPos.y * globalScaleFactor + 0.1
Here's how you can make any object into a memory bag:
- (A) Use this mod: https://steamproxy.net/sharedfiles/filedetails/?id=2302198936
- (B) Right click on a Custom Model (custom models only, doesn't work on tiles/tokens/etc.) > Custom > (select "Bag" at the bottom)
- Spawn a Memory Bag into the game.
- Right Click (on your *custom* bag, not the memory bag) > Scripting > Scripting Editor
- Wait a moment for the scripting window to pop up.
- Your custom bag's script will be selected. It should be empty.
- Click on the Memory Bag to switch to its script.
- Copy the whole script.
- Click on your custom bag to switch to its (currently empty) script.
- Paste the whole script.
- Click "Save & Play" (WARNING: You must be inside of a "saved game" for this to work. Otherwise it will complain that it can't save.)
As far as I can tell, the Utility Memory Bag isn't able to do it.
Until this feature is added, I found two other bags in the workshop that look like they can do what you're asking:
- https://steamproxy.net/sharedfiles/filedetails/?id=1347434285
- https://steamproxy.net/sharedfiles/filedetails/?id=1966767669
(1) https://github.com/sunflowermans/TTS-UtilityMemoryBag/blob/master/UtilityMemoryBag.lua#L309-L313
(2) https://github.com/sunflowermans/TTS-UtilityMemoryBag/blob/master/UtilityMemoryBag.lua#L683-L692
In case you or anyone reading is unfamiliar with scripting, "commenting out" in TTS means to put "--" at the start of each line that you want to "turn off".
You can open up a bag's script by right clicking the bag and clicking "Scripting" > "Scripting Editor". That opens a pop-up window showing the bag's script. I recommend copy-pasting the code into a text editor like Notepad or Notepad++ so you can search for the specific lines that you want to comment out. Then paste it bag into the TTS window and click "Save & Play".
I hope this helps! It sounds like a lot, but it's fast once you've done it the first time.
TLDR: Convert an object into a bag, then copy & paste a Utility Memory Bag's script onto the object.
Steps:
1. Load an existing save. (Or create a new game, save it, then load it).
2. Spawn a Utility Memory Bag.
3. Right click on the custom object (i.e. custom 3d model) that you want to transform into a Utility Memory Bag. Click "Custom" (at the top) > Select "Bag" (at the bottom) > Click "Import".
4. Right click on the same object > Click "Scripting" > Click "Scripting Editor" > Wait a moment for the scripting window to pop up. Note: your custom object's empty script will be selected in the script editor.
5. Copy & Paste all the text from the Utility Memory Bag's script into your custom object's empty script.
6. Click "Save & Play" (top left of the pop up window).
7. Profit!
Note: Check out the "Make Anything a Bag" mod if you want to use a token/tile as the bag instead of a 3d model.