Code: Select all
cloneObject{
name = "anvil",
baseObject = "altar",
uiName = "Anvil",
model = "mod_assets/models/crummyanvil.fbx",
normalMap = "mod_assets/models/crummyanvil_normal.dds",
diffuseMap = "mod_assets/models/crummyanvil_dif.dds",
specularMap = "mod_assets/models/crummyanvil_spec.dds",
glossiness = 0,
lighting = false,
anchorPos = vec(0, 0, 5),
anchorRotation = vec(0, 0, 0),
targetPos = vec(0, 2.0, 0),
targetSize = vec(50, 50, 50),
}
http://imgur.com/mqrAm
I realize I have no idea what I'm doing. Should I be figuring out what my vertices and such for perfectly wrapping a texture around, even if I'm ok with a flat single colour object? Because I have no idea where to start doing that, or how to tell the script, model, or texture image what it's supposed to do. I hope someone can help me out, this is one of the things I want to fix before I release my dungeon to the wilds.