Page 2 of 2

Re: On click with left Mouse Button

Posted: Sun Sep 29, 2013 4:38 am
by Eleven Warrior
Hi Mysblade..

This is what I have ATM..

defineObject{
name = "IObject",
baseObject = "scroll",
uiName = "Invisible",
class = "Item",
model = "assets/models/items/scroll.fbx",
gfxIndex = 30,
scroll = true,
weight = 0.3,
description = "ITEST",
}

cloneObject{
name = "IObject_2",
uiName = "Invisible 1",
baseObject = "IObject",
description = "Itest1",
}

This only works if I add this to my (init.lua) file

if ( item.name == "IObject" )then playSound("mine_horror04") end

Is there a way I can Copy the Invisisble Texture onto the (Scroll), like you have on the Invisisble Dragon statue you gave me.. I have Grimrock Model Toolkit and Gimp 2.. I tried to find the Texture (Invisible) in Grimrock Toolkit that is on the Dragon Object. There is no such Texture, except on your Model..
Cannot find it in under (Tools) Material Find/Replace.

Re: On click with left Mouse Button

Posted: Sun Sep 29, 2013 6:13 pm
by msyblade
In GMT, in the same menu as find/replace, you can point GMT to the folder where you want it to look for textures. point it to the mod_assets folder where the invis one is located. Or, redefine a scroll and point the model line to the invis model. Hope this helps!