Solved Can Build in Some Angles, Not Others

Papster

Supporter
In Tree House 1.2.0
  • Trees that sit in no-build zones (monuments, safe zones, tool-cupboard range, etc.) can no longer be claimed for tree-house building.
This does not seem to be completely accurate. I just put a platform up close to a river. Expanding the floor by a single triangle on one side and then trying to place a triangle on the opposite side resulted in the can't build error.

However, getting myself into odd angles and positions could randomly have those pieces turn blue and be able to be placed. This pattern continued while trying to place walls or ceiling tiles. It was quite tedious.

Not sure why it is throwing the no build error because it does not appear to be a no build zone. I can place foundations randomly in the same area as the tree.
 

Attachments

  • Screenshot 2025-05-23 165719.png
    Screenshot 2025-05-23 165719.png
    1.1 MB · Views: 3
That happens because the player steps outside the custom build zone around the tree. Once they're out of it, the game reverts to vanilla logic, which blocks building on or near vine-swinging trees by default. The plugin overrides that with its own custom zone, but if you're building at certain angles or positions, it might fail due to being outside the zone

I have increased the radius, so it should work better in the next release
 
Back
Top
Chat commands start with a /, while console commands can be entered directly in the F1 console or server console. Use find <keyword> in console to search for available commands related to the plugin. Parameters in < > are required, while [ ] are optional.
This plugin uses Oxide's permission system. Grant or revoke permissions using oxide.grant and oxide.revoke. You can assign them to individual players or groups using their Steam id or group name.
Settings are stored in the config file found under the config/ directory. You can edit this file manually, then reload the plugin to apply your changes.
Persistent data is saved in the data/ directory. This includes things like saved settings, usage stats, or player progress depending on the plugin. Deleting a data file will reset stored progress or customizations.
Language files are located in the lang/ folder. To translate messages, copy the en.json file into your target language folder (e.g. fr, de) and edit the values. Reload the plugin after changes to apply new messages.
This section lists public methods exposed by the plugin for use in other plugins. You can call these via the CallHook method. Ensure the plugin is loaded before calling its API to avoid null reference errors.
These are custom hooks that other plugins can listen for. Simply define a method with the same name and expected parameters in your plugin to handle the event. Hooks are triggered at key moments and are useful for extending or reacting to plugin behavior.
These hooks are injected into the game's code using Harmony. They let the plugin run code at key points in the game's internal logic. You can return values to block or modify behavior. Use with caution — these are powerful and can affect core mechanics.
Cart