Print("Hey Guys")
-- I would like an item that the player cannot interact with,
-- but can be used on pressure plates, can be teleported, inserted in alcoves/altars etc so
IWouldLikeToAsk()
.....if it is possible to clone an item (ex. rock) and totally remove it's model then show me how
.....esleif it is easy to change a coulple of the item's parameters so it can be transparent then which ones are those
.....esle dunno, you tell me :P
.....end
end
print("Thanks in advance")
print("PS How the hell do I insert spaces before the first character on a new line? :S")
Unobtainable or Invisible Item
Re: Unobtainable or Invisible Item
Code: Select all
hudPrint("Easy Peasy!")
function makeInvisible()
rock:open(in_GMT)
local a = GMT.Tools = Material Find / Replace
a:select(existing material name)
a:select(new material name) -- needs to be a clear one!
a:close()
GMT.File = SaveAs("your_dungeon_folders_models.rock_clear.model")
defineInvis()
end
function defineInvis()
local b = your_dungeon_folders_objects.lua
b:open()
b:insertCode()
end
function insertCode()
cloneObject{
name = "rock_clear",
baseObject = "rock",
uiName = "Invisible Rock",
model = "assets/models/items/rock_clear.fbx",
}
end
-- somebody around here made a "clear walls" object/texture setup ready to go, can't remember where.
-- if you can't find it, "dream_fog_2" is close to clearFinished Dungeons - complete mods to play
Re: Unobtainable or Invisible Item
there is also the age old trick of making a transparent .dds texture, using GMT to make a new model out of that same mesh, just referring to the new texture and saving, and re-defineing a new rock obj with the same or different parameters.
As for making it non-pick-upable, not sure but it appears to definitely be doable. Something about mouseclick = nil
As for making it non-pick-upable, not sure but it appears to definitely be doable. Something about mouseclick = nil
