Nainstalovat Steam
přihlásit se
|
jazyk
简体中文 (Zjednodušená čínština)
繁體中文 (Tradiční čínština)
日本語 (Japonština)
한국어 (Korejština)
ไทย (Thajština)
български (Bulharština)
Dansk (Dánština)
Deutsch (Němčina)
English (Angličtina)
Español-España (Evropská španělština)
Español-Latinoamérica (Latin. španělština)
Ελληνικά (Řečtina)
Français (Francouzština)
Italiano (Italština)
Bahasa Indonesia (Indonéština)
Magyar (Maďarština)
Nederlands (Nizozemština)
Norsk (Norština)
Polski (Polština)
Português (Evropská portugalština)
Português-Brasil (Brazilská portugalština)
Română (Rumunština)
Русский (Ruština)
Suomi (Finština)
Svenska (Švédština)
Türkçe (Turečtina)
Tiếng Việt (Vietnamština)
Українська (Ukrajinština)
Nahlásit problém s překladem
objPos.y = objPos.y * globalScaleFactor + 0.1
Here's how you can make any object into a memory bag:
- (A) Use this mod: https://gtm.steamproxy.vip/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://gtm.steamproxy.vip/sharedfiles/filedetails/?id=1347434285
- https://gtm.steamproxy.vip/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.