Custom floor issues

Ask for help about creating mods and scripts for Grimrock 2 or share your tips, scripts, tools and assets with other modders here. Warning: forum contains spoilers!
Post Reply
User avatar
MadCatter
Posts: 34
Joined: Mon Nov 03, 2014 5:02 am
Location: Southampton, UK

Custom floor issues

Post 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,
}

Batty
Posts: 509
Joined: Sun Apr 15, 2012 7:04 pm

Re: Custom floor issues

Post by Batty »

replacesFloor: (optional) a boolean, if true the object removes an existing floor object when spawned.
Post Reply