|
Understanding Buildcubemaps
|
|
 |
07-01-2008, 08:32 PM
|
#1
|
|
L4: Senior Member
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178
|
Understanding Buildcubemaps
Is the proper way to build cubemaps? What do all these things mean? Thanks in advance!
mat_specular 0
buildcubemaps
mat_hdr_level 0
map "mapname"
buildcubemaps
mat_hdr_level 2
map "mapname"
mat_specular 1
|
|
|
|
|
|
|
Advertisement
|
Sponsored links
|
07-01-2008, 08:36 PM
|
#2
|
|
LVL100 YM
YM is offline
Posts: 6,116
Thanks: 1,021
Thanked: 3,724
|
Understanding Buildcubemaps
mat_specular 0 turns off all reflections, so when you build the cubemaps you don;t get pink in them.
mat_hdr_level changes the HDR setting, 0 is off and 2 is on full.
Propper method:
-load the map
-mat_specular 0
-buildcubemaps
-disconnect
-mat_hdr_level 0
-map <mapname>
-buildcubemaps
-disconnect
-mat_specular 1
-mat_hdr_level 2
-relooad map and enjoy
|
|
|
|
|
The Following 33 Users Say Thank You to YM For This Useful Post:
|
Arkosis, AWESOME-O, Behind You, bob+M|M+, Cameron:D, chocolatekake, daemon, Darkimmortal, DJive, Dox, Drexer, drp, ev149, Fireman, Forthex, Géza!, grazr, heyyou, Mick-a-nator, n30n, nik, Nosher, PDT, ProfFiendish, Psyphil, samn, Steff0o, Tapp, TheKieranator, umbratile, Vander, VelvetFistIronGlove, Void |
07-01-2008, 09:00 PM
|
#3
|
|
L4: Senior Member
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178
|
Understanding Buildcubemaps
Just the man I was looking for. Thanks Youme. =D
|
|
|
|
07-02-2008, 02:46 AM
|
#4
|
|
L5: Alleged Expert
Open Blade is offline
Posts: 438
Thanks: 2
Thanked: 34
|
Understanding Buildcubemaps
Wow, I have never done this before. Guess I should look into this more. So you're saying when you build the cubemaps while in game as you stated above, those settings are saved into the map file so when you upload it to server, it's ready to roll?
I saw this at the valve site. What is it and is this step necessary also?
Note: For multiplayer maps, you may need to enable cheats (sv_cheats 1) before running the buildcubemaps command.
|
|
|
Last edited by Open Blade; 07-02-2008 at 02:54 AM.
|
07-02-2008, 09:18 AM
|
#5
|
|
Collector of Juju
Sgt Frag is offline
Posts: 1,430
Thanks: 124
Thanked: 292
|
Understanding Buildcubemaps
Well, when I just did my cubemaps I got a console error saying
"cannot save multiplayer games"
But they still worked.
|
|
|
|
|
The Following User Says Thank You to Sgt Frag For This Useful Post:
|
|
07-02-2008, 07:31 PM
|
#6
|
|
L4: Senior Member
bob+M|M+ is offline
Posts: 335
Thanks: 228
Thanked: 178
|
Understanding Buildcubemaps
I've heard some people suggest using sv_lan 1 and sv_cheats 1 preceding everything, but it doesn't make a difference for me.
|
|
|
|
07-02-2008, 07:43 PM
|
#7
|
|
LVL100 YM
YM is offline
Posts: 6,116
Thanks: 1,021
Thanked: 3,724
|
Understanding Buildcubemaps
I have sv_cheats 1 set by default when tf2 runs from the SDK but I've never had problems when I run it normally and run buildcubemaps.
|
|
|
|
10-20-2008, 09:50 PM
|
#8
|
|
L7: Guru
eerieone is offline
Posts: 998
Thanks: 697
Thanked: 572
|
Understanding Buildcubemaps
okay, i´m going nuts here with my cubemaps:
tried several methods, none working for me
i enable sv_cheats as soon as the map starts up
the "mat_hdr_level" gives me the line "Can´t save multiplayer games"
nineaxis:
mat_specular 0
buildcubemaps
mat_hdr_level 0 (to go to LDR)
map mapname (to reload map)
buildcubemaps
mat_hdr_level 2 (to go back to HDR)
map mapname (to reload map)
mat_specular 1
juices:
mat_specular 0
sv_Cheats 1
buildcubemaps
map (yourmapname)
mat_specular 1
youme´s #1:
mat_specular 0,
buildcubemaps,
disconnect,
mat_hdr_level 0,
map <map_name>,
buildcubemaps,
disconnect,
mat_hdr_level 2,
mat_specular 1
youme´s #2:
-load the map
-mat_specular 0
-buildcubemaps
-disconnect
-mat_hdr_level 0
-map <mapname>
-buildcubemaps
-disconnect
-mat_specular 1
-mat_hdr_level 2
-reload map and enjoy
|
|
|
|
10-20-2008, 10:46 PM
|
#9
|
|
L3: Junior Member
toutfou is offline
Posts: 136
Thanks: 16
Thanked: 14
|
Understanding Buildcubemaps
sv_cheats 1 is meant to allow the game to overwrite the bsp (otherwise it's read only and the cubemaps wont save). But given reports of other people not having to do this, it sounds a bit strange.
The only things I can suggest are:
1) Go to the BSP file in explorer and check its properties, manually make sure that 'read only' isn't checked. Also do this in game if necessary.
2) Enable sv_cheats before loading the map - it may not be removing the read only flag if it's enabled after the map has loaded.
|
|
|
|
10-21-2008, 12:04 AM
|
#10
|
|
L4: Senior Member
Cameron:D is offline
Posts: 348
Thanks: 155
Thanked: 138
|
Understanding Buildcubemaps
You need to load a different map, then your map again. I've found.
|
|
|
|
|
Sponsored links
|
|
Advertisement
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT -5. The time now is 12:49 AM.
|
|
|