Source-1-Games icon indicating copy to clipboard operation
Source-1-Games copied to clipboard

[HL2] Building cubemaps & others

Open FilipVictor opened this issue 13 years ago • 12 comments

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)

FilipVictor avatar Jun 01 '13 11:06 FilipVictor

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.

alfred-valve avatar Jun 05 '13 22:06 alfred-valve

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.

echeese avatar Jun 06 '13 11:06 echeese

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

Gambini007 avatar Jul 08 '13 04:07 Gambini007

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

echeese avatar Jul 08 '13 12:07 echeese

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.

FilipVictor avatar Jul 08 '13 16:07 FilipVictor

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.

echeese avatar Jul 16 '13 05:07 echeese

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

Riomaki81 avatar Jul 20 '13 15:07 Riomaki81

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.

juju831 avatar Jul 22 '13 00:07 juju831

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.

JorisCeoen avatar Sep 23 '13 16:09 JorisCeoen

Hello, is this issue still occurring?

kisak-valve avatar Dec 23 '16 17:12 kisak-valve

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

FilipVictor avatar Dec 23 '16 17:12 FilipVictor

Thanks @FilipVictor.

kisak-valve avatar Dec 23 '16 18:12 kisak-valve