Page 1 of 1

Custom floor issues

Posted: Thu Nov 13, 2014 6:51 pm
by MadCatter
I have tried making some simple custom floors, just wood textures for now, but the texture clips through the floor.

Am I missing something in the object definition that makes it replace the floor underneath?

Code: Select all

defineObject{
   name = "wooden_floor_1",
      components = {
      {
         class = "Model",
         model = "mod_assets/models/sx_wooden_floor.fbx",
      },
      {
         class = "Occluder",
      },
   },
   placement = "floor",
   randomFloorFacing = false,
   editorIcon = 100,
}


Re: Custom floor issues

Posted: Thu Nov 13, 2014 7:20 pm
by Batty
replacesFloor: (optional) a boolean, if true the object removes an existing floor object when spawned.