sirskunkalot / PlanBuild

Valheim mod enabling you to plan buildings, copy structures and terraform
Do What The F*ck You Want To Public License
8 stars 13 forks source link

Direct build may be broken #36

Closed luxzg closed 2 years ago

luxzg commented 2 years ago

Hi, to be clear from start I am NOT 100% sure but - direct build option (left CTRL) seems to be broken.

With today's patch the selection tool works again (select all connected option) so I was able to make a blueprint, and I am able to place that blueprint (and could use totem to build but it's huge, 10k wood 1k iron), but I wanted to check it out with direct build, and it just - did nothing. Checking the blueprint with crystal and fly mode looks like blueprint itself is ok.

Could someone else check this tool option and confirm? PlanBuild 0.9.3, released today.

Thanks!

P.s. and thanks for fixing select tool :)

sirskunkalot commented 2 years ago

There was a change regarding the direct build with one of the last patches. There is a new config for default build option now, maybe you actually did build a planned version using the modifier key?

sirskunkalot commented 2 years ago

Another possibility: Direct build is by default only enabled for admins and has to be enabled for non-admins on a server via config.

luxzg commented 2 years ago

I will try deleting old config and let it recreate new one, maybe some conflict there or something. It's on my singleplayer instance, so I should be admin (?). I'll report tomorrow when I get back to PC

sirskunkalot commented 2 years ago

Yes, in local play you are always admin.

luxzg commented 2 years ago

Ok, so I checked. I deleted old config, made no change. Made change using config manager for few settings, then noticed I need to logout/login to apply them. But enabling direct build and making logout/load game did not enable direct build via Left Ctrl. To be clear doing click with modifier key does nothing (neither planned nor direct build is placed).

Now, finally I made Direct the default build mode via config, then made logout, reload save, and was able to place a direct build BUT! Modifier key still did not work, so I lost ability to place planned build.

It's ok, I don't do that all so often, I can change config according to my current needs and reload the saved game. But it still seems weird.

Config only mentions Left Control as delete modifier key, not otherwise. So I'm going by the onscreen tips. When in default config, it says L-Shift for camera distance and L-Ctrl for direct build, and then x/y/z modifiers. Left Shift for camera works, so do all the x/y/z modifiers. So I don't think it's keybindig conflict of some kind.

Anyway, the take is that only the L-Ctrl + L-Mouse combo does not work (for me), while Direct and Planned builds do work when being placed just with L-Mouse.