View Single Post
Old Mar 2nd, 2005, 5:26 PM   #4
Rory
Expert Programmer
 
Rory's Avatar
 
Join Date: Jan 2005
Location: London
Posts: 542
Rep Power: 4 Rory is on a distinguished road
Send a message via MSN to Rory
To the best of my knowledge the mesh files need to be passed through StdIn rather than as command line parameters - that's what the console thing on the Valve Hammer editor (haven't used it for ages!) does - if not your BSP file may not be fully optimised and may get artefacts (holes, low-res lighting etc).
You can do this from cmd (just use the ">" directive) and in VB the simplest way is to use the FileSystemObject, though there are API alternatives.
Rory is offline   Reply With Quote