Add material overrides

This commit is contained in:
ALLEN-PC\acj30 2023-11-10 16:59:54 -06:00
parent c8bbffed86
commit f552ee8697
24 changed files with 381 additions and 0 deletions

View File

@ -0,0 +1,23 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor004a"
"$basetexture2" "Nature/dirtwall001a"
"%tooltexture" "nature/dirtfloor004a"
"$surfaceprop" "concrete"
"$surfaceprop2" "dirt"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 0.15 0.15 rotate 0 translate 0 0" // Mapbase - Bad $btasetexturetransform2 usage
// "%keywords" "c17downtown"
"$bumpmap" "concrete/concretefloor012a_normal"
"$bumpmap2" "Nature/dirtwall001a_normal"
SDK_LightmappedGeneric_DX9
{
"$normalmapalphaenvmapmask" 1
"$envmap" "env_cubemap"
"$envmapsaturation" 1
"$envmapcontrast" 1
"$envmaptint" "[ .35 .35 .35]"
}
}

View File

@ -0,0 +1,70 @@
SDK_Core
{
"$normalmap" "Models/props_combine/core_normal"
"$dudvmap" "Models/props_combine/core_dudv"
"$corecolortexture" "models/props_combine/corewarpcolor"
"$flowmap" "models/props_combine/core_flow"
"$model" 1
"$REFRACTAmOUNT" "0.15"
"$FLOWMAPSCROLLRATE" "[.0475 .133]"
// "$envmap" "CustomCubeMaps/core"
"$envmap" "env_cubemap"
"$refracttint" "[0.7 0.7 0.6]"
"$envmaptint" "[0.8 0.6 0.6]"
"$FLOWMAPTEXCOORDOFFSET" "1.0"
"$TempMin" 0
"$TempMax" 1
// Mapbase - New vars to control previously hardcoded values (also see proxies)
"$spherecenter" "[2688.0 12139.0 5170.0]"
"$sphereradius" "215.0"
"$entityorigin" "[2688.0 12139.0 5170.0]"
"core_dx70"
{
"$fallbackmaterial" "models/props_combine/coredx70"
}
"core_dx80"
{
"$normalmap" "dev/water_normal"
"$dudvmap" "dev/water_dudv"
"$bumptransform" "center .5 .5 scale 5 5 rotate 0 translate 0 0"
"$envmapcontrast" "1.0"
}
"Proxies"
{
"Sine"
{
"resultVar" "$FLOWMAPTEXCOORDOFFSET"
"sineperiod" 4
"sinemin" "$TempMin"
"sinemax" "$TempMax"
}
"AnimatedTexture"
{
"animatedtexturevar" "$normalmap"
"animatedtextureframenumvar" "$bumpframe"
"animatedtextureframerate" 29.00
}
// Mapbase - This is now controlled via material proxies
"CoreBallUpdate"
{
}
//"EntityOrigin"
//{
//}
//"Equals"
//{
// "srcVar1" "$entityorigin"
// "resultVar" "$spherecenter"
//}
}
}

View File

@ -0,0 +1,10 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/cliffface002a"
"$basetexture2" "nature/dirtfloor004a"
"%tooltexture" "nature/blendcliffdirt001a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,10 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/cliffface002a"
"$basetexture2" "nature/dirtfloor002a"
"%tooltexture" "nature/blendcliffgrass001a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 2 2 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blenddirtgrass001a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
//"%detailtype" "grassland1"
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blenddirtgrass001a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "grass01"
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor011a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blenddirtgrass005a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "coastline_grass01"
"$surfaceprop" "dirt"
"%keywords" "coastline"
}

View File

@ -0,0 +1,13 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blenddirtgrass006a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "coastline_grass01"
"$surfaceprop" "dirt"
"$bumpbasetexture2withbumpmap" "0"
// "$bumpmap" "Nature/dirtfloor012a_normal"
"%keywords" "coastline"
}

View File

@ -0,0 +1,19 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"$detail" "overlays/macro01a"
"$detailscale" .1
"%tooltexture" "nature/blenddirtgrass008a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 10 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "coastline_redgrass01"
"$surfaceprop" "dirt"
// "$bumpbasetexture2withbumpmap" "0"
// "$bumpmap" "nature/dirtfloor012b_normal"
"%keywords" "coastline"
}

View File

@ -0,0 +1,18 @@
SDK_WorldVertexTransition
// This is a copy of blenddirtgrass008a, but with a no detailtype -JeffL
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"$detail" "overlays/macro01a"
"$detailscale" .1
"%tooltexture" "nature/blenddirtgrass008a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 10 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"$surfaceprop" "dirt"
"%keywords" "coastline"
}

View File

@ -0,0 +1,19 @@
SDK_WorldVertexTransition
// This is a copy of blenddirtgrass008a, but with a no detailtype -JeffL
{
"$basetexture" "nature/dirtfloor012a"
"$basetexture2" "nature/dirtfloor006a"
"$detail" "overlays/macro01a"
"$detailscale" .1
"%tooltexture" "nature/blenddirtgrass008a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 10 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"$surfaceprop" "dirt"
"$surfaceprop2" "gravel"
"%keywords" "coastline"
}

View File

@ -0,0 +1,12 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockwall011d"
"$basetexture2" "nature/dirtfloor011a"
"%tooltexture" "nature/blendrockdirt005a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
// "%detailtype" "rocks1"
"$surfaceprop" "dirt"
"$surfaceprop2" "gravel"
"%keywords" "coastline"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockwall011d"
"$basetexture2" "nature/dirtfloor011a"
"%tooltexture" "nature/blendrockdirt006a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
// "%detailtype" "rocks1"
"$surfaceprop" "dirt"
"%keywords" "coastline"
}

View File

@ -0,0 +1,12 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockwall011d"
"$basetexture2" "nature/dirtfloor011a"
"%tooltexture" "nature/blendrockdirt006a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
// "%detailtype" "rocks1"
"$surfaceprop" "dirt"
"$surfaceprop2" "gravel"
"%keywords" "coastline"
}

View File

@ -0,0 +1,13 @@
SDK_WorldVertexTransition
{
"$basetexture2" "nature/dirtfloor012a"
"$basetexture" "nature/cliffface001a"
"%tooltexture" "nature/blendrockdirt007d_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
// "%detailtype" "rocks1"
"$surfaceprop" "dirt"
"%keywords" "coastline"
}

View File

@ -0,0 +1,29 @@
//"WorldVertexTransition"
//{
// "$basetexture" "nature/cliffface001a"
// "$basetexture2" "nature/dirtfloor012a"
// "%tooltexture" "nature/blendrockdirt007d_tooltexture"
// "$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
// //"$basetexturetransform2" "center .5 .5 scale 2 2 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
// "%detailtype" "rocks1"
// "$surfaceprop" "dirt"
// "%keywords" "coastline"
//}
//Coast bumpmap upgrade. Please excuse the hackiness.
SDK_LightmappedGeneric
{
"$basetexture" "Nature/cliffface001a"
"$surfaceprop" "dirt"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
"$bumpmap" "Nature/cliffface001a_normal"
"$detail" "detail\rock_detail_01"
"$detailscale" "11"
"$detailblendfactor" 1
"$detailblendmode" 0
}

View File

@ -0,0 +1,12 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockfloor005a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blendrockgrass004a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 10 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "coastline_redgrass01"
"$surfaceprop" "dirt"
"%keywords" "coastline"
"$bumpmap" "nature/rockfloor005a_normal"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockfloor005a"
"$basetexture2" "nature/sandfloor009a"
"%tooltexture" "nature/blendrocksand004a_tooltexture"
"%keywords" "wasteland"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 1 1 rotate 10 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"$bumpmap" "nature/rockfloor005a_normal"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockwall011d"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blendrocksgrass005a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 8 8 rotate 0 translate 0 0"
// "%detailtype" "rocks1"
"$surfaceprop" "rock"
"%keywords" "coastline"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/rockwall011d"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/blendrocksgrass006a_tooltexture"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 8 8 rotate 0 translate 0 0"
// "%detailtype" "rocks1"
"$surfaceprop" "rock"
"%keywords" "coastline"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor011a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/dirtfloor011a"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "redgrass"
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor011a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/dirtfloor011a"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"$surfaceprop" "dirt"
"%detailtype" "redgrass_light"
"%keywords" "wasteland"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor011a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/dirtfloor011a"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "rocks_redgrass"
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}

View File

@ -0,0 +1,11 @@
SDK_WorldVertexTransition
{
"$basetexture" "nature/dirtfloor011a"
"$basetexture2" "nature/dirtfloor006a"
"%tooltexture" "nature/dirtfloor011a"
"$basetexturetransform" "center .5 .5 scale 1 1 rotate 0 translate 0 0"
//"$basetexturetransform2" "center .5 .5 scale 4 4 rotate 0 translate 0 0" // Mapbase - Commented out to retain original DX9 shader behavior
"%detailtype" "short_redgrass"
"%keywords" "wasteland"
"$surfaceprop" "dirt"
}