07-17-2005, 05:33 PM | #1 |
Join Date: Mar 2005
Posts Rated Helpful 0 Times
|
Paint Alpha problem
Whenever I render my map, the area where I've used displacement and paint alpha in hammer, just gets textured with a texture I didn't use, it also doesnt have any variation, it just looks like the game substitued a texture that isn't a blend. For example, I use the nature/blendgrassdirt001 and it gets textured with something similar to nature/grassfloor003a. I'm not sure what's wrong, so any help would be appreciated.
|
|
07-17-2005, 06:45 PM | #2 |
Join Date: Mar 2005
Posts Rated Helpful 0 Times
|
i think some of the causes of alpha painting failing is if the map has a leak, or if you don't run rad on it. there could be more, but i think those are the two most common reasons.
displacements can't be used to seal your level btw, so make sure to use world brushes below any that you've used. |
|
07-17-2005, 08:30 PM | #3 |
Join Date: Feb 2005
Location: Markham, Ontario, Canada!
Posts Rated Helpful 0 Times
|
^^ bingo
|
|
07-18-2005, 01:33 AM | #4 |
Join Date: Feb 2005
Location: Philadelphia, PA
Posts Rated Helpful 0 Times
|
if u do a fast compile u get no alpha texturing jazz. fyi
|
|
07-18-2005, 02:12 AM | #5 |
Join Date: Feb 2005
Location: Markham, Ontario, Canada!
Posts Rated Helpful 0 Times
|
The leak is also a big issue that can cause many other wierd problems. Always the first thing you check for if your map is fishy.
|
|
07-18-2005, 07:07 AM | #6 |
Join Date: Feb 2005
Location: Belgium
Posts Rated Helpful 0 Times
|
i'ts vrad that makes the alpha, not vbsp
so you map will be full bright to? check this with mat_fullbright (if its 1, vrad hasn't run ) and no, if you have a leak, the alpha will be correct :d but lighting will be darker at some places |
|
07-18-2005, 09:11 AM | #7 |
Join Date: Jun 2005
Location: Carlisle, UK
Posts Rated Helpful 0 Times
|
Sadly, if you have a leak VRAD still runs and your lighting looks normal, so if you don't check your complile log before you play, you end up with large amounts of "wtf" factor.
If there are errors, water or alpha displacements do not render. |
|
07-21-2005, 12:20 PM | #8 | |
Join Date: Feb 2005
Location: Belgium
Posts Rated Helpful 0 Times
|
Quote:
looks not normal, areas where no light is pointed at (behid spotlights for example) will be totaly black, you don't have this without leaks and totaly it will be much darker too. |
|
|
07-21-2005, 05:59 PM | #9 |
Join Date: Feb 2005
Posts Rated Helpful 0 Times
|
It always helps to run vbsp only and check the 'do not start game after compiling' box to catch potential leaks and fix them before you do a true compile. (Which takes considerably longer)
|
|
07-21-2005, 10:19 PM | #10 |
Join Date: Dec 2004
Location: Melbourne
Posts Rated Helpful 0 Times
|
Paste this in a .bat file and replace the <ACCOUNTNAMEHERE> with your steam account and the <MAPNAMEHERE> with your map name. Pauses on errors etc.
Code:
@echo off set VPROJECT=C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\half-life 2 deathmatch\hl2mp cd C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk\bin echo ################################################### echo # Batch Compiler # echo ################################################### echo ################################################### echo # Please report bugs to: ryansgregg@hotmail.com # echo ################################################### echo. echo Written At: 4/5/2005 1:01 PM echo BC Version: 3.1.1.0 echo. "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk\bin\vbsp.exe" "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>" if ERRORLEVEL 1 goto failed "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk\bin\vvis.exe" "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>" if ERRORLEVEL 1 goto failed "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk\bin\vrad.exe" "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>" if ERRORLEVEL 1 goto failed if not exist "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.prt" goto nodelprt del "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.prt" echo C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.prt deleted. :nodelprt if not exist "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.bsp" goto nocopybsp copy "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.bsp" "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\half-life 2 deathmatch\hl2mp\maps" echo <MAPNAMEHERE>.bsp copied to C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\half-life 2 deathmatch\hl2mp\maps. :nocopybsp if not exist "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.lin" goto nocopylin copy "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\sourcesdk_content\hl2mp\mapsrc\<MAPNAMEHERE>.lin" "C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\half-life 2 deathmatch\hl2mp\maps" echo <MAPNAMEHERE>.lin copied to C:\Program Files\Valve\Steam\SteamApps\<ACCOUNTNAMEHERE>\half-life 2 deathmatch\hl2mp\maps. :nocopylin pause "C:\Program Files\Valve\Steam\Steam.exe" -applaunch 320 +map <MAPNAMEHERE> goto succeeded :failed echo. echo There was a problem compiling your map, check your <MAPNAMEHERE>.log file for errors. :succeeded echo. pause |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|