Major Errors When Compiling
Quote from UsCobra11 on May 13, 2012, 12:04 pmSorry if I've done something very noobish that has caused this. Not sure what it is, haven't seen it before.
When compiling I get 2 errors I've never seen:
Error! Variable "$envmap" is multiply defined in material "metal/underground_wall_metal004a_bottom!And: Error loading studio model! ''''
When I actually load up the map, a section of it has about 3/4 of the brushes missing. Gone. No idea why.
There might be a reason for this, but here's what I did: I made a separate puzzle in another vmf, then went to Map Properties to select the entire thing, and pasted it into a map with another puzzle. The brushes are only missing from the pasted puzzle.
Some quick help would be appreciated...
Sorry if I've done something very noobish that has caused this. Not sure what it is, haven't seen it before.
When compiling I get 2 errors I've never seen:
Error! Variable "$envmap" is multiply defined in material "metal/underground_wall_metal004a_bottom!
And: Error loading studio model! ''''
When I actually load up the map, a section of it has about 3/4 of the brushes missing. Gone. No idea why.
There might be a reason for this, but here's what I did: I made a separate puzzle in another vmf, then went to Map Properties to select the entire thing, and pasted it into a map with another puzzle. The brushes are only missing from the pasted puzzle.
Some quick help would be appreciated...
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from taco on May 13, 2012, 12:17 pmAre you using custom materials? If so, make sure that none of them have 2 "$envmapmask" lines.
Are you using custom materials? If so, make sure that none of them have 2 "$envmapmask" lines.
Quote from UsCobra11 on May 13, 2012, 12:19 pmNope, no custom materials.
Nope, no custom materials.
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from UsCobra11 on May 13, 2012, 12:55 pmIs the logs file located in sdk_content? Is it the text document?
Is the logs file located in sdk_content? Is it the text document?
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from taco on May 13, 2012, 12:59 pmIt will be located in the same place as your .vmf, and yes, it probably shows up as a Text Document but if you open the properties of the file you will see that is it a 'Text Document (.log)'.
It will be located in the same place as your .vmf, and yes, it probably shows up as a Text Document but if you open the properties of the file you will see that is it a 'Text Document (.log)'.
Quote from Lpfreaky90 on May 13, 2012, 1:00 pmThe .log file in sdk_content is your compile log.
The vmt for that texture is:
- Code: Select all
LightMappedGeneric
{
$basetexture "metal/underground_wall_metal004a_bottom"
$surfaceprop default
$bumpmap "metal/underground_wall_metal004a_normal"
"%noportal" 1
"%keywords" "portal2 underground"
$envmap env_cubemap$ssbump 1
$normalmapalphaenvmapmask 1
$envmapcontrast 1
$envmapsaturation .2
$envmaptint "[.2 .2 .2 ]"
$envmaplightscale .75
$envmap "metal/black_wall_envmap_002a"
hdr
{
$envmap "metal/black_wall_envmap_002a_hdr"
}
}maybe hammer isn't really happy with the ldr and the hdr envmaps.
If you vmt is different you might want to replace it with mine
The .log file in sdk_content is your compile log.
The vmt for that texture is:
- Code: Select all
LightMappedGeneric
{
$basetexture "metal/underground_wall_metal004a_bottom"
$surfaceprop default
$bumpmap "metal/underground_wall_metal004a_normal"
"%noportal" 1
"%keywords" "portal2 underground"
$envmap env_cubemap$ssbump 1
$normalmapalphaenvmapmask 1
$envmapcontrast 1
$envmapsaturation .2
$envmaptint "[.2 .2 .2 ]"
$envmaplightscale .75
$envmap "metal/black_wall_envmap_002a"
hdr
{
$envmap "metal/black_wall_envmap_002a_hdr"
}
}
maybe hammer isn't really happy with the ldr and the hdr envmaps.
If you vmt is different you might want to replace it with mine
Quote from UsCobra11 on May 13, 2012, 1:03 pmThe extension .log is not allowed.
So, I just put it in a zip...
The extension .log is not allowed.
So, I just put it in a zip...
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal
Quote from taco on May 13, 2012, 1:08 pmError loading studio model ""! = There is a "prop_" model in your map using no model or an incorrect model filename.
Error loading studio model ""! = There is a "prop_" model in your map using no model or an incorrect model filename.
Quote from UsCobra11 on May 13, 2012, 1:25 pmOk, i think my problem with the missing brushes is fixed. I restarted hammer and all the brushes that were missing in the actual game, were now missing in Hammer... so i'm just redoing them. Hopefully it will work then. Thanks for the additional help guys
Ok, i think my problem with the missing brushes is fixed. I restarted hammer and all the brushes that were missing in the actual game, were now missing in Hammer... so i'm just redoing them. Hopefully it will work then. Thanks for the additional help guys
[Released] Power Interference
[Released] Rust and Dust (Spotlight Map!)
[Released] Multiportal