Lance,
there's a command in TS, under File|Compile|All Scripts in Module
it seems to do campaign scripts as well as module scripts (check Verify tab at bottom of TS).
I'm running some tests about this atm, comparing stock compiler vs. ASC plug-in ... preliminary results: ASC doesn't like *some* Campaign scripts and falls back on stock compiler, usually parameterized scripts (in the campaign folder)
[campaign, parameterized]
Information: Compiling kg_wm_c_check
Warning: Advanced script compiler: NscCompileScript failed to execute, falling back to standard script compiler - exception: System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\kL\My Documents\Neverwinter Nights 2\Campaigns\Kingz_Gate\__tempscript__\kg_wm_c_check.ncs' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at NWN2ToolsetCompilerPlugin.ScriptCompilerHook.CompileFile(String Name, String OutputDirectory)
but this non-parameterized script popped up also:
[campaign, not parameterized] <----------!!!!
Information: Compiling kg_c_onroster
Warning: Advanced script compiler: NscCompileScript failed to execute, falling back to standard script compiler - exception: System.UnauthorizedAccessException: Access to the path 'C:\Documents and Settings\kL\My Documents\Neverwinter Nights 2\Campaigns\Kingz_Gate\__tempscript__\kg_c_onroster.ncs' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at NWN2ToolsetCompilerPlugin.ScriptCompilerHook.CompileFile(String Name, String OutputDirectory)
it looks to me like a 'maximum path length' error?
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
--
Sky,
same test using stock compiler has no errors warnings.
Modifié par kevL, 01 septembre 2014 - 06:54 .