Jump to content

A 3D view for the DCS: World 1.5 Open Beta Mission Editor


FSFIan

Recommended Posts

@FSFIan:

 

As a mission builder this is one of the most valuable and time-saving mods I've ever used. Thanks very much for taking the time to develop this. Genuinely one of these moments:

 

At%20last_zpsrg8taeam.gif

System Spec: Cooler Master Cosmos C700P Black Edition case. | AMD 5950X CPU | MSI RTX-3090 GPU | 32GB HyperX Predator PC4000 RAM | | TM Warthog stick & throttle | TrackIR 5 | Samsung 980 Pro NVMe 4 SSD 1TB (boot) | Samsung 870 QVO SSD 4TB (games) | Windows 10 Pro 64-bit.

 

Personal wish list: DCS: Su-27SM & DCS: Avro Vulcan.

Link to comment
Share on other sites

Tried to make this work whit the OpenAlpha, unfortunately no succes.

 

Followed the tutorial plus some extra steps;

Opened the 3d view mission in winrar and extracted the mist .lua script.

fired up OpenAlpha ME to make new mission and added the script to it using trigger.

 

See screenshot for the trigger to load it and initialize the 3d script, copy pasted it from the openbeta mission.

 

However, when i load the mission and hit the Fly button i get two errors, see screenshot again.

 

After acknowledging the errors the mission does load but the 3dview script does not work, Any idea's?

 

See below for the logfile;

 

=== Log opened UTC 2016-02-18 14:21:55
00000.000 INFO    VFS: Using 'Saved Games': "E:\Saved Games"
00000.001 INFO    DCS: DCS/2.0.1.49921 (x86_64; Windows/6.2.9200)
00000.001 INFO    DCS: CPU cores: 4, System RAM: 16322 MB
00000.006 INFO    EDCORE: (dDispatcher)enterToState_:0
00000.015 INFO    Dispatcher: 2016/2/18 15:21 V1508170900
00000.032 INFO    INPUT: Device created Keyboard
00000.037 INFO    INPUT: Device created Joystick - HOTAS Warthog {317FC470-83BE-11e5-8001-444553540000}
00000.038 INFO    INPUT: Joystick created[Joystick - HOTAS Warthog {317FC470-83BE-11e5-8001-444553540000}], ForceFeedBack: no
00000.039 INFO    INPUT: Device created Throttle - HOTAS Warthog {317FC470-83BE-11e5-8002-444553540000}
00000.039 INFO    INPUT: Joystick created[Throttle - HOTAS Warthog {317FC470-83BE-11e5-8002-444553540000}], ForceFeedBack: no
00000.043 INFO    INPUT: Device created Saitek Pro Flight Rudder Pedals {60DB3860-238C-11e3-8001-444553540000}
00000.043 INFO    INPUT: Joystick created[saitek Pro Flight Rudder Pedals {60DB3860-238C-11e3-8001-444553540000}], ForceFeedBack: no
00000.521 INFO    SOUND: loaded 1083 sdefs from "sounds\sdef"
00000.634 INFO    SOUND: Using driver: xaudio28
00000.643 INFO    SOUND: XAudio2: channel layout: Headphones/Stereo
00000.643 INFO    SOUND: Using SSE FTZ/DAZ mode.
00001.042 ERROR   VFS: Can't mount './CoreMods/WWII Units/Liveries' to '/textures//liveries/'.
00001.050 ERROR   VFS: Can't mount './CoreMods/aircraft/Hawk/Textures/Avionics' to '/textures/'.
00001.053 ERROR   VFS: Can't mount './CoreMods/aircraft/M-2000C/Skins/1/ME' to '/textures/'.
00001.054 ERROR   VFS: Can't mount './CoreMods/aircraft/M-2000C/Textures/Weapons' to '/textures/'.
00001.059 INFO    SOUND: loaded 10 sdefs from ".\coremods\aircraft\mig-21bis\sounds\sdef"
00001.095 INFO    WorldPlugIns: No 'registryPath' for 'AVIODEV_C-101'
00001.103 INFO    GRAPHICSVISTA: Creating Resource "Unicode" of type 5
00001.107 INFO    DX11BACKEND: TRUNK renderer init: showShaderError coreCount=1
00001.118 INFO    DX11BACKEND: Driver Concurrent Creates - 1
00001.118 INFO    DX11BACKEND: Driver Command Lists - 1
00001.512 INFO    DX11BACKEND: DX11ShaderBinaries::loadShaders
00001.512 INFO    DX11BACKEND: DX11ShaderBinaries::loadCache  Bazar/shaders/fxo
00002.635 INFO    DX11BACKEND: DX11ShaderBinaries::loadCache done
00002.635 INFO    DX11BACKEND: DX11ShaderBinaries::loadCache  E:\Saved Games\DCS.openalpha_F\fxo
00002.764 INFO    DX11BACKEND: DX11ShaderBinaries::loadCache done
00002.764 INFO    DX11BACKEND: DX11ShaderBinaries::loadShaders finished
00002.858 ERROR   VFS: Can't mount './Mods/tech/Kuznecow/Textures/TUG_3913' to '/textures/'.
00002.860 ERROR   VFS: Can't mount './Bazar/World/textures/L-39_C' to '/textures/'.
00002.900 INFO    RENDERER: Global metashader cache enabled
00002.900 INFO    RENDERER: Loading metashader cache from  E:\Saved Games\DCS.openalpha_F\metashaders/
00003.078 INFO    RENDERER: Metashader cache: 0 (77) cached shaders out of date
00003.129 ERROR   DX11BACKEND: rendertarget "rtDynamicCloudMap" not found
00003.175 ERROR   EDOBJECTS: Destruction shape not found AVIASHTAB_CRASH
00003.176 INFO    TERRAIN: lSystem::lSystem
00003.254 INFO    EDCORE: (dDispatcher)enterToState_:1
00003.376 ERROR   VFS: add_location {"My Missions", "E:\Saved Games\DCS.openalpha_F\Missions\"}: path already added as "My Missions"
00003.690 ERROR   VFS: Can't mount './CoreMods/WWII Units/Liveries' to '/textures//liveries/'.
00003.690 ERROR   VFS: add_location {"WWII Units", "./CoreMods/WWII Units/Missions/"}: path already added as "WWII Units"
00003.692 ERROR   VFS: Can't mount './CoreMods/aircraft/Hawk/Textures/Avionics' to '/textures/'.
00003.693 ERROR   VFS: Can't mount './CoreMods/aircraft/M-2000C/Skins/1/ME' to '/textures/'.
00003.693 ERROR   VFS: Can't mount './CoreMods/aircraft/M-2000C/Textures/Weapons' to '/textures/'.
00003.696 ERROR   VFS: add_location {"Su-25T", "./Mods/aircraft/Su-25T/Missions/en/"}: path already added as "Su-25T"
00003.696 ERROR   VFS: add_location {"TF-51D", "./Mods/aircraft/TF-51D/Missions/en/"}: path already added as "TF-51D"
00003.760 ERROR   DXGUI_EDGE_RENDER: Cannot load texture ''
00004.658 INFO    DXGUI: Cannot load font [F:\Eagle Dynamics\DCS World 2 OpenAlpha\dxgui\skins\fonts\]!
00006.091 INFO    EDCORE: (dDispatcher)enterToState_:2
00006.145 INFO    EDCORE: (dDispatcher)enterToState_:3
00006.225 INFO    NET: Login success.
00018.204 INFO    TERRAIN: lSystem::load()
00018.204 INFO    TERRAIN: lSystem::CleanScenes()
00018.962 WARNING LOG: 1 duplicate message(s) skipped.
00018.962 INFO    EDTERRAIN4: Open terrain cfg "./Mods/terrains/Nevada\terrain.cfg.lua"
00018.962 INFO    EDTERRAIN4: Build date: 
00018.962 INFO    EDTERRAIN4: Texture quality: "min"
00019.279 ERROR   VFS: Can't mount './Mods/terrains/Nevada/Airfields' to '/models/'.
00019.963 WARNING LOG: 3 duplicate message(s) skipped.
00019.963 INFO    EDTERRAIN4: lTerraDispatchImpl::setDate( day=22, month=6)
00019.963 INFO    TERRAIN: lSystem::InitScenes()
00023.212 INFO    EDTERRAINGRAPHICS41: loading terrain options: Config/terrain/terrainoptions41.lua
00023.214 INFO    EDTERRAINGRAPHICS41: loading terrain shading options: ./Mods/terrains/Nevada/shadingOptions/Desert.lua
00023.214 INFO    EDTERRAINGRAPHICS41: Save scene: "E:\Saved Games\DCS.openalpha_F\failed.ofsh"
00023.248 ERROR   DX11BACKEND: texture "lightPalette.png" not found
00023.381 INFO    EDTERRAINGRAPHICS41: 0.140208s Loaded reference file "terrain" buffers: 0
00023.433 INFO    EDTERRAINGRAPHICS41: 0.052196s Loaded reference file "aircrafts" buffers: 4
00023.474 INFO    EDTERRAINGRAPHICS41: 0.041028s Loaded reference file "airfieldslights" buffers: 5
00023.686 INFO    EDTERRAINGRAPHICS41: 0.211840s Loaded reference file "bridges" buffers: 7
00023.694 INFO    EDTERRAINGRAPHICS41: 0.007452s Loaded reference file "cityhouses" buffers: 5
00023.707 INFO    EDTERRAINGRAPHICS41: 0.013243s Loaded reference file "commercial" buffers: 10
00023.832 INFO    EDTERRAINGRAPHICS41: 0.124762s Loaded reference file "communication" buffers: 0
00023.858 INFO    EDTERRAINGRAPHICS41: 0.026720s Loaded reference file "crash" buffers: 8
00023.903 INFO    EDTERRAINGRAPHICS41: 0.045006s Loaded reference file "crashmodels" buffers: 12
00024.043 INFO    EDTERRAINGRAPHICS41: 0.139998s Loaded reference file "equipment" buffers: 0
00024.074 INFO    EDTERRAINGRAPHICS41: 0.030625s Loaded reference file "housedetail" buffers: 15
00024.080 INFO    EDTERRAINGRAPHICS41: 0.005775s Loaded reference file "illumination" buffers: 12
00024.111 INFO    EDTERRAINGRAPHICS41: 0.031573s Loaded reference file "industrial" buffers: 15
00024.349 INFO    EDTERRAINGRAPHICS41: 0.237726s Loaded reference file "industrial2" buffers: 0
00024.373 INFO    EDTERRAINGRAPHICS41: 0.023555s Loaded reference file "lasvegasobjects" buffers: 9
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference airfield_pole_light_gr already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference batumi_pole_light_gr already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference car_light already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference gannet already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference light_source already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference light_source_small already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference light_source_spot already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference light_source_spot_green already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference light_source_spot_red already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference mark_light_blue already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference mark_light_red already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference mark_light_yellow already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference pole_light_gr already registred
00024.381 ERROR   EDTERRAINGRAPHICS41: Reference wire already registred
00024.381 INFO    EDTERRAINGRAPHICS41: 0.008175s Loaded reference file "misc" buffers: 0
00024.389 INFO    EDTERRAINGRAPHICS41: 0.008243s Loaded reference file "roadsideobjects" buffers: 16
00024.391 INFO    EDTERRAINGRAPHICS41: 0.002112s Loaded reference file "seasideobjects" buffers: 3
00024.395 INFO    EDTERRAINGRAPHICS41: 0.003411s Loaded reference file "townhouses" buffers: 4
00024.426 INFO    EDTERRAINGRAPHICS41: 0.031536s Loaded reference file "vehicles" buffers: 22
00024.428 INFO    EDTERRAINGRAPHICS41: 0.001876s Loaded reference file "vessels" buffers: 3
00024.441 INFO    EDTERRAINGRAPHICS41: 0.012919s Loaded reference file "villagehouses" buffers: 12
00024.445 INFO    EDTERRAINGRAPHICS41: 0.004092s Loaded reference file "walls" buffers: 11
00024.478 INFO    EDTERRAINGRAPHICS41: 0.032572s Loaded reference file "americanboxwood" buffers: 0
00024.480 INFO    EDTERRAINGRAPHICS41: 0.002901s Loaded reference file "blackgum" buffers: 0
00024.483 INFO    EDTERRAINGRAPHICS41: 0.002496s Loaded reference file "bradfordcallerypear" buffers: 0
00024.485 INFO    EDTERRAINGRAPHICS41: 0.002334s Loaded reference file "cirlypalm" buffers: 0
00024.487 INFO    EDTERRAINGRAPHICS41: 0.001866s Loaded reference file "datepalm" buffers: 0
00024.489 INFO    EDTERRAINGRAPHICS41: 0.002124s Loaded reference file "easternredcedar" buffers: 0
00024.490 INFO    EDTERRAINGRAPHICS41: 0.001105s Loaded reference file "easternredcedar_dry" buffers: 0
00024.492 INFO    EDTERRAINGRAPHICS41: 0.001841s Loaded reference file "englishoak" buffers: 0
00024.494 INFO    EDTERRAINGRAPHICS41: 0.001957s Loaded reference file "fraserfir" buffers: 0
00024.496 INFO    EDTERRAINGRAPHICS41: 0.002185s Loaded reference file "italiancypress" buffers: 0
00024.499 INFO    EDTERRAINGRAPHICS41: 0.002621s Loaded reference file "joshuatree" buffers: 0
00024.501 INFO    EDTERRAINGRAPHICS41: 0.002222s Loaded reference file "southernmagnolia" buffers: 0
00024.504 INFO    EDTERRAINGRAPHICS41: 0.002502s Loaded reference file "sugarmaple" buffers: 0
00024.504 INFO    EDTERRAINGRAPHICS41: InstanceManager2 is completing initialization... 
00024.513 INFO    EDTERRAINGRAPHICS41: InstanceManager2 complete initialization: 
00024.513 INFO    EDTERRAINGRAPHICS41:   objects:    683
00024.513 INFO    EDTERRAINGRAPHICS41:   subObjects: 7006
00024.513 INFO    EDTERRAINGRAPHICS41:   objectLods: 2651
00024.513 INFO    EDTERRAINGRAPHICS41:   objectLodRenderItems: 710
00024.513 INFO    EDTERRAINGRAPHICS41:   MAX_LODS_IN_OBJECT:       9
00024.513 INFO    EDTERRAINGRAPHICS41:   MAX_SUBOBJECTS_IN_OBJECT: 641
00024.513 INFO    EDTERRAINGRAPHICS41:   GEOMETRY BUFFERS: 173
00024.586 ERROR   EDTERRAINGRAPHICS41: cant create lDataFileGraphics for type of file = landscape5::navGraph5File
00024.595 ERROR   EDOBJECTS: AIRFIELD_POLE_LIGHT_GR already declared in shapes.txt
BATUMI_POLE_LIGHT_GR already declared in shapes.txt
CAR_LIGHT already declared in shapes.txt
GANNET already declared in shapes.txt
LIGHT_SOURCE already declared in shapes.txt
LIGHT_SOURCE_SMALL already declared in shapes.txt
LIGHT_SOURCE_SPOT already declared in shapes.txt
LIGHT_SOURCE_SPOT_GREEN already declared in shapes.txt
LIGHT_SOURCE_SPOT_RED already declared in shapes.txt
MARK_LIGHT_BLUE already declared in shapes.txt
MARK_LIGHT_RED already declared in shapes.txt
MARK_LIGHT_YELLOW already declared in shapes.txt
POLE_LIGHT_GR already declared in shapes.txt
WIRE already declared in shapes.txt
00024.708 WARNING LOG: 7 duplicate message(s) skipped.
00024.708 INFO    Dispatcher: loading mission file: "C:\Users\Username\AppData\Local\Temp\DCS.openalpha_F\tempMission.miz"
00024.739 INFO    EDCORE: (dDispatcher)enterToState_:4
00024.752 ERROR   EDOBJECTS: SMOKE-POD already declared in shapes.txt
SMOKE-POD already declared in shapes.txt
UB-16-57UMP already declared in shapes.txt
C-101_DESTR already declared in shapes.txt
00024.960 INFO    wInfo: multiple adapters
00026.547 WARNING LOG: 1 duplicate message(s) skipped.
00026.547 INFO    TERRAIN: lSystem::load()
00026.547 INFO    TERRAIN: lSystem::CleanScenes()
00026.547 INFO    EDTERRAIN4: lTerraDispatchImpl::setDate( day=1, month=6)
00026.547 INFO    TERRAIN: lSystem::InitScenes()
00026.555 INFO    DX11BACKEND: Reloading textures ...
00026.555 INFO    DX11BACKEND: reloading texture "DummyWhiteTexture"
00026.558 INFO    DX11BACKEND: reloading texture "/textures/posteffects/lensdirt.dds"
00026.560 INFO    DX11BACKEND: reloading texture "/textures/posteffects/lensghost.dds"
00026.561 INFO    DX11BACKEND: reloading texture "/textures/posteffects/lenssun.dds"
00026.563 INFO    DX11BACKEND: reloading texture "/textures/posteffects/focus.png"
00026.624 INFO    DX11BACKEND: reloading texture "DummyTransparentBlackTexture"
00027.771 INFO    DCS: Dispatcher: initial random seed = 5343170
00027.771 INFO    DCS: Dispatcher: apply random seed = 5343170
00027.774 INFO    WORLDGENERAL: loaded from mission Scripts/World/GPS_GNSS.lua
00028.559 ERROR   DX11BACKEND: rendertarget "SmokeTrailNoiseTex" not found
00028.582 ERROR   DX11BACKEND: texture "wic/normal_huge.png" not found
00028.586 ERROR   DX11BACKEND: texture "normal_tmp.png" not found
00028.587 ERROR   DX11BACKEND: texture "testAtlas.dds" not found
00028.603 INFO    WORLDGENERAL: loaded from mission Config/View/SnapViewsDefault.lua
00028.604 INFO    WORLDGENERAL: loaded from mission Config/View/View.lua
00028.605 INFO    WORLDGENERAL: loaded from mission Config/View/Server.lua
00028.699 INFO    Config: netview started
00028.728 ERROR   DX11BACKEND: texture "water_circle.tga" not found
00028.790 ERROR   DX11BACKEND: texture "Ka-50 PilotFilter.tga" not found
00028.801 ERROR   DX11BACKEND: texture "tacan_a" not found
00028.887 INFO    DCS: ComplexTask::open_state(). Precached tasks data loading.
00028.887 INFO    DCS: ComplexTask::load_task_data(). "Follow_Line" task data loaded.
00028.888 INFO    DCS: ComplexTask::load_task_data(). "Follow_Vector" task data loaded.
00028.888 INFO    DCS: ComplexTask::load_task_data(). "Follow_Vector_Old" task data loaded.
00028.888 INFO    DCS: ComplexTask::load_task_data(). "Approach" task data loaded.
00028.889 INFO    DCS: ComplexTask::load_task_data(). "Cannon_Ground_Attack" task data loaded.
00028.889 INFO    DCS: ComplexTask::load_task_data(). "Rocket_Attack" task data loaded.
00028.890 INFO    DCS: ComplexTask::load_task_data(). "Level_Bombing" task data loaded.
00028.891 INFO    DCS: ComplexTask::load_task_data(). "Dive_Bombing" task data loaded.
00028.892 INFO    DCS: ComplexTask::load_task_data(). "Missile_Ground_Target_Attack" task data loaded.
00028.892 INFO    DCS: ComplexTask::load_task_data(). "Missile_Ground_Target_Level_Attack" task data loaded.
00029.261 ERROR   Lua::Config: load error :can't open ''.
00029.384 INFO    EDTERRAINGRAPHICS41: ITerrainGraphicsImpl4::forceLoading(): pos =(-359995, 973.704, -75948.3), radius=150000
00030.109 ERROR   DX11BACKEND: texture "noise4.png" not found
00032.573 INFO    GRAPHICSVISTA: Creating Resource "Unicode" of type 5
00118.331 ERROR   DCS: Mission script error: : [string "C:\Users\Username\AppData\Local\Temp\DCS.openalpha_F\/~mis000070B0"]:4083: bad argument #1 to 'pairs' (table expected, got nil)
stack traceback:
   [C]: ?
   [C]: in function 'pairs'
   [string "C:\Users\Username\AppData\Local\Temp\DCS.openalpha_F\/~mis000070B0"]:4083: in main chunk
00312.007 ERROR   DCS: Mission script error: : [string "me_3dviews.start()..."]:1: attempt to index global 'me_3dviews' (a nil value)
stack traceback:
   [C]: ?
   [string "me_3dviews.start()..."]:1: in main chunk
00316.460 INFO    Config: netview stopped
00316.465 INFO    TERRAIN: lSystem::CleanScenes()
00316.509 INFO    EDCORE: (dDispatcher)enterToState_:3
00583.502 INFO    EDCORE: (dDispatcher)enterToState_:5
00583.585 INFO    SOUND: detaching sdef path ".\mods\aircraft\tf-51d\sounds\sdef\"
00583.585 INFO    SOUND: detaching sdef path ".\coremods\aircraft\mig-21bis\sounds\sdef\"
00583.585 INFO    SOUND: detaching sdef path "sounds\sdef\"
00583.586 INFO    TERRAIN: lSystem::CleanScenes()
00583.759 INFO    EDTERRAINGRAPHICS41: Save scene: "E:\Saved Games\DCS.openalpha_F\failed.ofsh"
00583.875 INFO    EDTERRAINGRAPHICS3: edtg::Exit()
=== Log closed.

witchcrafterror.thumb.jpg.b9b1062459376b446f0a5a6dc5809407.jpg


Edited by 159th_Falcon

[sIGPIC][/sIGPIC]

The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Link to comment
Share on other sites

It's meant for a Caucasus mission, not Nevada, so no openalpha.

 

Ian, is there a way to transmit static objects or will it be forever limited to units?

 

Hence the reason i made a new mission in Nevada.

And given the fact that Mist itself does seem to work in DCS 2.0, i cant think of a reason why this cant work.

Then again, don't know much about this kinda thing so could be completely wrong.

[sIGPIC][/sIGPIC]

The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Link to comment
Share on other sites

Hence the reason i made a new mission in Nevada.

And given the fact that Mist itself does seem to work in DCS 2.0, i cant think of a reason why this cant work.

Then again, don't know much about this kinda thing so could be completely wrong.

Ah, sorry, didn't read correctly.

It looks like you're missing the running of me_3dview.lua. Is it at the right place in ScriptingSystem.lua (Viewer copy)?

[sIGPIC][/sIGPIC]

Link to comment
Share on other sites

Ah, sorry, didn't read correctly.

It looks like you're missing the running of me_3dview.lua. Is it at the right place in ScriptingSystem.lua (Viewer copy)?

 

Ill check later this evening when I'm back home, thank's for the pointer though.

Will post here when i find out.

 

Contents of MissionScripting.lua

Maybe the line that says "dofile('Scripts/ScriptingSystem.lua')"

must change into dofile('ScriptingSystem.lua')

 

Or is it the single ' that needs to be " ?

--Initialization script for the Mission lua Environment (SSE)

dofile('Scripts/ScriptingSystem.lua')

me_3dview = {port = 46587}
dofile(lfs.writedir().."me_3dview.lua")

--Sanitize Mission Scripting environment
--This makes unavailable some unsecure functions. 
--Mission downloaded from server to client may contain potentialy harmful lua code that may use these functions.
--You can remove the code below and make availble these functions at your own risk.

local function sanitizeModule(name)
   _G[name] = nil
   package.loaded[name] = nil
end

do
   sanitizeModule('os')
   sanitizeModule('io')
   sanitizeModule('lfs')
   require = nil
   loadlib = nil
end


Edited by 159th_Falcon

[sIGPIC][/sIGPIC]

The keeper of all mathematical knowledge and the oracle of flight modeling.:)
Link to comment
Share on other sites

I had never tried it with DCS: World 2.0 because I thought trying to load two instances of Nevada was hopeless with the 8 GB of RAM I had at the time (and because this is only a proof of concept anyway).

 

Now that I have upgraded to 24 GB, I gave it a try. Turns out it works with the 2.0 Open Alpha if we use a current version of MiST. I have created a me-3d-view-nevada.miz and pushed it to GitHub.

 

 

also any new on static object support?

 

I won't add it, as all of my DCS tinkering time is taken up by DCS-BIOS nowadays. The script is released under GPLv3 though, so feel free to fork it and give it a try.

 

This is also something that I wouldn't want to spend too much time polishing, as it depends on implementation details of the DCS: World mission editor. It wraps a few internal functions to grab their parameters and send them out in a UDP packet before calling the original function, so it may break with each update of DCS.

  • Like 1
Link to comment
Share on other sites

Great idea this. Unfortunately I am unable to get this working in 1.5.3. Any ideas? I totally understand this being proof of concept etc, but it's too much of an awesome thing to just give up on.

 

[Edit]

 

I've been tinkering with this, and part of my problem was I did not have MIST in the view folder.

 

I looked in the mission editor on the viewer to see if I had the correct path to MIST, and I noticed you use 4.0.55, and I have 4.0.57. Does this matter?

 

I get the following error message on starting the viewer mission:

 

[string "me-3dview.start()..."1: attempt to call field 'start' (a nil value)

stack traceback:

[C]: in function 'start'

[string "me-3dview.start()..."]:1: in main chunk

 

[Edit 2]

it works on 1.5.3 :D

 

I realised from the error it was not able to reference the scripts to make the necessary calls. I found I had a second copy of the save files that DCS viewer copy had created, and once I copied the appropriate files into this, it works a charm.


Edited by DoctorStrop

Windows 10 64bit, Intel i7 6700K, 32GB Corsair 2400Mhz, 970 NVMe 500Gb SSD, GeForce 2080 super, HP Reverb, VKB GF PRO, Thrustmaster Warthog throttle, Thrustmaster Pendular rudders, Windows + DCS :thumbup:

 

My youtube channel

Link to comment
Share on other sites

  • 1 month later...

Hi there,

 

this idea is so awesome.

But I am unable to get this working.

DCS World Version is 1.5.3 "editor" and "viewer" install.

 

I get the following error message on starting the viewer mission:

 

[string "me-3dview.start()..."1: attempt to call field 'start' (a nil value)

stack traceback:

[C]: in function 'start'

[string "me-3dview.start()..."]:1: in main chunk

 

And i found this in dcs.log file:

Lua::Config: load error Scripts/MissionScripting.lua:[string "C:\Users\******\Saved Games\DCS.Viewer\me_3dview.lua"]:5: unexpected symbol near '<'.

 

 

I tryed a few times and check more then 1 times the setup instructions from GitHub.

Also, i replaced a few times the files u need.

Run both instances on the same PC.

 

Someone can help me ? :cry::helpsmilie:

Link to comment
Share on other sites

You probably went to GitHub, saw the link to me_3dview.lua and used right-click and "Save link as..." to save it. That won't work, because that link does not go to the raw file, it goes to a pretty website that shows the syntax-highlighted code.

(If you open the me_3dview.lua you downloaded, it's probably full of HTML markup.)

 

You can either click the link normally, then use the "raw" link/button on that site to get the file, install Git and clone the repository, or just use the "Download ZIP" button on GitHub to get the contents of the complete repository as a ZIP file.

Link to comment
Share on other sites

Ian;2738990']You probably went to GitHub, saw the link to me_3dview.lua and used right-click and "Save link as..." to save it. That won't work, because that link does not go to the raw file, it goes to a pretty website that shows the syntax-highlighted code.

(If you open the me_3dview.lua you downloaded, it's probably full of HTML markup.)

 

You can either click the link normally, then use the "raw" link/button on that site to get the file, install Git and clone the repository, or just use the "Download ZIP" button on GitHub to get the contents of the complete repository as a ZIP file.

 

:music_whistling::thumbup:

 

hei [FSF]Ian,

many thanks for help, works now perfektly.

 

vielen dank nochmal.

 

good work.

Link to comment
Share on other sites

On your last question, you can, if you setup 2 different users on your system. And install DCS for 2 separate users.

[TABLE][sIGPIC][/sIGPIC]|

[/TABLE]

Link to comment
Share on other sites

  • 3 weeks later...

3D View for the DCS: World Mission Editor PROBLEMMMMM

 

:cry: Hello all so i follow entire procedure on Github and finally nothing work .....:)

i m confesse i m totally noob and maybe i ll do something wrong but at least i can tell, i ve identified one probleme with this file MissionEditor.lua so evrytime i touch juste one quote or anything else DCS cant launch normally ,so he begin to load and after welcome screen nothing else ,blackscreen

 

i forget to mentione i have instaledl 2 version of DCS( both 1.5.3) on same PC and same hard drive but one work with Steam and he s attached too and the second in external way but they share my account informations fine and boths log fine without any modification

 

If someone have idea or can help me ,he make me so happy :helpsmilie:

i really dont understand why they havent imlplemented 3d viewver with basic version GRRRRRR

so im French so vous pouvez aussi m'aider en Francais:music_whistling:

Link to comment
Share on other sites

  • 2 weeks later...

Hi Ian, (very nice name, as my son is named Ian :)

 

I finally installed your mod and it's definitely the mod of all time for DCS !

I was discouraged by the time taken to check correct unit position by lauching the mission.

 

I can't wait for ED to implement this... and it's just a pity i don"t have any programming knwoledge cause i'd like to add the static objects or Farp!

 

I'm surprised no one tryed to fork your work.

 

By the way, i use open beta for the viewer and the Stable for the Mission Editor, it works like a charm.

 

Thank you so much!

Link to comment
Share on other sites

Error with 1.5

 

Hi, I get the following error when I run the Editor as DCS:1.5 and Viewer as DCS:1.5beta.

 

---------------------------
Mission script error
---------------------------
[string "me_3dview.start()..."]:1: attempt to call field 'start' (a nil value)
stack traceback:
[C]: in function 'start'
[string "me_3dview.start()..."]:1: in main chunk
---------------------------
OK   
---------------------------

 

Thanks!

Link to comment
Share on other sites

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 contain and what DCS is it the place (the editor or viewer) knowing that in my case. I'm on one machine.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...