Unused objects from asset packs
Unused objects from asset packs
I am planning on using multiple tilesets/toolkits/etc. Is there a process (or tool/utility?) than can help me just extract the objects I need? Example: so far only need coins from Germanny's resource. Seems like my dungeon is going to get very big very quick. I do see dungeon authors listing lots of credits, do they bundle everything - what's the best practice?
Re: Unused objects from asset packs
You'll have to do it by hand, sorry.
This can't reliably be done automatically, because asset filenames can be generated and loaded dynamically. Say you have a script in your dungeon that uses ModelComponent:setModel with a dynamically generated string when a button is pressed:No automated tool can reliably catch these cases.
This can't reliably be done automatically, because asset filenames can be generated and loaded dynamically. Say you have a script in your dungeon that uses ModelComponent:setModel with a dynamically generated string when a button is pressed:
Code: Select all
i = 0
function pressButton(button)
if i < 3 then
i = i+1
button.go.model:setModel("mod_assets/models/button_"..i..".fbx")
end
end
Grimrock 1 dungeon
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Grimrock 2 resources
I no longer answer scripting questions in private messages. Please ask in a forum topic or this Discord server.
Re: Unused objects from asset packs
K, will try manual. I'll likely end up using more of your resource pak and import all anyways ... was just wondering. Thx minmay.