Git Product home page Git Product logo

timberborn-mirrorbuildings's People

Contributors

hytonhan avatar

Watchers

 avatar

timberborn-mirrorbuildings's Issues

Flipped Buildings don't share power from flipped door side.

I noticed that one of my buildings wasn't sharing power after I flipped it. It seems the spot the door is at, is still the thing that shares power.

20220917141255_1

When placing the power shaft, the door is the one that shares power in this screenshot.

Certain buildings shouldn't be mirror-able. Visual Glitches.

I had an incident with the corner power shaft looking rather strange, couldn't figure it out, and it seems that mirror holds even after you place a structure. (Personally, I think the mirror status should reset after you've placed your structure and just need to click it each time, but anyway)

image

So I don't think any power shaft should be mirror-able, since they don't mirror properly visually speaking. There are also other buildings that probably don't need to be mirrorable, like the shower which only is 1 wide and has only one entrance. It mirrors, but almost nothing changes except for the shadows on the model which looks a little bizarre.

Crash on experimental branch

Running the latest Timberborn experimental (0.2.2.1) and I just updated the TimberAPI to 0.4.2 and then tried out this mod. Game loads and all, but as soon as I click on the build button for a house, it crashes and spews this to the console:

[Error  : Unity Log] MissingFieldException: Field not found: UnityEngine.GameObject Timberborn.Buildings.BuildingModel.FinishedModel Due to: Could not find field in class
Stack trace:
(wrapper dynamic-method) Timberborn.BlockSystem.BlockObject.DMD<Timberborn.BlockSystem.BlockObject::Reposition>(Timberborn.BlockSystem.BlockObject,UnityEngine.Vector3Int,Timberborn.Coordinates.Orientation)
Timberborn.PreviewSystem.Preview.Reposition (UnityEngine.Vector3Int coordinates, Timberborn.Coordinates.Orientation orientation) (at <897ac4444ffe40b29f665ed76fc64e5b>:0)
Timberborn.PreviewSystem.PreviewPlacer.GetPositionedPreviews (System.Collections.Generic.IEnumerable`1[T] blocks, Timberborn.Coordinates.Orientation orientation, System.Int32& blocksCount) (at <897ac4444ffe40b29f665ed76fc64e5b>:0)
Timberborn.PreviewSystem.PreviewPlacer.GetPositionedBuildablePreviews (System.Collections.Generic.IEnumerable`1[T] blocks, Timberborn.Coordinates.Orientation orientation, System.Int32& blocksCount) (at <897ac4444ffe40b29f665ed76fc64e5b>:0)
Timberborn.PreviewSystem.PreviewPlacer.GetBuildablePreviewsAndAddToBlockServices (System.Collections.Generic.IEnumerable`1[T] blocks, Timberborn.Coordinates.Orientation orientation, System.Int32& blocksCount) (at <897ac4444ffe40b29f665ed76fc64e5b>:0)
Timberborn.PreviewSystem.PreviewPlacer.ShowPreviews (System.Collections.Generic.IEnumerable`1[T] blocks, Timberborn.Coordinates.Orientation orientation) (at <897ac4444ffe40b29f665ed76fc64e5b>:0)
Timberborn.BlockObjectTools.BlockObjectTool.ShowPreviews (System.Collections.Generic.IEnumerable`1[T] blocks) (at <4c4cdef6a3dc4f66b97b5f1daedfd9ee>:0)
Timberborn.BlockObjectTools.BlockObjectTool.PreviewCallback (System.Collections.Generic.IEnumerable`1[T] blocks, Timberborn.Coordinates.Orientation orientation) (at <4c4cdef6a3dc4f66b97b5f1daedfd9ee>:0)
Timberborn.AreaSelectionSystem.AreaPicker+<>c__DisplayClass9_0.<PickBlockObjectArea>b__0 (UnityEngine.Ray start, UnityEngine.Ray end, System.Boolean _) (at <dea27c45c7f04164b9b26349f59e7126>:0)
Timberborn.AreaSelectionSystem.AreaSelectionController.ProcessInput (Timberborn.AreaSelectionSystem.AreaSelectionController+RaysCallback previewCallback, Timberborn.AreaSelectionSystem.AreaSelectionController+RaysCallback actionCallback, System.Action showNoneCallback) (at <dea27c45c7f04164b9b26349f59e7126>:0)
Timberborn.AreaSelectionSystem.AreaPicker.PickBlockObjectArea (Timberborn.BlockSystem.PlaceableBlockObject blockObject, System.Int32 maxPoints, Timberborn.Coordinates.Orientation orientation, Timberborn.AreaSelectionSystem.AreaPicker+BlockObjectAreaCallback previewCallback, Timberborn.AreaSelectionSystem.AreaPicker+BlockObjectAreaCallback actionCallback) (at <dea27c45c7f04164b9b26349f59e7126>:0)
(wrapper dynamic-method) Timberborn.BlockObjectTools.BlockObjectTool.DMD<Timberborn.BlockObjectTools.BlockObjectTool::ProcessInput>(Timberborn.BlockObjectTools.BlockObjectTool)
Timberborn.InputSystem.InputService.CallInputProcessors () (at <f37eaf22de71479fa84e4b63c5a4dfec>:0)
Timberborn.InputSystem.InputService.Update () (at <f37eaf22de71479fa84e4b63c5a4dfec>:0)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.