Cube maps only work on my computer.
Quote from Goldenknighttim on July 30, 2013, 3:39 pmThis one is a little hard to experiment with, because the issue doesn't show up until after I have uploaded my chamber to the workshop. But it seems that whenever I use pakrat for a chamber, the cube maps only work on my computer. Does anyone know why, and what I need to do to fix this problem?
This one is a little hard to experiment with, because the issue doesn't show up until after I have uploaded my chamber to the workshop. But it seems that whenever I use pakrat for a chamber, the cube maps only work on my computer. Does anyone know why, and what I need to do to fix this problem?
Quote from FelixGriffin on July 30, 2013, 7:59 pmDid you rename the map after building cubemaps?
Did you rename the map after building cubemaps?

Quote from msleeper on July 30, 2013, 8:34 pmAre you paking the content before or after building your cubemaps?
Are you paking the content before or after building your cubemaps?
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from Goldenknighttim on July 30, 2013, 10:48 pmI can't open the bsp file after packing it. I haven't seen issues before I pack, so I haven't really tried to build cubemaps. I just put them in. I'm still kind of new to hammer, so I can imagine that I am missing something there. Ill try to look into building them, lol, maybe thats what I'm missing?
I can't open the bsp file after packing it. I haven't seen issues before I pack, so I haven't really tried to build cubemaps. I just put them in. I'm still kind of new to hammer, so I can imagine that I am missing something there. Ill try to look into building them, lol, maybe thats what I'm missing?
Quote from Skotty on July 30, 2013, 10:56 pmFirst use "buildcubemaps" in game to build cubemaps and THEN put content via Packrat into your .bsp. Never the other way around!
First use "buildcubemaps" in game to build cubemaps and THEN put content via Packrat into your .bsp. Never the other way around!
Quote from Goldenknighttim on July 30, 2013, 11:32 pmOk, I just tested by doing what skotty just said, and that didn't work. I built the cubemaps, packed textures, then published. I played the published version on my computer. It was fine. I had my brother test it on his computer, and it was horrible.
Ok, I just tested by doing what skotty just said, and that didn't work. I built the cubemaps, packed textures, then published. I played the published version on my computer. It was fine. I had my brother test it on his computer, and it was horrible.

Quote from josepezdj on July 31, 2013, 1:36 am@Goldenknighttim: what you put inside your maps is an entity called env_cubemap. But still, you need to run the command buildcubemaps after you loaded your map via the console. For this command to work out you need to put a copy of your map into your portal2/portal2_dlc2/maps folder, otherwise the cubemaps building will crash.
After building cubemaps correctly, problems with cubemmaps can come via 2 possible ways:
a) Once you finished building cubemaps and packing the custom content, you ran p2map_publish.exe BUT chose any other copy of the map from whatever other folder than portal2_dlc2/maps, like for instance your portal2/maps folder. Still, when you run your map via the console in your computer, you load the correct map since the portal2_dlc2 folder has priority over the rest folders.
b) You left a space into your map's name, and even though you pick it correctly from portal2_dlc2/maps when publishing, the p2map_publish.exe program renames it removing that space and maybe giving it a bunch-of-numbers-type-name.
Revise and let us know if you finally manage it
@Goldenknighttim: what you put inside your maps is an entity called env_cubemap. But still, you need to run the command buildcubemaps after you loaded your map via the console. For this command to work out you need to put a copy of your map into your portal2/portal2_dlc2/maps folder, otherwise the cubemaps building will crash.
After building cubemaps correctly, problems with cubemmaps can come via 2 possible ways:
a) Once you finished building cubemaps and packing the custom content, you ran p2map_publish.exe BUT chose any other copy of the map from whatever other folder than portal2_dlc2/maps, like for instance your portal2/maps folder. Still, when you run your map via the console in your computer, you load the correct map since the portal2_dlc2 folder has priority over the rest folders.
b) You left a space into your map's name, and even though you pick it correctly from portal2_dlc2/maps when publishing, the p2map_publish.exe program renames it removing that space and maybe giving it a bunch-of-numbers-type-name.
Revise and let us know if you finally manage it
Quote from Goldenknighttim on July 31, 2013, 8:08 amDo underscores count as spaces? I have underscores in the names. However, I have been doing what you are saying to do. and it works on my computer, even after I play the published version, but it isn't working on other machines.
Do underscores count as spaces? I have underscores in the names. However, I have been doing what you are saying to do. and it works on my computer, even after I play the published version, but it isn't working on other machines.

Quote from josepezdj on July 31, 2013, 10:18 amNo, underscores are fine... If you are uploading the file you have into portal2_dlc2/maps with the cubemaps already built in, no clue then, man, sorry.
No, underscores are fine... If you are uploading the file you have into portal2_dlc2/maps with the cubemaps already built in, no clue then, man, sorry.
Quote from Goldenknighttim on August 1, 2013, 10:53 amThanks anyway. Ill post on here if I find an answer.
Thanks anyway. Ill post on here if I find an answer.