Don't Starve Together

Don't Starve Together

182 betyg
Glassic API
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Filstorlek
Lades upp
Uppdaterades
85.340 KB
19 jun, 2021 @ 23:06
13 jun @ 20:53
149 ändringsnotiser ( visa )

Abonnera för att ladda ner
Glassic API

I 1 samling av 小鸭momo
饥荒破解版
4 artiklar
Beskrivning
PROHIBIT REPRODUCE TO WeGame

-> Github[github.com]

Glaasic API is a utility that helps you create a mod easier, or create an official-like skin.

Try it now!

Credits:
25 kommentarer
小鸭momo  [skapare] 5 dec, 2024 @ 5:03 
@Applejack 本模组只保证与官方兼容,不保证与第三方模组的兼容性,有需求可以联系对方。
Applejack 3 dec, 2024 @ 0:45 
在两者都启用的情况下这个mod提供的皮肤会透明并制作就会报错
Applejack 3 dec, 2024 @ 0:44 
@小鸭momo 它只是和Modded Skins冲突,关掉后者之后就不会闪退了
小鸭momo  [skapare] 30 nov, 2024 @ 20:58 
@Applejack Please describe what's happening before game crashed.
Applejack 29 nov, 2024 @ 23:22 
[05:01:57]: [string "../mods/workshop-2521851770/utils/skinhandl..."]:128: attempt to index field '?' (a nil value)
LUA ERROR stack traceback:
../mods/workshop-2521851770/utils/skinhandler.lua:148 in (method) ReskinEntity (Lua) <142-151>
scripts/prefabs/reskin_tool.lua:181 in (field) fn (Lua) <131-201>
scripts/scheduler.lua:186 in (method) OnTick (Lua) <164-216>
scripts/scheduler.lua:409 in (global) RunScheduler (Lua) <407-415>
scripts/update.lua:240 in () ? (Lua) <224-298>

[05:01:57]: Could not find anim build ms_spear_obsidian_spinner
小鸭momo  [skapare] 20 okt, 2024 @ 5:54 
@FishCakesVT Read docs in modmain.
FishcakesVT 16 okt, 2024 @ 15:43 
how does it work?
St. Monc 17 jun, 2023 @ 11:00 
how can i make a mod?
Haruhi Kawaii ✧(≖◡≖✿) 19 mar, 2023 @ 8:11 
@Civi Thank you very much, all problem solved
小鸭momo  [skapare] 19 mar, 2023 @ 6:07 
@Haruhi Kawaii (*ෆ´ ˘ `ෆ*) I've seen that. Here's my suggestion.
1. Move "prefabskin.lua" from "scripts" to "main" to avoid compatibility issues.
2. Add a line "init_fn = GlassicAPI.BasicInitFn " in "CreatePrefabSkin(...)". e.g.
table.insert(prefabs, CreatePrefabSkin("kochosei_hat2", {
...
init_fn = GlassicAPI.BasicInitFn,
...
3. Comment line 9 in "prefabskin.lua".
-- GlassicAPI.SetOnequipSkinItem("kochosei_hat1", {"swap_object", "swap_hat", "swap_hat"})
* Because you have written "owner.AnimState:OverrideItemSkinSymbol" in OnEquip fn in "kochosei_hat1.lua", so you don't need to set onequipskinitem for it anymore. "GlassicAPI.SetOnequipSkinItem" is somehow a way to hack in items that are missing "owner.AnimState:OverrideItemSkinSymbol" in their OnEquip function.