I have a problem with the custom elevator I built for my map and it is an odd problem that I can't find any information about on the forums! (Which is a rarity, most stuff has been asked and answered before)...
I have a func_tracktrain, set up to run along some path_tracks. There is a prop_dynamic, some trigger_multiples and a func_brush parented to the train. The prop is the standard elevator. The triggers are for the door/train movement. The brush is a "floor" for the player to stand on.
It all works rather well. From start, to the stop. Player gets out. Elevator continues. Player goes around map solving the puzzle. Exit elevator is called. Player steps in, elevator moves off to the end_level trigger. Sweet. It works "flawlessly".
... Until the map is loaded from a save state ... at any point... stepping back into the elevator after loading a saved game crashes the game. Yes, the game. Not just the map, Portal 2 crashes to desktop, nothing in the console, nothing in the dump file/crash report. No clue as to why this is happening.
I've tried playing with every flag setting/interaction and the cause seems to be the StartForward command for the train (but only after a load remember!).. Resume has the same effect. It is repeatable. I even removed the StartForward Trigger and all is well > Enter the command via ent_fire in the console and bam! instant crash when resuming game..
And this only happens IF the player is standing on/in the brush/train/prop. (I can move the elevator from the sidelines with no problem)..I've turned off collisions, messed with brush/train sizes, meticulously toggled every flag, scrutinised my I/O logic.... I'm at my wits end.. so throwing this open to the gurus.. does anyone know why this is happening ?


