Zoners Tools Normal.bcs 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. // Specification: Zoners Tools Normal
  2. // Written by: Ryan Gregg
  3. // Version: N/A
  4. // Created: August 4, 2004
  5. // Last updated: September 13, 2005
  6. // Updated by: Ryan Gregg
  7. // Date: Febuary 25, 2005
  8. // Updated ZHLT link.
  9. // Updated by: Ryan Gregg
  10. // Date: September 13, 2004
  11. // Improved game execution.
  12. // Updated by: Ryan Gregg
  13. // Date: August 9, 2004
  14. // Thanks to: Anders Jenbo
  15. // Removed .RMF file from input file filter.
  16. Include "Zoners Tools P Series.bci"
  17. Include "Batch.bci"
  18. Include "Half-Life.bci"
  19. Include "Steam.bci"
  20. Include "Templates.bci"
  21. Batch
  22. {
  23. Name "Zoners Tools Normal"
  24. Priority "3"
  25. Links "Zoners Tools,http://www.zhlt.info/|"_
  26. "Steam,http://www.steampowered.com/|"_
  27. "Valve,http://www.valvesoftware.com/"
  28. Filter "Supported Files|*.map;*.bsp|MAP Files (*.map)|*.map|BSP Files (*.bsp)|*.bsp"
  29. Stages "CSG|BSP|VIS|RAD|RAD2|RipEnt|Shared|Batch|HL|Steam"
  30. LogFile "${FilePath}\\${FileName}.log"
  31. Template "@echo off\n"_
  32. "set WADROOT=${WADRoot}\n"_
  33. "${Splash}"_
  34. "\"${StagePath=CSG}\" ${StageParam=CSG} \"${FilePath}\\${FileName}\"\n"_
  35. "if ERRORLEVEL 1 goto failed\n"_
  36. "\"${StagePath=BSP}\" ${StageParam=BSP} \"${FilePath}\\${FileName}\"\n"_
  37. "if ERRORLEVEL 1 goto failed\n"_
  38. "\"${StagePath=VIS}\" ${StageParam=VIS} \"${FilePath}\\${FileName}\"\n"_
  39. "if ERRORLEVEL 1 goto failed\n"_
  40. "\"${StagePath=RAD}\" ${StageParam=RAD} ${StageParam=RAD2} \"${FilePath}\\${FileName}\"\n"_
  41. "if ERRORLEVEL 1 goto failed\n"_
  42. "\"${StagePath=RipEnt}\" ${StageParam=RipEnt} \"${FilePath}\\${FileName}\"\n"_
  43. "if ERRORLEVEL 1 goto failed\n"_
  44. "${StageCmd=Batch}\n"_
  45. "\"${StagePath=hl}\" ${StageParam=hl}\n"_
  46. "\"${StagePath=Steam}\" ${StageParam=Steam}\n"_
  47. "goto succeeded\n"_
  48. ":failed\n"_
  49. "echo.\n"_
  50. "echo There was a problem compiling your map, check your ${FileName}.log file for errors.\n"_
  51. ":succeeded\n"_
  52. "echo.\n"_
  53. "${LogViewerRun}\n"
  54. }