Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the rendering of blocks in the structure #14

Open
krupta opened this issue Oct 6, 2024 · 5 comments
Open

Changing the rendering of blocks in the structure #14

krupta opened this issue Oct 6, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@krupta
Copy link

krupta commented Oct 6, 2024

In the original mod, you could change the model of any block in the structure, the predicate function was responsible for this

But now this function works completely differently, instead of replacing the model, it changes the block that must be installed for the structure to work

@Yefancy Yefancy added the enhancement New feature or request label Oct 6, 2024
@Yefancy
Copy link
Member

Yefancy commented Oct 6, 2024

why such blocks are necessary for the structure? mbd2 can only use part block as inputs/outputs

@krupta
Copy link
Author

krupta commented Oct 6, 2024

we had 2 block options for the structure

1 when the structure is off or not working
2024-10-06_11 24 22

2 when the structure is on or working
2024-10-06_11 25 57

players like it when their structure changes its appearance after assembly, we also changed the usual variations of blocks to their animated versions while the structure was running
image

@Yefancy
Copy link
Member

Yefancy commented Oct 6, 2024

I may not have correctly understood what you want to do.
Could you describe your multiblock in details?
What do you mean by the changing model? You change the block? I don't remember mbd1 support rendering changing rather than the disable rendering

@krupta
Copy link
Author

krupta commented Oct 6, 2024

We checked our old structures and saw that there really is no such function
(although our task list indicates that we have implemented such a function)

How can I do something like this?
we have many multiblocks that are assembled from one type of blocks (for example, gravity bricks)
Unassembled structure:
image

assembled structure:
image

sorry my messages are hard to understand
Google Translate translates my language very badly

@Yefancy
Copy link
Member

Yefancy commented Oct 10, 2024

Sry for late reply

You can create the brick with mbd project as a part block and set different models for states

Do you have to create your blocks in other ways?

@Yefancy Yefancy closed this as completed Oct 20, 2024
@Yefancy Yefancy reopened this Oct 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants