Please or Register to create posts and topics.

[SOLVED]Map not working after uploaded to workshop

EDIT5: Ok so I have fixed my problem finally... After trying to fix everything from light_enviroment entities to custom textures I finally realized the problem was the name of the map :notwant:

So I'm making a map pack and I have finished the 1st map of it. The map compiles perfectly, plays perfectly(after compiled and game is started on hammer), uploads to workshop perfectly, but as I select the map on portal 2 ingame it loads the map from workshop as it should, but after it has done loading it just gives a warning on the console and stays black screened.

CModelLoader::Map_IsValid: No such map 'maps/workshop541805688024573015new.bsp'
map load failed: workshop541805688024573015new not found or invalid

Don't read what is in the quote, that was apparently completely 100% all wrong.

Quote:
So I'm making a map pack and I finally got the first part finished and it compiles perfectly, plays perfectly, uploads to workshop perfectly, but as I select the map on portal 2 ingame it loads the map from workshop as it should, but after it has done loading it just shows a black screen and nothing happens.

So I have done some troubleshooting by removing bits here and there from my map and trying different combinations of areas of the map and I have found the source of the problem: It is the skybox and/or a light_enviroment entity.

I have tried to play around with the settings of the light_enviroment but have found no solution yet. Does anyone have an idea what could cause this?

Here are the settings of the light_enviroment entity:
Image

EDIT: And no I'm sure the game freezes and doesn't load the map, it's not just a test chamber that's too dark to see anything...

EDIT2: So I found out that the problem is with the shadow_controller and light_enviroment not working while the other is in the map. I'll try to figure out what it is that makes them collide.

So deleting the light_environment makes it not crash?

Try fiddling with other values.

?????????????????????????????TWP Releases | My Workshop

Are you sure your HDR values are

-1 -1 -1 -1

... because they should be

-1 -1 -1 1

Actually, judging from the fact that they aren't highlighted blue I imagine they are the defaults.

Nacimota wrote:
Are you sure your HDR values are

-1 -1 -1 -1

... because they should be

-1 -1 -1 1

Actually, judging from the fact that they aren't highlighted blue I imagine they are the defaults.

They are the default ones yes.

Villethemina wrote:
So I have done some troubleshooting by removing bits here and there from my map and trying different combinations of areas of the map and I have found the source of the problem: It is the skybox and/or a light_enviroment entity.

Which skybox are you using? I mean, is it a custom one? If so, have you packed it into the .bsp file before publising in the workshop? does your map work properly if loadaed via the console?

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
Which skybox are you using? I mean, is it a custom one? If so, have you packed it into the .bsp file before publising in the workshop? does your map work properly if loadaed via the console?

No I'm using the default white one(sky_white). And as I said the map loads perfectly before I upload it to workshop. If I compile the map on hammer and then load it with console it works perfectly but after uploading it to workshop it won't load no matter what.

OK, so supposing you can also run (via PTI) your map when the skkybox and/or the light_environment are NOT present, and supposing that your map is indeed loaded (not crashing right at start without loading), I would like to know:

1. What kind of skybox did you build? 3D or 2D?

2. Have you got more than 1 light_environment entity? where did you place it/them?

3. In the case that you have a 3D skybox, would you mind to let me know your sky_camera properties' values (posting a picture)?

4. Are there more lighting entities in your map apart from the lighting coming from your skybox?

However, it seems as if the mandatory PTI instances would be interfering with the skybox/light_environment... because you don't have the issue when you launch it in the console...

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
OK, so supposing you can also run (via PTI) your map when the skkybox and/or the light_environment are NOT present, and supposing that your map is indeed loaded (not crashing right at start without loading), I would like to know:

1. What kind of skybox did you build? 3D or 2D?

2. Have you got more than 1 light_environment entity? where did you place it/them?

3. In the case that you have a 3D skybox, would you mind to let me know your sky_camera properties' values (posting a picture)?

4. Are there more lighting entities in your map apart from the lighting coming from your skybox?

However, it seems as if the mandatory PTI instances would be interfering with the skybox/light_environment... because you don't have the issue when you launch it in the console...

1. I have just a basic 2d skybox with a sky_white texture.

2. Only one. I have placed it under the skybox textured brush inside a largeyish room.

3. I don't have 3d skybox.

4. There are a lot of basic "light" and "light_spot" entities.

And thanks for the tip on the pti instances I'll try to change some settings in the pti_global_entities and see if it works.

1. I guess you mean "sky_white" texture? or maybe "sky_fog"?... I think you should not use that. Texture it with the toolskybox texture. Then go to hammer Map > Map Properties > Skybox Texture name > [here put sky_whte]

2. OK, it doesn't really matter where you place it.

3. OK

4. OK

Check and let me know

ImageImageImageImageImageuseful tools and stuff here on TWP :thumbup:
[spoiler]ImageImageImageImageImage[/spoiler]
josepezdj wrote:
1. I guess you mean "sky_white" texture? or maybe "sky_fog"?... I think you should not use that. Texture it with the toolskybox texture. Then go to hammer Map > Map Properties > Skybox Texture name > [here put sky_whte]

2. OK, it doesn't really matter where you place it.

3. OK

4. OK

Check and let me know

Sorry I meant sky_white. And yes I textured a brush with the tools/skybox texture and put the sky_white as the texture name in the map properties.