ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
634 stars 74 forks source link

[HL2] Building cubemaps & others #860

Open FilipVictor opened 11 years ago

FilipVictor commented 11 years ago

HL2's engine does not register the cubemaps reflection to the map file. The buildcubemaps command works in the console, but after taking pictures and restarts the map there are no reflections, also the map(bsp) filesize is the same. To get my reflections I have to use the sdk base 2007.

HUD crosshair is occluding env_sun. Example: aim your crosshair straight to the sun in-game.

props_debris/Building_BrokenExterior002b.mdl has overlapped texture on window corners.

If you are driving the airboat and you bump into a barnacle this bug appears to the boat Screenshot - http://www.shareimage.ro/images/d6rmt17tn2gejyr812p.jpg

Blood decals from enemies tend to duplicate on both side of a geometry face. Screenshot - http://www.shareimage.ro/images/11zd1l04c2rxo932g3ok.jpg

Aditional: This error message spawns many times in the console for some HL2 maps. Ignoring unreasonable position (3806.202148,3330.979736,-33376.648438) from vphysics! (entity prop_physics)

alfred-valve commented 11 years ago

It is working fine for me here with the Steampipe beta, can you provide some more details please. What I tested was loading "d1_canals_01" and typing "buildcubemaps", that resulted in a change in the size of d1_canals_01.bsp. I can imagine this didn't work well in the Steam 2 version of our content because the file wasn't on disk. If you still have it not working can you run with "developer 1" on in the console and paste the output here please.

echeese commented 11 years ago

I've been having trouble with buildcubemaps as well. I've tried debugging the issue extracting the vtx from the bsp and they're all black on every face. I've noticed it tries writing to the "C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\materialsrc\maps\mapname" folder, but it seems to be left empty.

Gambini007 commented 11 years ago

@alfred-valve "[i]It is working fine for me here with the Steampipe beta, can you provide some more details please. What I tested was loading "d1_canals_01" and typing "buildcubemaps[i]"

Cubemaps are built as you can see the screenshots flashing, the bsp file is indeed increased. But cubemaps never become visible, it´s like playing with mat_specular 0 all the time.

echeese commented 11 years ago

I have tried this on two different installs of TF2 and have had the same result.

FilipVictor commented 11 years ago

I have tried to build the cubemaps with HL2 DM engine still same problem. The only way right now to build the cubemaps is to use the Sdk base 2007. Hope this it will be fixed in the near future.

echeese commented 11 years ago

I think I solved my problem in TF2. Before, it was using sky_day01_01 as the skybox, but as soon as I switched to a TF2 sky, it started working. This seemed to work before steampipe. My map was all indoors, so I didn't bother setting a sky.

Riomaki81 commented 11 years ago

Has anyone found a solution for this? I have the same issue as Gambini in Episode 2.

juju831 commented 11 years ago

Cubemaps for halflifedm are not working at all. Has valve washed there hands of this now that Source SDK Base 2013 MP is out. Using the beta version at this time. Really Really need the cubemaps fixed. This has been since the steampipe update.

JorisCeoen commented 10 years ago

Please, if someone from Valve is assigned here, I should post it here as well:

https://github.com/ValveSoftware/Source-1-Games/issues/1376

That's a problem going further on the cubemap issues. There are more issues than just the command not doing anything.

kisak-valve commented 7 years ago

Hello, is this issue still occurring?

FilipVictor commented 7 years ago

Only in HL2(ep1..ep2). Works ok for TF2,DOD and CS:S (multiplayer branch)

kisak-valve commented 7 years ago

Thanks @FilipVictor.