Portal 2
Portal 2 > General Discussions > Topic Details
Portλl Nerd Sep 13, 2012 @ 5:12pm
Portal 2 Authoring Tools Won't Upload
I'm having a problem uploading my first hammer map to the steam workshop. It says it doesn't meet the requirements for the workshop, and it sent me to this site, http://www.thinkwithportals.com/puzzlemaker/workshop_compatibility.php
I put in a func_instance and set the filename correctly. When I try to play the map it says that the file could not be found so I assume that is the problem. I then fllowed the dirrections on the second one adding the logic_relay and then connecting it to a trigger_once in the elevator. I skipped the last step, because it said it was optional. If anyone can help me I would really appreciate it. Thanks for your help.
< >
Showing 1-8 of 8 comments
Portλl Nerd Sep 14, 2012 @ 1:02pm 
Never ming I got it, for those of you that have the same problem the problem was with the func_instance. The filename it wants you to use is sdk_content/maps/instances/p2editor/global_pti_ents.vmf
what I found to work is using this:
instances/p2editor/global_pti_ents.vmf.
I hope this helps you if you have the same problem.
Ciirulean Nov 10, 2012 @ 1:13pm 
Originally posted by portal nerd:
Never ming I got it, for those of you that have the same problem the problem was with the func_instance. The filename it wants you to use is sdk_content/maps/instances/p2editor/global_pti_ents.vmf
what I found to work is using this:
instances/p2editor/global_pti_ents.vmf.
I hope this helps you if you have the same problem.
You save it into a map? I'm confused...
I exported it into the global_pti_ents but nothing happened.

EDIT: Oh wait, that screwed it up. How do I recover the global_pti_ents.vmf file?
Last edited by Ciirulean; Nov 10, 2012 @ 1:21pm
Super Ninja Fat Sep 1, 2014 @ 8:12pm 
Thanks! :D Helped my problem
Sockman Feb 18 @ 1:44pm 
Originally posted by Portλl Nerd:
Never ming I got it, for those of you that have the same problem the problem was with the func_instance. The filename it wants you to use is sdk_content/maps/instances/p2editor/global_pti_ents.vmf
what I found to work is using this:
instances/p2editor/global_pti_ents.vmf.
I hope this helps you if you have the same problem.
I'm still having the same issue... I feel like i've tried everything... I really need help.
Chippoka May 31 @ 7:09am 
Okay, I see this is an old discussion; but can someone tell me what the solution is to this problem this many years later? Above, it says the problem is the global_pti_ents needing to come from a different instances folder (other than sdk_content, maps, instances, p3editor) , yet the only folder for instances is in that location! ? Right? I do NOT see an alternative instance folder; and the file name cited is the SAME. Also, what is the global_ents for vesus the global_pti_ents? How does one get the game to end back to the menu after leaving the exit door or departure elevator?
Last edited by Chippoka; May 31 @ 7:11am
Sockman May 31 @ 1:00pm 
Originally posted by Chippoka:
Okay, I see this is an old discussion; but can someone tell me what the solution is to this problem this many years later? Above, it says the problem is the global_pti_ents needing to come from a different instances folder (other than sdk_content, maps, instances, p3editor) , yet the only folder for instances is in that location! ? Right? I do NOT see an alternative instance folder; and the file name cited is the SAME. Also, what is the global_ents for vesus the global_pti_ents? How does one get the game to end back to the menu after leaving the exit door or departure elevator?
I found the solution: Put the map files (VMF, then compile it) in the portal 2 directory (C:\Program Files (x86)\Steam\steamapps\common\Portal 2). If it works, you should be able to open the VMF and the func_instance should be a visible box with a bunch of stuff in it. If it still doesn't work, try adjusting the directory the func_instance refers to.
Then to end the map, just make a trigger_once that triggers "pti_ent", which is part of the func_instance. If the func_instance works, this should work. Then, in the "Via this input" box, put "instance:@relay_pti_level_end;Trigger"

So for the trigger, in the Outputs tap, it should look like this:

My Output named: OnTrigger
Target entities named: pti_ent
Via this input: instance:@relay_pti_level_end;Trigger

Hope this helps! :)
Chippoka May 31 @ 1:16pm 
THANKS, I'll check it soon... I get the last part you said (it is set already in the "only_once" trigger). But that first part lost me; so I should open the map VMF in the root Portal 2 directory above Portal 2 (there are 2 of them), complile, then open the VMF (in the said directory, not maps); then view the "once_only" trigger func_instance for access to the pti stuff (in the various fields; which is on the map in a big yellow cube in the void)? Eh, white or green lettering, not red (in the fields)?
Sockman May 31 @ 1:31pm 
Originally posted by Chippoka:
THANKS, I'll check it soon... I get the last part you said (it is set already in the "only_once" trigger). But that first part lost me; so I should open the map VMF in the root Portal 2 directory above Portal 2 (there are 2 of them), complile, then open the VMF (in the said directory, not maps); then view the "once_only" trigger func_instance for access to the pti stuff (in the various fields; which is on the map in a big yellow cube in the void)? Eh, white or green lettering, not red (in the fields)?
Yeah, you did it right. The yellow cube means that it loaded the func_instance, and if the lettering in the fields isn't red, you're good.
< >
Showing 1-8 of 8 comments
Per page: 15 30 50

Portal 2 > General Discussions > Topic Details
Date Posted: Sep 13, 2012 @ 5:12pm
Posts: 8