|
|
@ -68,13 +68,15 @@ else:
|
|
|
|
printLog(log, ">>> Generate sized wmap <<<")
|
|
|
|
printLog(log, ">>> Generate sized wmap <<<")
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildGabarit " + AiWmapContinentName ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildGabarit " + AiWmapContinentName ])
|
|
|
|
printLog(log, ">>> Generate cwmaps for each size <<<")
|
|
|
|
printLog(log, ">>> Generate cwmaps for each size <<<")
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_0" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_0" ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_1" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_1" ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_2" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildWmap " + AiWmapContinentName + "_2" ])
|
|
|
|
|
|
|
|
flushParallelProcesses()
|
|
|
|
printLog(log, ">>> Generate bitmap for each size <<<")
|
|
|
|
printLog(log, ">>> Generate bitmap for each size <<<")
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_0" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_0" ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_1" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_1" ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_2" ])
|
|
|
|
callParallelProcess([ AiBuildWmap, "pacsBuildBitmap " + AiWmapContinentName + "_2" ])
|
|
|
|
|
|
|
|
flushParallelProcesses()
|
|
|
|
printLog(log, ">>> Clear height maps for size 1 and 2 <<<")
|
|
|
|
printLog(log, ">>> Clear height maps for size 1 and 2 <<<")
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsClearHeightmap " + AiWmapContinentName ])
|
|
|
|
subprocess.call([ AiBuildWmap, "pacsClearHeightmap " + AiWmapContinentName ])
|
|
|
|
printLog(log, ">>> Cut tga for world editor <<<")
|
|
|
|
printLog(log, ">>> Cut tga for world editor <<<")
|
|
|
|