Please or Register to create posts and topics.

Cube maps only work on my computer.

Page 1 of 3Next

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?

Did you rename the map after building cubemaps?

Falsi sumus crusto!

Are you paking the content before or after building your cubemaps?

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

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?

First use "buildcubemaps" in game to build cubemaps and THEN put content via Packrat into your .bsp. Never the other way around!

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.

@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 ;)

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

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.

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.

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]

Thanks anyway. Ill post on here if I find an answer.

Page 1 of 3Next