danni.coy Posted July 18, 2013 Share Posted July 18, 2013 Trying to figure out how to do this, I am very stuck PS I don't know how this ended up in the wrong forum, it should be moved... :) Link to comment
sebastianbah Posted July 19, 2013 Share Posted July 19, 2013 Hello, DanniIs it correct that the problem is in the console script launcher?You can simply add plugins to console script launcher by using "-extern_plugin" command as an argument.As an example: start bin\main_%arch%d.exe -extern_plugin "C:\Users\<Username>\my_project\bin\AppOculus" If the path is relative, it is relative to the Unigine executable. Link to comment
danni.coy Posted August 2, 2013 Author Share Posted August 2, 2013 I mean the launcher script that gets created as created with the create new project button. The html one with the UIMess.js file. Link to comment
necris Posted August 2, 2013 Share Posted August 2, 2013 Danni, In <your_project>/data/launcher/interface.html file you need to change on line 106 UIMess.EngineLauncher.cleanLaunch(UIMess.FormManager.getCommandLine([ UIMess.CommandLine('sound_app', Browser.getArgument('soundapp')) ]), 1, '', '"' + UIMess.Storage.storage()['dir'] + '/' + app + '"'); to UIMess.EngineLauncher.cleanLaunch(UIMess.FormManager.getCommandLine([ UIMess.CommandLine('sound_app', Browser.getArgument('soundapp')), UIMess.ExternPlugin('internal_plugin_name', 'PluginFileName') ]), 1, '', '"' + UIMess.Storage.storage()['dir'] + '/' + app + '"'); This will generate -extern_plugin ",PluginFileName" in command line Link to comment
Recommended Posts