Unused objects from asset packs

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
kobus2010
Posts: 7
Joined: Fri Oct 13, 2017 11:01 am

Unused objects from asset packs

Post 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?
minmay
Posts: 2768
Joined: Mon Sep 23, 2013 2:24 am

Re: Unused objects from asset packs

Post 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.
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.
kobus2010
Posts: 7
Joined: Fri Oct 13, 2017 11:01 am

Re: Unused objects from asset packs

Post 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.
Post Reply