Please or Register to create posts and topics.

Orange Portal Crash Error

I want to control placements of orange portals using a prop_portal and a logic_auto OnMapSpawn, but Portal crashes just before the level finishes loading. What's going on?

Current Community Contributor status: not a community contributor. Lost it. :(

First of all, it might not be the autoportals that are causing the crash. Second, is there any chance you can post the VMF?

Image
Now with 100% more inline comments!

Well I removed the logic_auto and the map didn't crash, but the prop_portal also completely disappeared. Also, I kinda haven't even gotten to the stage yet in learning about map design that I know how to show you the VMF.

EDIT: Right, so the prop_portal disappeared because I'm an idiot.

Current Community Contributor status: not a community contributor. Lost it. :(

So you find the .vmf in your computer on Program Files/Steam/Steamapps/Common/Portal 2/Sdk Content
and then you make it a .zip file and then upload it to the site.

My Maps:
[spoiler][SP] Alternate[/spoiler]

Question: Do you have an info_player_spawn? if not, your map will crash. IT's going to look like a little green guy with glasses.

My Maps:
[spoiler][SP] Alternate[/spoiler]

Yes, I have a spawn. I also pinpointed what was going wrong. It's the "New Location" Output for the trigger. The moment I activate the trigger and it tries to move the portal, it crashes. I have tried fizzling the portal before the move, but to no avail.

Current Community Contributor status: not a community contributor. Lost it. :(
Vordwann wrote:
So you find the .vmf in your computer on Program Files/Steam/Steamapps/Common/Portal 2/Sdk Content
and then you make it a .zip file and then upload it to the site.

This. My first guess would be to copy the entire map into a new file and see if it stops crashing, but really seeing the VMF would help. Zip it and upload it as an attachment when posting.

Image
Now with 100% more inline comments!

I realised what I did wrong now. I forgot to set a "Pitch Yaw Roll" on the new location and it got angry. Thanks anyway.

Current Community Contributor status: not a community contributor. Lost it. :(