blob: 9f1a0e2d915d06722dbea2ce8be2922f546b1bda (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
// Specification: Zoners Tools Legacy
// Written by: Ryan Gregg
// Version: N/A
// Created: August 4, 2004
// Last updated: September 13, 2004
// Updated by: Ryan Gregg
// Date: September 13, 2004
// Improved game execution.
// Updated by: Ryan Gregg
// Date: August 6, 2004
// Added Zoners Tools Link.
// Added Mapster Link.
// Added Mapster Support.
Include "Zoners Tools.bci"
Include "Mapster.bci"
Include "Batch.bci"
Include "Half-Life.bci"
Include "Steam.bci"
Include "Templates.bci"
Batch
{
Name "Zoners Tools Legacy"
Priority "3"
Links "Zoners Tools,http://dev.valve-erc.com/index.php?go=zhlt|"_
"Mapster,http://countermap.counter-strike.net/Mapster/|"_
"Steam,http://www.steampowered.com/|"_
"Valve,http://www.valvesoftware.com/"
Filter "Supported Files|*.map;*.bsp|MAP Files (*.map)|*.map|BSP Files (*.bsp)|*.bsp"
Stages "CSG|BSP|VIS|NetVIS|Mapster|RAD|RipEnt|Shared|Batch|HL|Steam"
LogFile "${FilePath}\\${FileName}.log"
Template "@echo off\n"_
"set WADROOT=${WADRoot}\n"_
"${Splash}"_
"\"${StagePath=CSG}\" ${StageParam=CSG} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=BSP}\" ${StageParam=BSP} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=VIS}\" ${StageParam=VIS} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=NetVIS}\" ${StageParam=NetVIS} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=Mapster}\" ${StageParam=Mapster} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=RAD}\" ${StageParam=RAD} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"\"${StagePath=RipEnt}\" ${StageParam=RipEnt} \"${FilePath}\\${FileName}\"\n"_
"if ERRORLEVEL 1 goto failed\n"_
"${StageCmd=Batch}\n"_
"\"${StagePath=hl}\" ${StageParam=hl}\n"_
"\"${StagePath=Steam}\" ${StageParam=Steam}\n"_
"goto succeeded\n"_
":failed\n"_
"echo.\n"_
"echo There was a problem compiling your map, check your ${FileName}.log file for errors.\n"_
":succeeded\n"_
"echo.\n"_
"${LogViewerRun}\n"
}
|