Web 1 - lowered, angled a bit and attached to the wall:
Made possible by already legend Dr. J and his GMT!
EDIT — spiderweb files:
webs.zip
You need one material def. and 4 objects:
Code: Select all
defineMaterial{
name = "spider_web",
diffuseMap = "assets/textures/props/spider_webs_dif.tga",
doubleSided = true,
lighting = false,
alphaTest = false,
blendMode = "Translucent",
textureAddressMode = "Wrap",
glossiness = 20,
depthBias = 0,
}
cloneObject{
name = "dungeon_spider_web_1",
baseObject = "dungeon_spider_web_1",
model = "mod_assets/models/spider_web_1.fbx",
}
cloneObject{
name = "dungeon_spider_web_2",
baseObject = "dungeon_spider_web_2",
model = "mod_assets/models/spider_web_2.fbx",
}
cloneObject{
name = "dungeon_spider_web_3",
baseObject = "dungeon_spider_web_3",
model = "mod_assets/models/spider_web_3.fbx",
}
cloneObject{
name = "dungeon_spider_web_4",
baseObject = "dungeon_spider_web_4",
model = "mod_assets/models/spider_web_4.fbx",
}
shortsword.zip
Definitions:
Code: Select all
defineMaterial{
name = "short_sword",
diffuseMap = "mod_assets/textures/short_sword_dif.tga",
specularMap = "assets/textures/items/long_sword_spec.tga",
doubleSided = false,
lighting = true,
alphaTest = false,
blendMode = "Opaque",
textureAddressMode = "Wrap",
glossiness = 45,
depthBias = 0,
}
cloneObject{
name = "short_sword",
baseObject = "long_sword",
uiName = "Shortsword",
gfxAtlas = "mod_assets/textures/icons.tga", --change filename to your icons file
gfxIndex = 1, --change gfxIndex to match your icons file
model = "mod_assets/models/short_sword.fbx",
attackPower = 10,
coolDownTime = 3,
weight = 2.0,
}
ceiling_lantern.model
Place the LightSource object on the lantern, you also need to add a playSoundAt("torch_burning", level, x, y) in a SE.
Code: Select all
defineObject{
name = "ceiling_lantern_fx",
class = "LightSource",
lightPosition = vec(0, 2.58, 0),
lightRange = 12,
lightColor = vec(0.7, 0.5, 0.5),
brightness = 12,
castShadow = true,
particleSystem = "torch",
placement = "floor",
editorIcon = 88,
}
defineObject{
name = "ceiling_lantern",
class = "Decoration",
model = "mod_assets/models/ceiling_lantern.fbx",
placement = "floor",
editorIcon = 84,
}