Jump to content

Recommended Posts

Posted
Someone know how to modify the "Cold & Dark" situation?

Maybe a .lua file or is more encrypted?

Just to change the position of one or two switches. ThanX.

 

What situation? What switches? Why lua or encrypted?

Please elaborate.

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted

Sorry, I still don't understand. Call me slow.

Whats the issue at hand?

Switches not working? Feature in game not working?

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted

Ah, so the initial startup position of these switches is not to your liking - you want to set it to another setting when you start the chopper?

Now I get it - yeah, hm, probably something you can tweak in a LUA file.

Okai, I think this is a good place to start:

\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted (edited)
Tnx Panzer, so you tell me that the Cold&Dark situation is not in "One" general file, instead every single panel has is own in the relative directory, right?

Tnx again!

 

cold and dark???????????????????????

 

i missed something in over 10 years of simming?

Edited by Tyger

 

Come pay us a visit on YouTube - search for HELI SHED

Main Banner.PNG

Posted

Not possible b/c it's all defined in a DLL somewhere I think. Was in a similar situation a couple of years ago myself where I wanted to mod this - no go AFAIR...

The DCS Mi-8MTV2. The best aviational BBW experience you could ever dream of.

Posted

"Cold at rampstart" is probably a correct term I guess?

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted

1. It's the "“И-251В – ПРОЛ” (INU fix-taking method)"?

2. Is it the "“АП” (Emergency radio receiver) switch"?

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

Posted (edited)

Okai, just taking some notes here.

 

.\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\command_defs.lua

PlaneNavSetFixtakingMode = 457,

 

.\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\PVI\PVI_commands.lua

{command = Keys.PlaneNavSetFixtakingMode},

 

Hm. Arcade mode has a post-init LUA-file.

.\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\ARCADE\arcade.lua

Some code there, which we may be able to decipher.

 

function post_initialize()
   local [b]weapon_interface[/b] = GetDevice([b]devices.WEAP_INTERFACE[/b])
   local laser_ranger     = GetDevice(devices.LASERRANGER)
   local cpt_mech         = GetDevice(devices.CPT_MECH)
   [b]weapon_interface:performClickableAction[/b](device_commands.[b]Button_1[/b],1.0);

 

Perhaps we could make something like this work:

pvi_interface = GetDevice(devices.[b]PVI[/b])
pvi_interface:performClickableAction(device_commands.[b]PlaneNavSetFixtakingMode[/b],1.0);

 

You may need to put it somewhere in

.\Ka-50\Scripts\Aircrafts\Ka-50\Cockpit\device_init.lua

 

Okai, enough digging in LUA for now.

You're on your own. :)

Edited by Panzertard

The mind is like a parachute. It only works when it's open | The important thing is not to stop questioning

  • Recently Browsing   0 members

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