Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public override bool RunImp(Task task, AppEnv appEnv, bool withChildren)
- {
- string tempDir = string.Empty;
- string surfaceL0filename = string.Empty;
- string navMeshfilename = string.Empty;
- if (appEnv.terrainConfig.VectorData5)
- {
- tempDir = appEnv.TempDir + @"export-lsa4-with-vector-data-5\";
- surfaceL0filename = tempDir + "surface-L0.ofsh";
- }
- else
- {
- tempDir = appEnv.TempDir + @"export-surface\";
- surfaceL0filename = tempDir + "surfaceL0.ofsh";
- }
- Command command = new Command();
- command.Type = Command.CommandType.EDTU4;
- command.EdtuCommand = "build-navigation-mesh";
- //navMeshfilename = + "navigationMesh.navmesh";
- command.Args = surfaceL0filename + " " + navMeshfilename;
- command.ErrorsFile = tempDir + @"export-vector-data_errors.ofsh";
- task.AddCommand(command);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment