Jump to content

Recommended Posts

Posted
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

  • Thanks 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

Posted

What causes the lighting to do this?

Screen_230415_200353.jpg

Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super

Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG

Posted
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 🙏

sig sm.png

walshtimothyWW2 virtual flier - currently playing on 4ya ww2 - youtube channel here

https://www.ww2adinfinitum.blog -  https://projectoverlord.co.uk/

 

  • 6 months later...
Posted

@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

Posted
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

Posted
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

 

 

Posted
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

  • Like 1

Main Pit: i7 13700KF, RTX 4090, Pimax Crystal Super

Co-Pilot Pit: i7 11700K, RTX 3090, Pimax Crystal OG

Posted (edited)

One of these days ED needs to overhaul this placeholder environment.

Edited by Mars Exulte
  • Like 3

Де вороги, знайдуться козаки їх перемогти.

5800x3d * 3090 * 64gb * Reverb G2

Posted
On 4/15/2023 at 8:05 PM, Tusk.V said:

What causes the lighting to do this?

Screen_230415_200353.jpg

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

Posted
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

Posted

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. 

Posted
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

Posted

Have a look at this one, might help you in some way.

sceneVR F14 Night Carrier.lua

  • Thanks 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 

  • 1 month later...
Posted

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!

image.png

Chirp

Posted

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 1

When you hit the wrong button on take-off

hwl7xqL.gif

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
 
Posted
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

  • 3 weeks later...
Posted

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?

Posted

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

hwl7xqL.gif

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
 
Posted

P-51D in the Hangar for anyone playing Reflected's Debden Eagles

sceneVR (Hanger P-51D - Bombs&Rockets HB).lua

 

Screen_240107_140835.png

 

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 

  • 3 months later...
Posted

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.

  • 5 months later...
Posted
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.

Posted
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/).

  • Recently Browsing   0 members

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