Jump to content

Recommended Posts

Posted

Hello ! i'm wondering if anyone have a clue about this?

 

My goal is to force a player to use instruments and searchlight in a nighttime operation.

When loading a mission at night, it automatically loads the NVG, thus removing the ground crew has no effect.

 

It's for Black Shark, but i'm taking every consideration.

Didn't found anything in .miz / lua / prefs and script yet.

 

Thank you

TASK / ROLES acronyms guide

Black Shark A.I. datalink guide illustrated (v1.2.4 Available on Wiki)

DCS World Codex 1.1 : full units list (Speed/Weapons/Armor thickness/Threat zone/Weapon damage...) (Oct 2013)

BlackShark 2 1.2.x Bug and glitches thread (v1.2.7)

Posted (edited)

Here is what I know:

 

It's a setting in the

...\Eagle Dynamics\DCS World\Mods\aircrafts\Ka-50\Cockpit\Scripts\device_init.lua

That triggers when the NVG is already installed.

 

 

line #268:

if (LockOn_Options.time.hours < 6 or LockOn_Options.time.hours > 21) or LockOn_Options.cockpit.use_nightvision_googles then

add_devs(maintenance_setup_NVG())

else

add_devs(maintenance_setup_HMS())

end

Changing it to this would probably force you to request for the NVG from the maintenance in the time from 21.00 to 6.00:

 

if LockOn_Options.cockpit.use_nightvision_googles then

add_devs(maintenance_setup_NVG())

else

add_devs(maintenance_setup_HMS())

end

But I don't really know how to do it in the mission-editor. Edited by PeterP
  • Like 1

Posted

You're THE Man, you just saved my day !

Now it's clear it's a default option, not editable withing a .miz, but THANKS !

 

I'm sure i can play with this now as Seasons/starmap are respected in DCS.

I'll try asap

Thanks again !

TASK / ROLES acronyms guide

Black Shark A.I. datalink guide illustrated (v1.2.4 Available on Wiki)

DCS World Codex 1.1 : full units list (Speed/Weapons/Armor thickness/Threat zone/Weapon damage...) (Oct 2013)

BlackShark 2 1.2.x Bug and glitches thread (v1.2.7)

Posted (edited)

Can you trigger a HMS failure? I've never messed with failures before so I don't know.

 

Edit:

No. :(

Edited by Speed

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted

Muhahhahahahahaha *Dr Evil

 

I didn't messed much with scripting engine yet. And within ME GUI, HMS is not an option.

Moreover, i need the HMS and Shkval. If you know how to use the searchlight, it could do miracle, especially with the Lazer mode button.

 

BUT, Peter P found the trick, i just never knew what was the default "Nighttime"

 

I've just made a quick setup, it works like a charm !

Day (shortest) : 204, time, 20h.

You're lucky it's clear weather, that'snot the case in my future mission1 (campaign) where you have to steal a shark :D

Ohhhhhh dear oh dear ! oh you won't like it ! :D:D

 

Screen_130118_170803.thumb.jpg.a0e8ea3a95ef3e68f928d624a1796177.jpg

 

I also found that we cannot go further than day 400 (Jul 4th 2012). We'll never know the end of the world in DCS :(

  • Like 1

TASK / ROLES acronyms guide

Black Shark A.I. datalink guide illustrated (v1.2.4 Available on Wiki)

DCS World Codex 1.1 : full units list (Speed/Weapons/Armor thickness/Threat zone/Weapon damage...) (Oct 2013)

BlackShark 2 1.2.x Bug and glitches thread (v1.2.7)

  • Recently Browsing   0 members

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