Page 1 of 1

Unused objects from asset packs

Posted: Mon Nov 01, 2021 3:51 am
by kobus2010
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

Posted: Mon Nov 01, 2021 7:00 am
by minmay
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:

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
No automated tool can reliably catch these cases.

Re: Unused objects from asset packs

Posted: Mon Nov 01, 2021 6:43 pm
by kobus2010
K, will try manual. I'll likely end up using more of your resource pak and import all anyways ... was just wondering. Thx minmay.