Strange crash when using prop_floor_button
Quote from JakeeeD on July 16, 2011, 9:03 amI'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'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.
Quote from Groxkiller585 on July 16, 2011, 11:36 amJakeeeD 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)
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)

Quote from JakeeeD on July 16, 2011, 1:01 pmSo, 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.
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.
Quote from Skotty on July 16, 2011, 6:00 pmTried to give any output to the crashing button? Maybe it needs a output. For example: OnPressed <object xy> FireUser1
Tried to give any output to the crashing button? Maybe it needs a output. For example: OnPressed <object xy> FireUser1
Quote from JakeeeD on July 17, 2011, 4:33 pmIt 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.
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.
Quote from Skotty on July 17, 2011, 4:49 pmglobal_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".
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".
Quote from JakeeeD on July 18, 2011, 3:05 amOkay. 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.
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.
