- Mar 31, 2018
- 4
- 1
I want to include a custom surface in my map, however there isn't really any documentation on how to do this except for the instructions from the surfaceproperties_manifest.txt located in: tf2_misc_dir.vpk, scripts/
Well what I've done so far is copying the manifest to the scripts folder and adding the following line:
(Under "// List additional surface property files here:")
"file" "scripts/surfaceproperties_jackson.txt"
"jackson" is also the name of my map.
Then creating the surfaceproperties_jackson.txt file and adding this into the file:
"hardgravel"
{
"base" "rock"
"stepleft" "Gravel.StepLeft"
"stepright" "Gravel.StepRight"
}
However this doesn't work in the game and doesn't throw any errors in the console.
(basically i want a surface with properties from "rock" but with the gravel soundsteps)
"base" "rock" is a reference to the rock properties in the surfaceproperties.txt located in: hl2/hl2_misc_dir.vpk, scripts/
also like entries from the surfaceproperties_tf.txt back in tf2_misc_dir are referring to that hl2 file, as there isn't such file anywhere in tf directory.
Someone smarter enought attend me please !
Well what I've done so far is copying the manifest to the scripts folder and adding the following line:
(Under "// List additional surface property files here:")
"file" "scripts/surfaceproperties_jackson.txt"
"jackson" is also the name of my map.
Then creating the surfaceproperties_jackson.txt file and adding this into the file:
"hardgravel"
{
"base" "rock"
"stepleft" "Gravel.StepLeft"
"stepright" "Gravel.StepRight"
}
However this doesn't work in the game and doesn't throw any errors in the console.
(basically i want a surface with properties from "rock" but with the gravel soundsteps)
"base" "rock" is a reference to the rock properties in the surfaceproperties.txt located in: hl2/hl2_misc_dir.vpk, scripts/
also like entries from the surfaceproperties_tf.txt back in tf2_misc_dir are referring to that hl2 file, as there isn't such file anywhere in tf directory.
Someone smarter enought attend me please !
Last edited: