Editing a Y value in json has no effect with "OnTerrain": trueSolved

When I change the Y value for this large furnace at bandit it does nothing. X, and Z changes do move it around. Oddly enough changing Y value for a large furnace at outpost works as expected. Any idea? screenshot of location, and partial json clip: https://imgur.com/a/mSx2vDI and https://pastebin.com/dbn96YRx

That's due to "OnTerrain": true, which is automatically set if you spawned the entity really close to the terrain height. While that property is true, the entity will always be spawned at the terrain height. This is done since some monuments may or may not consistently be level with terrain. For example, that was the case with the old tunnel entrances that had stairs and would spawn as standalone monuments, which have since been removed from the game. If you want to adjust the Y, set "OnTerrain": false. Alternatively, if you move the entity with telekinesis, the OnTerrain property will automatically be re-determined.

Sorry I don't see that mentioned anywhere. It is not a value in my config either.

It's right there in the pastebin you linked. It's a per-entity setting. It's normally hidden when set to false.

"bandit_town": {
  "Entities": [
    {
      "Id": "5562b136-12b4-4c27-91f2-be76ed055878",
      "Position": {
        "x": 34.7,
        "y": 1.0,
        "z": -9.5
      },
      "RotationAngles": {
        "x": 0.0,
        "y": 222.0,
        "z": 0.0
      },
----> "OnTerrain": true,
      "PrefabName": "assets/prefabs/deployable/furnace.large/furnace.large.prefab"
    },

well shoot I'm blind, I'd of had no idea what that was even for tho.

I can rename it to SnapToTerrain in a future update.

I intentionally don't document the data file options since I don't intend for people to edit them directly in the majority of cases. I'd be happy to hear about any feature gaps that motivate you to edit the data files directly. In terms of moving entities, I put a lot of work into Telekinesis for that use case, and I plan on building a more sophisticated and specialized tool called Transform Tool in the future.

It might have placed as intended if wasn't for that OnTerrain. So far no issues besides that. I'm comfortable editing the file. More so then installing, configuring, and learning another plugin. Thanks for this plugin, such a breeze!

Locked automatically