Please or Register to create posts and topics.

Strange crash when using prop_floor_button

I'm working on a simple map where you have to bring a cube from a button to another button. But unfortunately, when you put the cube to the second button, the game crashes, no error messages and the map compiles fine.

The first button has output to change the direction of a funnel when unpressed, and the second one has no outputs.

Please help me. Thanks in advance.

JakeeeD wrote:
I'm working on a simple map where you have to bring a cube from a button to another button. But unfortunately, when you put the cube to the second button, the game crashes, no error messages and the map compiles fine.

The first button has output to change the direction of a funnel when unpressed, and the second one has no outputs.

Please help me. Thanks in advance.

I've had the game crash due to changing the funnel flow before, so I don't think it's the button but the funnel. Although that was on the fly and using negative numbers (which it appears the funnel is sensitive about for some reason)

Image

So, are there any ways to avoid the crash? Since I have to use funnel in that puzzle and I have to change the direction. I'm using the SetLinearForce output with values 250 and -250.

And the crash is strange, since the "empty" button does crash, not that button which changes the funnel direction.

Tried to give any output to the crashing button? Maybe it needs a output. For example: OnPressed <object xy> FireUser1

It still crashes even though it has an output. Also had a crash when holding a cube and jumped onto funnel. Strange. The funnel is neccessary to the puzzle (or not, moving platform is the second choice), so I would want to use it.

Also, how to use global_ents.vmf correctly? I have tried to do a good looking color correction and stuff. Still my level seems to be overbright and the walls look very bad and blurry.

global_ents.vmf is a instance. Place it anywhere in your map (outside) and call it something like "ambient"
Just place a logic_auto anywhere and set the following output: "OnMapSpawn ambient <whateversettingyouwant> trigger".

Okay. Thanks for your advice.

EDIT: It seems that the reason is not the map. I was playing official map today and it did crash similar way. No error messager or anything, it just throws me to desktop. And I have had the game for months and it has worked fine, but now it has started that, for some reason.