123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147 |
- // Specification: VTex
- // Written by: Ryan Gregg
- // Version: N/A
- // Created: April 7, 2004
- // Last updated: N/A
- Include "Templates.bci"
- Variable
- {
- Name "ValveProject"
- Type "Folder"
- Optional "True"
- Hint "The directory your gameinfo.txt is located in."
- }
- Batch
- {
- Name "VTex"
- Priority "1"
- Links "Source SDK,http://www.valve-erc.com/srcsdk/"
- Filter "TGA Files (*.tga)|*.tga"
- Stages "VTex"
- Template "@echo off\n"_
- "set VPROJECT=${ValveProject}\n"_
- "${Splash}"_
- "\"${StagePath=VTex}\" -nopause ${StageParam=VTex} \"${FileName}.${FileExt}\"\n"
- }
- //
- // VTex
- //
- Stage
- {
- Name "VTex"
- Title "VTex"
- Type "Program"
- Filter "VTex (vtex.exe)|vtex.exe"
- CheckBox
- {
- Name "Make Directory"
- Bold "True"
- Param "-mkdir"
- Hint "\tMake the destination directory if it does not exist.\n\n"_
- "\tFor example, if you had a .tga in your .../sourcesdk_content/hl2/materialsrc/sample/sample_material.tga folder, -mkdir would create a new directory called \"sample\" in your .../Half-Life 2/hl2/materials directory, if it didn't already exist, and then place the compiled .vtf file in that new location. If the directory already exists, the -mkdir parameter is ignored."
- }
- CheckBox
- {
- Name "Quiet"
- Param "-quiet"
- Hint "\tDon't display any console output."
- }
- TextBox
- {
- Name "VMT Parameter"
- Param "-vmtparam"
- Size "2"
- Type "String"
- Quote "False"
- Hint "\tAdd additional material parameters to the created .vmt file.\n\n"_
- "\tIf a .vmt already exists in the same location, any new parameters will not be added. For example, to make a material translucent, you would type the following: \"$translucent 1\" (without quotes).\n"
- }
- TextBox
- {
- Name "VMT Parameter"
- Param "-vmtparam"
- Size "2"
- Type "String"
- Quote "False"
- Hint "\tAdd additional material parameters to the created .vmt file.\n\n"_
- "\tIf a .vmt already exists in the same location, any new parameters will not be added. For example, to make a material translucent, you would type the following: \"$translucent 1\" (without quotes).\n"
- }
- TextBox
- {
- Name "VMT Parameter"
- Param "-vmtparam"
- Size "2"
- Type "String"
- Quote "False"
- Hint "\tAdd additional material parameters to the created .vmt file.\n\n"_
- "\tIf a .vmt already exists in the same location, any new parameters will not be added. For example, to make a material translucent, you would type the following: \"$translucent 1\" (without quotes).\n"
- }
- TextBox
- {
- Name "VMT Parameter"
- Param "-vmtparam"
- Size "2"
- Type "String"
- Quote "False"
- Hint "\tAdd additional material parameters to the created .vmt file.\n\n"_
- "\tIf a .vmt already exists in the same location, any new parameters will not be added. For example, to make a material translucent, you would type the following: \"$translucent 1\" (without quotes).\n"
- }
- TextBox
- {
- Name "VMT Parameter"
- Param "-vmtparam"
- Size "2"
- Type "String"
- Quote "False"
- Hint "\tAdd additional material parameters to the created .vmt file.\n\n"_
- "\tIf a .vmt already exists in the same location, any new parameters will not be added. For example, to make a material translucent, you would type the following: \"$translucent 1\" (without quotes).\n"
- }
- TextBox
- {
- Name "Custom Shader"
- Param "-shader"
- Size "2"
- Type "String"
- Hint "\tHave VTex create a .vmt for the new material with the shader specified.\n\n"_
- "\tNot to be used with the Standard Shader option."
- }
- ComboBox
- {
- Name "Standard Shader"
- Param "-shader"
- Size "2"
- Default "Lightmapped Generic"
- Options "Lightmapped Generic,LightmappedGeneric|Unlit Generic,UnlitGeneric|Vertex Lit Generic,VertexlitGeneric"
- Hint "\tHave VTex create a .vmt for the new material with the shader specified.\n\n"_
- "\tNot to be used with the Custom Shader option."
- }
- Space
- {
- Size "1"
- }
- TextBox
- {
- Name "Additional Parameters"
- Type "String"
- Quote "False"
- Size "3"
- Hint "\tAdd additional parameters here as you would a command line."
- }
- }
|