BEE2-items icon indicating copy to clipboard operation
BEE2-items copied to clipboard

Retractable Floor Button causes weird floating geometry

Open pompousspaniard opened this issue 4 years ago • 18 comments

BEE2 version: 4.40.2

Description of the bug: In Clean, Old Ap and Overgrown, under some circumstances, which appear to be random (depending on position, rotation, surface colour, and who knows what else) Retractable Floor Buttons spawn with some weird floating tiles on top.

retract_button_geometry

Expected behavior: The Retractable Floor Button should not spawn with any extra geometry, as it can, in some instances, partially prevent the cube from activating the button. This issue is most noticieable in Old Aperture and Overgrown styles, where the button may not be pushed upwards by a piston.

620_20210812063010_1 620_20210812062827_1

Steps to reproduce: In a chamber, place a retractable button that can open and close (I used a button and a toggle latch here for simplicity's sake). I found that this position tends to spawn that weird geometry, placing the button right next to a wall or changing surface colour also seems to work relatively well.

620_20210812065335_1

pompousspaniard avatar Aug 12 '21 06:08 pompousspaniard

Thie issue is somewhat similar to this one: https://github.com/BEEmod/BEE2-items/issues/3430 However that was just Portal 1 style, I had not tested the other styles with it.

FrozenDragon0 avatar Aug 12 '21 06:08 FrozenDragon0

FrozenDragon0 said: "Thie issue is somewhat similar to this one: #3430 However that was just Portal 1 style, I had not tested the other styles with it."

Actually not, they are very different as that one was about the button´s base having z-fighting issues, and this one looks like a piece of white tile on top of the button.

LautaroL20 avatar Aug 12 '21 10:08 LautaroL20

Seems fixed

vrad-exe avatar Sep 14 '21 05:09 vrad-exe

I have tested this with the recent Beta 4 and unfortunately, it still happens:

Image

LautaroL20 avatar Sep 14 '21 23:09 LautaroL20

I couldn't reproduce it, even with the floor using multicolored tiles, can you send the P2C file over?

vrad-exe avatar Sep 14 '21 23:09 vrad-exe

Here is the P2C file: 1631665424 p2c.zip

The test are basically 2 Retractable Floor Buttons (one which starts enabled and the other not) and a timmed left-pedestal button connected to them: 20210914212126_1

LautaroL20 avatar Sep 15 '21 00:09 LautaroL20

Oh, maybe it's caused by starting enabled? I haven't checked that map yet but it did just occur to me that I never tried having one of the buttons start enabled.

vrad-exe avatar Sep 15 '21 00:09 vrad-exe

Oh, maybe it's caused by starting enabled?

That or maybe it is the timed left-pedestal button connected to them which may generate this weirdness, I can reproduce this issue relatively easily I must say.

LautaroL20 avatar Sep 15 '21 00:09 LautaroL20

This seems like a compiler issue? The tilesetters are there, and it's also inconsistent.

vrad-exe avatar Oct 04 '21 03:10 vrad-exe

Who knows... where you finally able to replicate the issue?

LautaroL20 avatar Oct 04 '21 03:10 LautaroL20

Yeah, couldn't fix it though.

vrad-exe avatar Oct 04 '21 04:10 vrad-exe

Expected behavior: The Retractable Floor Button should not spawn with any extra geometry, as it can, in some instances, partially prevent the cube from activating the button.

I see what you did there. Speaking of prefabs, we could try going into the vmf itself and see if the geometry is in there.

slambo312 avatar Oct 13 '21 21:10 slambo312

What? Nobody said anything about prefabs. I did check all the instances, templates, and configs, I didn't see anything that would cause this.

vrad-exe avatar Oct 13 '21 21:10 vrad-exe

"it can, in some instances" Prefabs are called instances in the files sometimes. Plus, different styles have different prefabs.

slambo312 avatar Oct 13 '21 21:10 slambo312

Prefabs and instances are different things. They meant instances as in "cases", not literal Source instances...

vrad-exe avatar Oct 13 '21 21:10 vrad-exe

It's definitely a bug somewhere in the compiler, the templates are all correct.

TeamSpen210 avatar Oct 13 '21 22:10 TeamSpen210

Prefabs and instances are different things. They meant instances as in "cases", not literal Source instances...

it's a joke

slambo312 avatar Oct 13 '21 22:10 slambo312

Still an issue as of 4.46.1

vrad-exe avatar Nov 29 '25 02:11 vrad-exe