FSFIan Posted May 28, 2016 Author Share Posted May 28, 2016 Hello and thank you for this tip. I have both dcs that run in parallel. But I'm in the editor, the changes are not visible to the viewer. So I could even change the I have to restart the mission in the viewer. I have just one question about the dcs_variant.txt file. What should it contabin and what DCS is it the place (the editor or viewer) knowing that in my case. I'm on one machine. The dcs_variant.txt file goes into the installation directory of your second DCS: World installation. It makes sense to use that second installation to run the viewer, so you don't have to install any additional modules there. It can contain anything you like. If dcs_variant.txt contains the string "foo", that installation will use "%USERPROFILE%\Saved Games\DCS.foo" as the profile directory. Can you explain in more detail what you mean by "So I could even change the I have to restart the mission in the viewer."? DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
Col.Kassad Posted June 22, 2016 Share Posted June 22, 2016 All units are not present in viewer Hi Ian, Thanks a lots for your very nice work !!! It work for me but not for all units or structures: farp / aerial units / etc... are not present in viewer... I'm using two same release versions of DCS on one PC. Have you an idea ? Regards, Col.Kassad Link to comment Share on other sites More sharing options...
FSFIan Posted June 22, 2016 Author Share Posted June 22, 2016 Quote from the GitHub page: Only vehicle groups have been implemented and (very cursorily) tested While it's technically possible to make this work for some other unit types, I won't do it. This is a quick and dirty proof of concept, and given that ED plans to implement 3D preview capabilities into the standard mission editor, it's not worth the effort. It's open source though, so feel free to fork and extend it. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
dissignator Posted August 10, 2016 Share Posted August 10, 2016 Got a Problem! Edited all the Files and place the Copys correctly, but got a black Window in the Editor-DCS-Version, after edited the MissionScriting.Lua with local netlog = require("netlog"); netlog.hook_all() Can anyone help me? Link to comment Share on other sites More sharing options...
FSFIan Posted August 11, 2016 Author Share Posted August 11, 2016 after edited the MissionScriting.Lua with local netlog = require("netlog"); netlog.hook_all() That part does not belong in MissionScripting.lua, it belongs in MissionEditor.lua. If that does not fix the issue, please post the exact DCS version and your dcs.log. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
dissignator Posted August 11, 2016 Share Posted August 11, 2016 Sorry, i mean MissionEditor.lua .... not scripting! :music_whistling: After editing MissinEditor.lua got a black screen. Link to comment Share on other sites More sharing options...
FSFIan Posted August 11, 2016 Author Share Posted August 11, 2016 Please post the exact DCS version you are using and your dcs.log. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
dissignator Posted August 12, 2016 Share Posted August 12, 2016 Version: 1.5.4.55584.141 === Log opened UTC 2016-08-12 08:25:14 00000.000 INFO VFS: Using 'Saved Games': "C:\Users\Administrator\Saved Games" 00000.084 INFO DCS: DCS/1.5.4.55584 (x86_64; Windows/10.0.10586) 00000.084 INFO DCS: CPU cores: 6, System RAM: 16284 MB 00000.091 INFO EDCORE: (dDispatcher)enterToState_:0 00000.097 INFO Dispatcher: 2016/8/12 10:25 V1508170900 00000.123 INFO INPUT: Device [Keyboard] created deviceId = 1 00000.133 INFO INPUT: Device [Logitech G13 Joystick {F98588A0-0D58-11e6-8003-444553540000}] created deviceId = 2 00000.133 INFO INPUT: Joystick created[Logitech G13 Joystick {F98588A0-0D58-11e6-8003-444553540000}], ForceFeedBack: no 00000.153 INFO INPUT: Device [Mouse] created deviceId = 3 00000.342 INFO SOUND: loaded 1096 sdefs from "sounds\sdef" 00000.384 INFO SOUND: Using driver: xaudio29 00000.404 INFO SOUND: XAudio2: channel layout: Headphones/Stereo 00000.404 INFO SOUND: Using SSE FTZ/DAZ mode. 00000.741 ERROR VFS: Can't mount './CoreMods/aircraft/Hawk/Textures/Avionics' to '/textures/'. 00000.747 INFO SOUND: loaded 19 sdefs from ".\coremods\aircraft\m-2000c\sounds\sdef" 00000.747 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Skins/1/ME' to '/textures/'. 00000.747 ERROR VFS: Can't mount './CoreMods/aircraft/M-2000C/Textures/Weapons' to '/textures/'. 00000.750 INFO SOUND: loaded 10 sdefs from ".\coremods\aircraft\mig-21bis\sounds\sdef" 00000.757 INFO SOUND: loaded 7 sdefs from ".\coremods\aircraft\sa342\sounds\sdef" 00000.770 INFO SOUND: loaded 27 sdefs from ".\mods\aircraft\hawk\sounds\sdef" 00000.773 INFO SOUND: loaded 4 sdefs from ".\mods\aircraft\ka-50\sounds\sdef" 00001.013 INFO WorldPlugIns: No 'registryPath' for 'AVIODEV_C-101' 00004.657 INFO WorldPlugIns: No 'registryPath' for 'BALTICDRAGON_A10C-ENEMY_WITHIN_campaign' 00004.666 INFO GRAPHICSVISTA: Creating Resource "Unicode" of type 1 00004.668 INFO DX11BACKEND: TRUNK renderer init: showShaderError coreCount=1 00004.685 INFO DX11BACKEND: Driver Concurrent Creates - 1 00004.685 INFO DX11BACKEND: Driver Command Lists - 1 00004.686 INFO DX11BACKEND: DX11ShaderBinaries::loadShaders 00004.686 INFO DX11BACKEND: DX11ShaderBinaries::loadCache Bazar/shaders/fxo 00007.553 INFO DX11BACKEND: DX11ShaderBinaries::loadCache done 00007.553 INFO DX11BACKEND: DX11ShaderBinaries::loadCache C:\Users\Administrator\Saved Games\DCS\fxo 00007.564 INFO DX11BACKEND: DX11ShaderBinaries::loadCache done 00007.564 INFO DX11BACKEND: DX11ShaderBinaries::loadShaders finished 00007.572 ERROR VFS: Can't mount './Bazar/EffectViewer/envcubes' to '/textures/'. 00007.635 ERROR VFS: Can't mount './Mods/tech/Kuznecow/Textures/TUG_3913' to '/textures/'. 00007.674 INFO RENDERER: Global metashader cache enabled 00007.674 INFO RENDERER: Loading metashader cache from C:\Users\Administrator\Saved Games\DCS\metashaders/ 00007.674 INFO RENDERER: Metashader cache: 0 (0) cached shaders out of date 00007.728 ERROR DX11BACKEND: rendertarget "rtDynamicCloudMap" not found 00007.729 INFO EDTERRAINGRAPHICS3: edtg::CreateSurfaceRenderItem() 00007.770 ERROR EDOBJECTS: Destruction shape not found AVIASHTAB_CRASH 00007.770 INFO TERRAIN: lSystem::lSystem 00007.789 INFO EDCORE: (dDispatcher)enterToState_:1 00007.874 ALERT Dispatcher: Error starting Mission editor: [string "./MissionEditor/MissionEditor.lua"]:1: unexpected symbol near 'ï' 00008.025 INFO EDCORE: (dDispatcher)enterToState_:2 00008.145 INFO EDCORE: (dDispatcher)enterToState_:3 00012.656 INFO EDCORE: (dDispatcher)enterToState_:5 00012.662 INFO SOUND: detaching sdef path ".\mods\aircraft\tf-51d\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\mods\aircraft\ka-50\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\mods\aircraft\hawk\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\mods\aircraft\flaming cliffs\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\mods\aircraft\a-10c\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\coremods\aircraft\sa342\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\coremods\aircraft\mig-21bis\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path ".\coremods\aircraft\m-2000c\sounds\sdef\" 00012.662 INFO SOUND: detaching sdef path "sounds\sdef\" 00012.667 INFO TERRAIN: lSystem::Exit() 00012.667 INFO TERRAIN: lSystem::CleanScenes() 00012.667 INFO EDTERRAINGRAPHICS3: edtg::Exit() 00012.708 INFO EDTERRAINGRAPHICS3: edtg::DeleteSurfaceRenderItem() 00012.708 WARNING LOG: 1 duplicate message(s) skipped. 00012.708 INFO EDTERRAINGRAPHICS3: edtg::Exit() === Log closed. Link to comment Share on other sites More sharing options...
FSFIan Posted August 12, 2016 Author Share Posted August 12, 2016 00007.874 ALERT Dispatcher: Error starting Mission editor: [string "./MissionEditor/MissionEditor.lua"]:1: unexpected symbol near 'ï' How do you manage to get a syntax error in line one of that file by appending stuff to the end? What editor did you use? Make sure to save as UTF-8. Check the beginning of the file to make sure you or your editor didn't accidentally insert any garbage there. Make sure it isn't saved as UTF-16 with a byte order mark. I recommend Notepad++. It has an option to show all unprintable characters. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
dissignator Posted August 12, 2016 Share Posted August 12, 2016 OMFG ! THANK YOU ! ! ! It was realy the Problem with the wrong Editor! Notepad ++ works ! :) THANK YOU! I love this Forum and the Community ! :-):thumbup: Link to comment Share on other sites More sharing options...
dissignator Posted August 12, 2016 Share Posted August 12, 2016 (edited) Ok, got the next Problem. When i place a Tank or something and move it, it works nice! With Buildings, not ... i see no update in the Viewer. And Helipads or Helis doesnt show up. Edited August 12, 2016 by dissignator Link to comment Share on other sites More sharing options...
FSFIan Posted August 13, 2016 Author Share Posted August 13, 2016 Works as expected. Read the "Bugs" section in the README on GitHub. This was something I built in half a Saturday. I woke up with a crazy idea and then put in the 20% effort to get it 80% working (i.e. for the most common case, ground units), have a proof of concept and get the idea out of my head. I don't think it's worth putting in the other 80% of work, as this is not built on top of any official interface so it may break with any update to DCS. Also, ED has stated that they want to add 3D preview to the editor eventually, so any further development effort on this kludge will be wasted in the long run. If someone else wanted to fork the project, it could probably be made to work for static object groups as well with a reasonable amount of implementation and testing. Helipads would be a special case, as you can't dynamically add a FARP to a mission. You might be able to spawn a static object that looks like a FARP instead. Using it for aircraft is right out, as you can't put an aircraft into the air and have it stay there (and if you want helicopters to hover you have to deal with their AI and them eventually running out of fuel). For aircraft on the ground, you'd need special case logic again to detect that and spawn a static object instead. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
dissignator Posted August 13, 2016 Share Posted August 13, 2016 No Problem, i love your Work! Its such a great Mod! I have seen the Checkpoint in the Video moving an rotating and in my Version it did not work. I thinked it was a Problem on my Side, like the fail with the Editor. Then lets hope that ED put a 3d-Editor in ! Link to comment Share on other sites More sharing options...
Rakuzard Posted August 13, 2016 Share Posted August 13, 2016 I have seen the Checkpoint in the Video moving an rotating and in my Version it did not work. I thinked it was a Problem on my Side I don't think so. Objects won't move/rotate for me, too, like they once did. As Ian said, it may break with any DCS update ;) - Deutsche Tutorials und DCS Gameplay: youtube.com/Rakuzard | raku.yt/discord - Link to comment Share on other sites More sharing options...
FSFIan Posted August 13, 2016 Author Share Posted August 13, 2016 The checkpoint in the video is technically a ground unit, not a static object. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
=DECOY= Posted March 7, 2017 Share Posted March 7, 2017 I have Finally got this working and i must say.. THANK YOU its a great mod and it has saved me a lot of time. Water cooled i9-9900K | Maximus Code XI MB | RTX3090 | 64GB | HP Reverb G2 Link to comment Share on other sites More sharing options...
cobragva Posted March 8, 2017 Share Posted March 8, 2017 Hello, Does it still work with the current DCS World versions ? Thank you in advance for your answer. Kind regards Link to comment Share on other sites More sharing options...
Alf.Snake Posted March 9, 2017 Share Posted March 9, 2017 (edited) We need edit on 3D with out install 2 time the game , we need the edit like Arma 3, please DSC Worlds guys edit in this game is realy frustrating, we need 3d editor here Edited March 10, 2017 by Alf.Snake Link to comment Share on other sites More sharing options...
guimcdo Posted June 5, 2017 Share Posted June 5, 2017 Hi, I have the following error when running me_3d-view.miz; editor error.zip Any idea? Rgds Guillaume Link to comment Share on other sites More sharing options...
guimcdo Posted June 6, 2017 Share Posted June 6, 2017 I switched both instance (editor/viewer) and I have not script error, but the 3D view system doesn't work anymore... I copy/paste the first installation to have the second one, and maybe the problem come from that... I re-install a second installation, and I let you know. Rgds Guillaume Link to comment Share on other sites More sharing options...
guimcdo Posted June 7, 2017 Share Posted June 7, 2017 With a correct installation for viewer, that's work fine. Link to comment Share on other sites More sharing options...
rwsd_1 Posted December 22, 2017 Share Posted December 22, 2017 CAN SOME TELL ME HOW YOU INSTALL THIS? i have tried and nothing makes sense to me when you can only have one copy of DCS in saved games folder user folder and I have DCS world on my D drive... so if I intsall a 2nd copy i still only have saved games folder on my C drive do i copy that folder too? Mist??? What is Mist ? I have no idea how scripts work Link to comment Share on other sites More sharing options...
FSFIan Posted December 22, 2017 Author Share Posted December 22, 2017 CAN SOME TELL ME HOW YOU INSTALL THIS? i have tried and nothing makes sense to me when you can only have one copy of DCS in saved games folder user folder The instructions on GitHub tell you how to configure one of your two DCS installs to use a different Saved Games folder. MiST refers to the Mission Scripting Tools, a very useful utility library for people who use Lua scripts in their missions. It is used as part of the mission that runs in the viewer installation. You don't need to install it separately, it is incorporated into the .miz files. DCS-BIOS | How to export CMSP, RWR, etc. through MonitorSetup.lua Link to comment Share on other sites More sharing options...
rwsd_1 Posted December 22, 2017 Share Posted December 22, 2017 what does this mean? I followed the whole thing to a T? Link to comment Share on other sites More sharing options...
rwsd_1 Posted December 22, 2017 Share Posted December 22, 2017 now i get a black blank screen gonna have to re install the whole thing thanks Link to comment Share on other sites More sharing options...
Recommended Posts