Jump to content

Recommended Posts

Posted

Guys, what about adding some cockpit lamps and controls stuff into mainpanel_init.lua for simpit builders and other similar goals?

Almost nothing to read at the moment, or have I missed something?

Could you please comment?

Gametrix JetSeats thread (in English) ,

SimShaker addon for bass-shakers thread (in English),

Andre's blog, downloads, manuals (in English).

 

 

[sIGPIC][/sIGPIC]

Posted
Guys, what about adding some cockpit lamps and controls stuff into mainpanel_init.lua for simpit builders and other similar goals?

Almost nothing to read at the moment, or have I missed something?

Could you please comment?

I am not sure what do you want.

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."

"The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea."

Posted
I've heard that Razbam is in close contact with the community. That turned out to be just rumors.

:cry:

 

Are you for real?

 

Certainly not the way to initiate appropriate communications. Not to mention the arrogance of expecting others to query you rather than offer clarification to a rather provoking comment.

 

Must be troll time again - spring is here and no female companionship?

Posted

Hmmm.... April fools day is well over. Trolling perhaps?

[sIGPIC][/sIGPIC]

i7 10700K OC 5.1GHZ / 500GB SSD & 1TB M:2 & 4TB HDD / MSI Gaming MB / GTX 1080 / 32GB RAM / Win 10 / TrackIR 4 Pro / CH Pedals / TM Warthog

Posted
If you are not sure you can ask a question any time. To disregard seems not to be the best policy.

 

I won't play games. If you have a feature request then be clear and concise otherwise we will disregard your post.

 

Now, for the second time. What is it that you want, since it is clear that I do not know what you are talking about?

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning."

"The three most dangerous things in the world are a programmer with a soldering iron, a hardware type with a program patch and a user with an idea."

Posted
I won't play games. If you have a feature request then be clear and concise otherwise we will disregard your post.

Now, for the second time. What is it that you want, since it is clear that I do not know what you are talking about?

Hi Zeus67,

thanks for your answer.

Please have a look at the file attached. That's mainpanel_init.lua for MiG-15bis from \Eagle Dynamics\DCS World\Mods\aircraft\MiG-15bis\Cockpit\Scripts

We can find lots of usefull stuff in the file: controls, gauges, lights, panel shake parameters, etc., accessible via Export.lua

 

	local MainPanel = GetDevice(0)
	MainPanel:update_arguments()
	local LandingGearL_Up = MainPanel:get_argument_value(74)
	local LandingGearL_Dwn = MainPanel:get_argument_value(75)
	local LandingGearR_Up = MainPanel:get_argument_value(78)
	local LandingGearR_Dwn = MainPanel:get_argument_value(79)
	local LandingGearN_Up = MainPanel:get_argument_value(76)
	local LandingGearN_Dwn = MainPanel:get_argument_value(77)

Other ED and BelSimTek modules give us such possibilities as well. Could you please add similar data for M2000C?

mainpanel_init.zip

Gametrix JetSeats thread (in English) ,

SimShaker addon for bass-shakers thread (in English),

Andre's blog, downloads, manuals (in English).

 

 

[sIGPIC][/sIGPIC]

Posted

Andre,

 

you have this kind of information in the clickabledata.lua file, located in "Cockpit" folder....

[sIGPIC][/sIGPIC]

Posted
Andre,

 

you have this kind of information in the clickabledata.lua file, located in "Cockpit" folder....

 

Thanks for the tip Exo7,

the files have a bit in common, but clickabledata.lua is a pretty different file for other purposes.

Gametrix JetSeats thread (in English) ,

SimShaker addon for bass-shakers thread (in English),

Andre's blog, downloads, manuals (in English).

 

 

[sIGPIC][/sIGPIC]

Posted

I have build my own M-2000C DCS-BIOS Library with this file and with the lua console (and with the help of Ian ;) )... so i have all indicator lights, switches, pots, and displays working...

 

 

Exo7

[sIGPIC][/sIGPIC]

Posted
I have build my own M-2000C DCS-BIOS Library with this file and with the lua console (and with the help of Ian ;) )... so i have all indicator lights, switches, pots, and displays working...

 

 

Exo7

 

Would you please share argument numbers for landing gear lights?

Gametrix JetSeats thread (in English) ,

SimShaker addon for bass-shakers thread (in English),

Andre's blog, downloads, manuals (in English).

 

 

[sIGPIC][/sIGPIC]

Posted

Landing lights switch is

device #16

arg #450

command : 3450

arg limit : -1, 1

arg step : 1.

 

You can find it in clickabledata.lua file.

 

 

Exo7

[sIGPIC][/sIGPIC]

Posted
Landing lights switch is

device #16

arg #450

command : 3450

arg limit : -1, 1

arg step : 1.

 

You can find it in clickabledata.lua file.

 

 

Exo7

 

I mean Langing Gear Indicator (3 green) lights. Not switch.

Gametrix JetSeats thread (in English) ,

SimShaker addon for bass-shakers thread (in English),

Andre's blog, downloads, manuals (in English).

 

 

[sIGPIC][/sIGPIC]

Posted
I have build my own M-2000C DCS-BIOS Library with this file and with the lua console (and with the help of Ian ;) )... so i have all indicator lights, switches, pots, and displays working...

 

 

Exo7

 

Maybe your cockpit worth a picture ? :thumbup:

Mirage fanatic !

I7-7700K/ MSI RTX3080/ RAM 64 Go/ SSD / TM Hornet stick-Virpil WarBRD + Virpil CM3 Throttle + MFG Crosswind + Reverb G2.

Flickr gallery: https://www.flickr.com/gp/71068385@N02/728Hbi

Posted
Thanks a lot :)

 

you can't find the indicator light args in a file, you have to use the lua console to find them.

[sIGPIC][/sIGPIC]

Posted
I'd prefer to find them in mainpanel_init.lua file, as usually.

 

 

 

Don't forget that me module is in Beta branch, and still WIP.

Maybe at the end you'll get the args in the mainpanel_init.lua

;)

[sIGPIC][/sIGPIC]

  • Recently Browsing   0 members

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