[SOLVED]Map not working after uploaded to workshop

Avatar
Villethemina
40 Posts
Posted Jun 27, 2012

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/workshop\541805688024573015\new.bsp'
map load failed: workshop\541805688024573015\new 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:
img

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.

Advertisement
Registered users don’t see ads! Register now!
Avatar
ChickenMobile
2,460 Posts
Posted Jun 27, 2012
Replied 6 minutes later
So deleting the light_environment makes it not crash?

Try fiddling with other values.

Avatar
Nacimota
345 Posts
Posted Jun 27, 2012
Replied 21 minutes later
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.

Avatar
Villethemina
40 Posts
Posted Jun 27, 2012
Replied 1 minutes later

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.

Avatar
josepezdj
2,386 Posts
Posted Jun 28, 2012
Replied 10 hours later

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?

Avatar
Villethemina
40 Posts
Posted Jun 28, 2012
Replied 58 minutes later

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.

Avatar
josepezdj
2,386 Posts
Posted Jun 29, 2012
Replied 21 hours later
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...

Avatar
Villethemina
40 Posts
Posted Jun 29, 2012
Replied 3 hours later

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.

Avatar
josepezdj
2,386 Posts
Posted Jun 29, 2012
Replied 1 hour later
  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

Advertisement
Registered users don’t see ads! Register now!
Avatar
Villethemina
40 Posts
Posted Jul 01, 2012
Replied 1 day later

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]

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

  2. OK

  3. 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.