Steam installieren
Anmelden
|
Sprache
简体中文 (Vereinfachtes Chinesisch)
繁體中文 (Traditionelles Chinesisch)
日本語 (Japanisch)
한국어 (Koreanisch)
ไทย (Thai)
Български (Bulgarisch)
Čeština (Tschechisch)
Dansk (Dänisch)
English (Englisch)
Español – España (Spanisch – Spanien)
Español – Latinoamérica (Lateinamerikanisches Spanisch)
Ελληνικά (Griechisch)
Français (Französisch)
Italiano (Italienisch)
Bahasa Indonesia (Indonesisch)
Magyar (Ungarisch)
Nederlands (Niederländisch)
Norsk (Norwegisch)
Polski (Polnisch)
Português – Portugal (Portugiesisch – Portugal)
Português – Brasil (Portugiesisch – Brasilien)
Română (Rumänisch)
Русский (Russisch)
Suomi (Finnisch)
Svenska (Schwedisch)
Türkçe (Türkisch)
Tiếng Việt (Vietnamesisch)
Українська (Ukrainisch)
Ein Übersetzungsproblem melden
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.