func_rotating crashes to desktop

func_rotating crashes to desktop

Re: func_rotating crashes to desktop Posted by DrFrag on Wed Jun 20th 2007 at 12:54am
DrFrag
62 posts
Posted 2007-06-20 12:54am
DrFrag
member
62 posts 16 snarkmarks Registered: Jan 12th 2005 Location: Australia
I have some rotating objects in my map that I want to have stop in their original position. I'm using func_rotating and they spin up fine, and stopping with a normal Stop input works too.

However, when I trigger a stop using the StopAtStartPos input, the game crashes to the desktop as soon as the entity reaches its starting point. I can see it make the remainder of its rotation. Then no error messages, the whole game just vanishes. I've tried trigger_multiple and func_button for activation.

In case it was a problem with my map, I created a new map with simple box just to test func_rotating. Stop works fine, StopAtStartPos crashes to desktop.

Has anyone else come across this or know the cause?

Can someone please test this on their system?
Re: func_rotating crashes to desktop Posted by Stadric on Fri Jun 22nd 2007 at 4:58am
Stadric
848 posts
Posted 2007-06-22 4:58am
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
It does the same to me. I guess this is just one of those things Valve never finished because they never used it.

Unless you're running a rotating object that can be stopped at any time, use a func_door_rotating. They can also stop at their starting point, you just have to set their rotation amount to something divisible by 360.
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying
Re: func_rotating crashes to desktop Posted by quanta on Fri Jul 6th 2007 at 6:22pm
quanta
33 posts
Posted 2007-07-06 6:22pm
quanta
member
33 posts 53 snarkmarks Registered: Jun 14th 2007 Occupation: Student/Programmer Location: USA
That's actually quite odd. I've played in a map that uses the same idea, even Kleiner's lab (teleporter rings) uses this idea, so I have no clue what the issue would be.
People its snarkpit.net not snarkpit.com! Be sure to check this when you add links!
Re: func_rotating crashes to desktop Posted by Riven on Sat Jul 7th 2007 at 6:28am
Riven
1640 posts
Posted 2007-07-07 6:28am
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Well, I wanted to see what might be wrong, so I ripped one of the rings from the Kleiner Lab scene and put it into a map to test. I added a separate button for each input. One button tells it simply to start, and the other to "StopAtStartPosition." Compiled it, and it worked just fine. So, I have uploaded it here for you all to download and see what might be different.

Are you telling it to start via the "StopAtStartPosition" input? Otherwise, you tell me what's wrong, because the map I've uploaded works just fine for me without a crash...

Good luck!
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: func_rotating crashes to desktop Posted by Stadric on Sat Jul 7th 2007 at 6:35pm
Stadric
848 posts
Posted 2007-07-07 6:35pm
Stadric
member
848 posts 585 snarkmarks Registered: Jun 3rd 2005 Occupation: Slacker Location: Here
I told it to stop with the stopatstartposition input. I did use a logic_auto for this as well as starting it, that may have something to do with it.
Also change the texture of the dock. Docks are rarely tile. -Facepunch
As I Lay Dying
Re: func_rotating crashes to desktop Posted by DrFrag on Wed Aug 8th 2007 at 12:05am
DrFrag
62 posts
Posted 2007-08-08 12:05am
DrFrag
member
62 posts 16 snarkmarks Registered: Jan 12th 2005 Location: Australia
I think I've found the bug. It only crashes when the Acc/Dcc flag is unticked.

I've tested it on Riven's map and my own earlier test map.

Edit: I've submitted this to Valve.