Walshtimothy Posted April 14, 2023 Posted April 14, 2023 On 4/1/2023 at 7:26 PM, astazou said: Hello, Thank you for all your sharing, with all those example I made mine: https://www.digitalcombatsimulator.com/fr/files/3330144/ see ya amazing ! how did you change te hangar etc ? walshtimothyWW2 virtual flier - currently playing on 4ya ww2 - youtube channel here https://www.ww2adinfinitum.blog - https://projectoverlord.co.uk/
astazou Posted April 15, 2023 Posted April 15, 2023 On 4/14/2023 at 12:29 PM, Walshtimothy said: amazing ! how did you change te hangar etc ? Thank you For the hangar, I installed the mod (link in the .zip), then, I replaced the "ukrytie" by the name of the hangar mod, I adjusted the position and the scale, and it works You can read the sceneVR.lua to see how I imported models, placed them, rotated them, etc... see ya 1 My DCS contributions: - My mods/skins: here - My server/missions scripts: there - My Discord bot: this place If you want to thank me buying a coffee/beer, feel free: https://www.buymeacoffee.com/Astazou
Tusk.V Posted April 16, 2023 Posted April 16, 2023 What causes the lighting to do this? Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Walshtimothy Posted April 19, 2023 Posted April 19, 2023 On 4/15/2023 at 7:14 PM, astazou said: Thank you For the hangar, I installed the mod (link in the .zip), then, I replaced the "ukrytie" by the name of the hangar mod, I adjusted the position and the scale, and it works You can read the sceneVR.lua to see how I imported models, placed them, rotated them, etc... see ya Excellent , thanks man walshtimothyWW2 virtual flier - currently playing on 4ya ww2 - youtube channel here https://www.ww2adinfinitum.blog - https://projectoverlord.co.uk/
Shrike88 Posted October 20, 2023 Posted October 20, 2023 @SkateZilla Greetings Skate. I read years old posts of yours changing the SceneVR.lua and editing it real time instead of having to close and reopen DCS for each subsequent change as it can be time consuming. Is there a proven method for loading the SceneVR lua file into the model viewer or some type of 3d viewing platform in vr each change i make ? also its possible to just change the scene to the hangar deck of the super carrier right ? why not ? Guessing its the nimitz_71_lod_0.edm Thanks again Shrike
Tusk.V Posted October 23, 2023 Posted October 23, 2023 On 10/20/2023 at 3:42 PM, Shrike88 said: @SkateZilla Greetings Skate. I read years old posts of yours changing the SceneVR.lua and editing it real time instead of having to close and reopen DCS for each subsequent change as it can be time consuming. Is there a proven method for loading the SceneVR lua file into the model viewer or some type of 3d viewing platform in vr each change i make ? also its possible to just change the scene to the hangar deck of the super carrier right ? why not ? Guessing its the nimitz_71_lod_0.edm Thanks again Shrike Let me know if you figure out how to change it from a hangar to the Supercarrier. Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Shrike88 Posted October 24, 2023 Posted October 24, 2023 22 hours ago, Tusk.V said: Let me know if you figure out how to change it from a hangar to the Supercarrier. I was able to change it, However just cant figure out how to get my livery to work now, lol Probably some adjustments on camera angle etc might be needed. You want to help me tweak it and maybe add some weapons cool. I dont think the apache has the option for cowl and intake covers and probe covers like the hornet or harrier Quote package.path = package.path ..';./Scripts/DemoScenes/?.lua;' local sceneEnvironment = require("demosceneEnvironment") scene = {} -- сюда кладем все созданные объекты function loadScene(scenePtr) sceneAPI = sceneEnvironment.getInterface(scenePtr) sceneAPI:setUpdateFunc('sceneVRUpdate') sceneAPI:setEnvironmentMap("Bazar/Graphics/VRMainScene.dds",0.9); sceneAPI:setSun(math.rad(-90), math.rad(0)) -- сажаем солнце за горизонт чтоб не светило scene.m = sceneAPI:addModel("AH-64D", 1, 2.3, -4); -- lower moves back, lower is lower, lower moves right scene.m:setLivery("AH64D Draken", "AH-64D_BLK_II"); scene.m.transform:setOrient(0, -30,5) --sets angle around the three axes was roll 6.92, yaw 30, pitch 13.5 scene.m:setArgument(1, 0.439); -- tail wheel compression scene.m:setArgument(4, 0.65); -- stbd wheel compression scene.m:setArgument(6, 0.65); -- port wheel compression scene.m:setArgument(20, 1); scene.m:setArgument(38, 1); scene.m:setArgument(40, -0.113); scene.m:setArgument(50, 1); -- pilot gone scene.m:setArgument(280, -1); -- rotor droop scene.m:setArgument(281, -1); -- rotor droop scene.m:setArgument(282, -1); -- rotor droop scene.m:setArgument(283, -1); -- rotor droop scene.m:setArgument(306, 0.117); -- sensor level scene.m:setArgument(307, 0.935); -- sensor stowed --scene.m:setArgument(326, -1); -- more rotor droop --scene.m:setArgument(327, -1); -- more rotor droop --scene.m:setArgument(328, -1); -- more rotor droop --scene.m:setArgument(329, -1); -- more rotor droop scene.m:setArgument(421, 1); -- cpg door scene.m:setArgument(472, 1); -- cpg gone local cam_level = 1.8 scene.cam = sceneAPI:addCamera(3, cam_level , 3) scene.cam:setFarClip(1000.0) scene.cam:setFov(90) scene.cam.transform:lookAtPoint(-10.0, cam_level, 0); scene.flr = sceneAPI:addModel("shelter_floor", 0,0,0); scene.flr:drawToEnvironment(true); scene.flr.transform:scale(2,1.5,1.5); scene.sh = sceneAPI:addModel("nimitz_cvn_71_lod_0", 0,-10,0); scene.sh:drawToEnvironment(true); scene.sh.transform:scale(2,2,2); scene.L1 = sceneAPI:addLightOmni(0, 25, 0, 1,0.8,0.5); scene.L1:setRadius(200); scene.L1:setAmount(1); scene.cam:setActive() end --[0;1] local function pingpong(length, t) local tt = (t%length)*2/length if tt>1 then tt = 2-tt end return tt end function sceneVRUpdate(t, dt) end
Tusk.V Posted October 25, 2023 Posted October 25, 2023 3 hours ago, Shrike88 said: I was able to change it, However just cant figure out how to get my livery to work now, lol Probably some adjustments on camera angle etc might be needed. You want to help me tweak it and maybe add some weapons cool. I dont think the apache has the option for cowl and intake covers and probe covers like the hornet or harrier So I kinda combined this with my other F-18 hangar scene. It has several Hornets in a hangar. They're in the carrier now but I need to figure out how to put them on the deck. sceneVR.lua 1 Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Mars Exulte Posted October 25, 2023 Posted October 25, 2023 (edited) One of these days ED needs to overhaul this placeholder environment. Edited October 25, 2023 by Mars Exulte 3 Де вороги, знайдуться козаки їх перемогти. 5800x3d * 3090 * 64gb * Reverb G2
Tusk.V Posted October 25, 2023 Posted October 25, 2023 On 4/15/2023 at 8:05 PM, Tusk.V said: What causes the lighting to do this? How do I adjust the lighting? In the hangar or on the carrier, the lighting is doing weird things. Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Tusk.V Posted October 30, 2023 Posted October 30, 2023 On 10/24/2023 at 3:09 PM, Shrike88 said: I was able to change it, However just cant figure out how to get my livery to work now, lol Probably some adjustments on camera angle etc might be needed. You want to help me tweak it and maybe add some weapons cool. I dont think the apache has the option for cowl and intake covers and probe covers like the hornet or harrier Do you have them on the deck? Mine are down underneath. Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Shrike88 Posted October 31, 2023 Posted October 31, 2023 No I put mine in the hangar space underneath as I liked that look better. Still some tweaking trying to get liveries showing up now. Much more enjoyable than the Russian hangar.
Tusk.V Posted October 31, 2023 Posted October 31, 2023 12 hours ago, Shrike88 said: No I put mine in the hangar space underneath as I liked that look better. Still some tweaking trying to get liveries showing up now. Much more enjoyable than the Russian hangar. Agreed. I have 3 hornets on the deck. I'm strugging to get liveries working too. I have this weird lighting issue with mine. Sometimes the sky looks completely normal. Other times it is pitch black. Not really sure what is going on. Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
Scoop Posted October 31, 2023 Posted October 31, 2023 Have a look at this one, might help you in some way. sceneVR F14 Night Carrier.lua 2 Asus Dark Hero X570, AMD 5800x3D, RTX 4090 Reference, All on Custom Water Loop, 3600 CL15 XMP, 4xCrucial P5P 2T M2+SSD's, Hotas Warthog, Reverb G2, Latest DCS MT and VR only A10CII and AH64D, Nevada, Persian Gulf, Syria, Marianas, Caucasus, Afghanistan
Tusk.V Posted November 4, 2023 Posted November 4, 2023 (edited) On 10/31/2023 at 9:37 AM, Scoop said: Have a look at this one, might help you in some way. sceneVR F14 Night Carrier.lua 4.72 kB · 6 downloads This is great! Thanks so much. I took your scene and changed it to the F-18. sceneVR.lua Edited November 4, 2023 by Tusk.V Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG
STKDirty Posted December 18, 2023 Posted December 18, 2023 Hi, great thread! I read through the whole thing but did not see a way to change the BORT/Board numbers on the hornet livery. The setting in Model Viewer is under the arguments section but it isn't clear what command that translates into for the scenevr.lua. Any help is appreciated. Thanks! Chirp
Captain Orso Posted December 18, 2023 Posted December 18, 2023 What I have in my notes is this scene.m1:setArgument(443, 1.4); -- BORT 1st character scene.m1:setArgument(444, 0.5); -- BORT 2nd character scene.m1:setArgument(445, 1.5); -- BORT 3rd character This is for the P-51D, so the Hornet may be using different argument numbers. The "m1" references scene.m1 = sceneAPI:addModel("P-51D-25-NA", 15, 1.9, 6); 1 When you hit the wrong button on take-off System Specs. Spoiler System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27" CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
STKDirty Posted December 18, 2023 Posted December 18, 2023 6 hours ago, Captain Orso said: What I have in my notes is this scene.m1:setArgument(443, 1.4); -- BORT 1st character scene.m1:setArgument(444, 0.5); -- BORT 2nd character scene.m1:setArgument(445, 1.5); -- BORT 3rd character This is for the P-51D, so the Hornet may be using different argument numbers. The "m1" references scene.m1 = sceneAPI:addModel("P-51D-25-NA", 15, 1.9, 6); Thanks! That got me on the right track. For those who want to know, the hornet BORT number arguments are as follows: scene.m:setArgument(442, .4); -- First BORT number scene.m:setArgument(31, 0); -- Second BORT number scene.m:setArgument(32, .8); -- Third BORT number The number after the decimal seems to represent which number you want. The example above is for 408. Chirp
washedupgrunt Posted January 7, 2024 Posted January 7, 2024 Not really sure what I did, but I think picking the Maverick f/a-18c skin was the only thing I changed apart from loadout, which changed my vr hanger to a carrier with the hornet. I only did that this morning mucking around with my controller to check comms menu selection was working on throttle. Are there others?
Captain Orso Posted January 7, 2024 Posted January 7, 2024 Not possible. It's like saying, you were reading Lord of the Rings, and you moved your bookmark to a new page, and when you picked up the book again, it was Midnight's Children. Whatever mod manager you are using, check again which scenevr.lua is being placed. In fact, look inside ..\DCS World... at which file is present. When you hit the wrong button on take-off System Specs. Spoiler System board: MSI X670E ACE Memory: 64GB DDR5-6000 G.Skill Ripjaw System disk: Crucial P5 M.2 2TB CPU: AMD Ryzen 7 7800X3D PSU: Corsair HX1200 PSU Monitor: ASUS MG279Q, 27" CPU cooling: Noctua NH-D15S Graphics card: MSI RTX 3090Ti SuprimX VR: Oculus Rift CV1
Scoop Posted January 7, 2024 Posted January 7, 2024 P-51D in the Hangar for anyone playing Reflected's Debden Eagles sceneVR (Hanger P-51D - Bombs&Rockets HB).lua Asus Dark Hero X570, AMD 5800x3D, RTX 4090 Reference, All on Custom Water Loop, 3600 CL15 XMP, 4xCrucial P5P 2T M2+SSD's, Hotas Warthog, Reverb G2, Latest DCS MT and VR only A10CII and AH64D, Nevada, Persian Gulf, Syria, Marianas, Caucasus, Afghanistan
RafaPolit Posted April 9, 2024 Posted April 9, 2024 Good evening friends! Thanks for this thread. I was wondering, if the SuperCarrier can modify the hangar... can we actually have a way to specify the Hangar per-module background? If I select the F-16 as background have one for that, if I select the P-51 have one for that one? I'm sure this is possible since it's happening with the SuperCarrier. Before I go on reverse-engineering the luas, I was wondering if this has already been achieved and I am missing the resource? Thanks. I'm Dragon in the Multiplayer servers.
Antix70 Posted September 17, 2024 Posted September 17, 2024 On 1/7/2024 at 12:53 AM, washedupgrunt said: Not really sure what I did, but I think picking the Maverick f/a-18c skin was the only thing I changed apart from loadout, which changed my vr hanger to a carrier with the hornet. I only did that this morning mucking around with my controller to check comms menu selection was working on throttle. Are there others? Sounds like you selected the wallpaper option for the Super Carrier, which is set on the hangar deck with a Hornet tucked in for bed shown. This is the ONLY module that changes the scene, literally select ANY OTHER module/terrain to change it back to the default (or modified) sceneVR.lua.
Antix70 Posted September 17, 2024 Posted September 17, 2024 On 4/9/2024 at 3:12 PM, RafaPolit said: Good evening friends! Thanks for this thread. I was wondering, if the SuperCarrier can modify the hangar... can we actually have a way to specify the Hangar per-module background? If I select the F-16 as background have one for that, if I select the P-51 have one for that one? I'm sure this is possible since it's happening with the SuperCarrier. Before I go on reverse-engineering the luas, I was wondering if this has already been achieved and I am missing the resource? Thanks. Currently, the Super Carrier is the only module that does this. Would be interesting to see what you're able to come up with by rummaging through the lua's. I have suggested to ED, to make it part of the Options UI to make it so that a user can choose from any module they own, the airframe (or vehicle for the combined arms folks) they'd like displayed, and any airport on any terrain that they own. Or the possibility to blank it all out, since these things sit in your VRAM consuming space, thus effecting performance for VRAM related items. Many people in my squad are blanking it to improve performance (https://www.digitalcombatsimulator.com/en/files/3336353/).
Recommended Posts