Re: [Models] Captivated by Captive
Posted: Mon Jan 14, 2013 9:09 pm
Well, to be fair, I need to make edits in both objects.lua and wall_sets.lua, and the exact nature of those changes isn't covered in the tutorial.
I'm still owrking out some strange problems I found, but the model is showing up now.
my objects.lua looks like this:
defineObject{
name = "CaptiveWall001",
class = "Decoration",
model = "mod_assets/models/CaptiveWall001.fbx",
placement = "wall",
replacesWall = true,
editorIcon = 50,
}
and my wallsets looks like this:
defineWallSet{
name = "Captive",
randomFloorFacing = true,
floors = {
"assets/models/env/temple_floor_01.fbx", 30,
"assets/models/env/temple_floor_drainage.fbx", 1,
},
walls = {
"mod_assets/models/CaptiveWall001.fbx", 50,
"assets/models/env/temple_wall_01.fbx", 50,
"assets/models/env/temple_wall_drainage.fbx", 1,
},
pillars = {
"assets/models/env/temple_pillar.fbx", 1,
},
ceilings = {
"assets/models/env/temple_ceiling.fbx", 1,
},
ceilingShafts = {
"assets/models/env/temple_ceiling_pit.fbx", 1,
},
floorDecorations = {
},
wallDecorations = {
"assets/models/env/metal_hooks_wall.fbx", 1,
"assets/models/env/metal_hooks_chain_wall.fbx", 1,
},
pillarDecorations = {
"assets/models/env/metal_hook_pillar.fbx", 1,
"assets/models/env/metal_hook_chain_pillar.fbx", 1,
"assets/models/env/metal_ring_pillar.fbx", 1,
},
}
however there is more to do. At present, when I place these, they seem to show me the invisible backside in the direction that they should be facing the front. When I go around them it displays nortmally at least, so the model is correct. Now I just need to see what changes need to be made in the object.
I'm still owrking out some strange problems I found, but the model is showing up now.
my objects.lua looks like this:
defineObject{
name = "CaptiveWall001",
class = "Decoration",
model = "mod_assets/models/CaptiveWall001.fbx",
placement = "wall",
replacesWall = true,
editorIcon = 50,
}
and my wallsets looks like this:
defineWallSet{
name = "Captive",
randomFloorFacing = true,
floors = {
"assets/models/env/temple_floor_01.fbx", 30,
"assets/models/env/temple_floor_drainage.fbx", 1,
},
walls = {
"mod_assets/models/CaptiveWall001.fbx", 50,
"assets/models/env/temple_wall_01.fbx", 50,
"assets/models/env/temple_wall_drainage.fbx", 1,
},
pillars = {
"assets/models/env/temple_pillar.fbx", 1,
},
ceilings = {
"assets/models/env/temple_ceiling.fbx", 1,
},
ceilingShafts = {
"assets/models/env/temple_ceiling_pit.fbx", 1,
},
floorDecorations = {
},
wallDecorations = {
"assets/models/env/metal_hooks_wall.fbx", 1,
"assets/models/env/metal_hooks_chain_wall.fbx", 1,
},
pillarDecorations = {
"assets/models/env/metal_hook_pillar.fbx", 1,
"assets/models/env/metal_hook_chain_pillar.fbx", 1,
"assets/models/env/metal_ring_pillar.fbx", 1,
},
}
however there is more to do. At present, when I place these, they seem to show me the invisible backside in the direction that they should be facing the front. When I go around them it displays nortmally at least, so the model is correct. Now I just need to see what changes need to be made in the object.