Codename CURE

Codename CURE

cbe_fullmetalbunker_v8
Lobo 2024 年 2 月 4 日 下午 12:22
tutorial
Your map has to have env cubemap entities spread across the map, you compile to hdr, then in the game you must use the following commands in the game console before loading the map: sv_cheats 1, mat_specular 0 (disables reflections), mat_hdr_level 2 ( puts the game in hdr mode), map cbe_fullmetalbunker_v7 (to open the map), buildcubemaps(builds reflections), disconnect (to exit the map), mat_hdr_level 0 (puts the game without hdr), map cbe_fullmetalbunker_v7(to reopen the map), buildcubemaps, disconnect, done!

mat_specular 1 (turn reflections back on) and here you can test your map using mat_hdr_level 2 to view it with hdr and mat_hdr_level 1 to view it without hdr.

Some tips to avoid problems is that if you change the name of the map, do it before doing the reflections using "save as...". Once you build the reflections you should not change the name of the map. And you should build the reflections before packaging custom content (if your map has it).

https://developer.valvesoftware.com/wiki/Cubemaps
< >
正在显示第 1 - 4 条,共 4 条留言
Lobo 2024 年 2 月 4 日 下午 12:30 
When you use buildcubemaps, images of your map will be displayed. just let it finish
xX_Kekcromancer69_Xx  [开发者] 2024 年 2 月 5 日 上午 4:10 
I got it working! Thank you so much! :DD

I learned a lot today. I feel kinda dumb, because I didn't have the cubemaps, I couldn't compile with HDR. But now I know. :awkward:

Moving forward I will do this with all my maps. I have several older maps compiled without HDR, and it might take a while until I get them all up to date.
Lobo 2024 年 2 月 5 日 上午 5:19 
Perfect! On YouTube you can find some tutorials on env_cubemaps or reflections on hammer editor that may have more information. :lunar2019piginablanket:
xX_Kekcromancer69_Xx  [开发者] 2024 年 2 月 5 日 上午 5:36 
Good stuff! Now I can also help my friend with these things! :steamthumbsup:
< >
正在显示第 1 - 4 条,共 4 条留言
每页显示数: 1530 50