SteamVR

SteamVR

SteamVR Workshop
Customize your SteamVR experience by finding new backgrounds, 3D environments, controllers and base station models.
Learn More
Clu 1 Jul 14, 2019 @ 3:23pm
VTEX Files for Fire Particles
Is there a simple way of making Vtex files in Source 2 without going through the Dota 2 Workshop tools?
Last edited by Clu; Jul 14, 2019 @ 3:30pm
< >
Showing 1-6 of 6 comments
Rectus 13 Jul 14, 2019 @ 11:49pm 
Unfortunately not, you still have to find and modify a template file. Luckily they all have the same format so there is not really any need to go through the Dota 2 tools, just copy this one and change the m_fileName setting.

<!-- dmx encoding keyvalues2_noids 1 format vtex 1 --> "CDmeVtex" { "m_inputTextureArray" "element_array" [ "CDmeInputTexture" { "m_name" "string" "0" "m_fileName" "string" "materials/particle/file_name_goes_here.png" "m_colorSpace" "string" "srgb" "m_typeString" "string" "2D" } ] "m_outputTypeString" "string" "2D" "m_outputFormat" "string" "DXT5" "m_textureOutputChannelArray" "element_array" [ "CDmeTextureOutputChannel" { "m_inputTextureArray" "string_array" [ "0" ] "m_srcChannels" "string" "rgba" "m_dstChannels" "string" "rgba" "m_mipAlgorithm" "CDmeImageProcessor" { "m_algorithm" "string" "" "m_stringArg" "string" "" "m_vFloat4Arg" "vector4" "0 0 0 0" } "m_outputColorSpace" "string" "srgb" } ] }
Clu 1 Jul 15, 2019 @ 1:59am 
Thankyou for this, got it showing up now just need to figure out how to change a .DDS into reable format. Am I correct in saying PSD files work but not sure in what capacity.
Rectus 13 Jul 15, 2019 @ 2:35am 
I think .psd works but only with some sort of compability mode enabled. I'd convert to .png or .tga instead.
Clu 1 Jul 15, 2019 @ 2:38am 
Right ok thanks Rectus. So my final question is, take fire_burning_character.vtex for example.
How do create a sprite sheet so that each one is animated because currently I have one and they're all static.
Clu 1 Jul 15, 2019 @ 3:10am 
Thankyou
< >
Showing 1-6 of 6 comments
Per page: 1530 50