Jump to content
voiper

Little Immersion Tweaks - Spice Up Arma 3's Night Life

Recommended Posts

Is there any chance of this being released as a pbo instead of a scipt?

Share this post


Link to post
Share on other sites

Ya, I would much rather to have as an addon then a script. I play single player missions a lot and I don't want to edit the descriptions and add the scripts to all the missions I play. It's unnecessary work for this mod.

Share this post


Link to post
Share on other sites

Thread necro:

 

I tried this on Malden, but the layer that's placed over the map is too small and you can see the edges.  Thought I'd let you know.  Prob something to do with Malden's config setup though as the other maps seem fine.

 

Cracking work though  :)

Share this post


Link to post
Share on other sites

Sound vip_lit_snd_rain1_lo_l not found

 

How exactly do I put those #deals in the description? 

Great script btw love the rain drops, just trying to get it to work. 

Share this post


Link to post
Share on other sites

I fixed the weird layer by editing a line in vip_lit_mapAdditions.sqf.

 

Change this:

 

if (isNumber (configFile >> "CfgWorlds" >> worldName >> "mapSize")) then {_worldSize = getNumber (configFile >> "CfgWorlds" >> worldName >> "mapSize")} else {

 

to this:

 

if (worldSize > 0) then {_worldSize = worldSize} else {

 

I think at the time it was written, the worldSize command didn't exist.

  • Like 3

Share this post


Link to post
Share on other sites

I keep having an error with the "call vip_lit_fnc_cl_diary; in the vip_lit\vip_lit_init.sqf, line 40. "

*fixed it* had an out of place }; at the start of sounds.  

 

 

Share this post


Link to post
Share on other sites

Hi Voiper,

 

Thank you very much for this incredible script.

 

But it's causing an error message since a recent CBA update when I press a key once the map is open : 

{
private _ke>
12:54:42   Error Type Booléen, Nombre attendu
12:54:42 File x\cba\addons\events\fnc_keyHandlerDown.sqf, line 71
12:54:42 Error in expression <
};
} forEach (cba_events_keyDownStates param [_inputKey, []]);

I know this thread hasn't been updated since a long time, I hope you are still there and you'll be able to provide some help.

 

Thanks again !

Share this post


Link to post
Share on other sites

Hi, Running Altis Life -  V.5 and still working excellently. Just wondering if there was a way to brighten the flashlight so the map is clearer. Thanks.

Share this post


Link to post
Share on other sites
On 6/6/2018 at 1:02 PM, Gemini said:

Hi Voiper,

 

Thank you very much for this incredible script.

 

But it's causing an error message since a recent CBA update when I press a key once the map is open : 


{
private _ke>
12:54:42   Error Type Booléen, Nombre attendu
12:54:42 File x\cba\addons\events\fnc_keyHandlerDown.sqf, line 71
12:54:42 Error in expression <
};
} forEach (cba_events_keyDownStates param [_inputKey, []]);

I know this thread hasn't been updated since a long time, I hope you are still there and you'll be able to provide some help.

 

Thanks again !

 

Hi,

resurrecting old topic for a fix to this error.

Don't know the exact reason of the issue, maybe the mixed list type.
You can fix by changing the following lines in vip_lit/vip_lit_mapAdditions.sqf functions vip_lit_eh_cl_keyDnNVG and vip_lit_eh_cl_keyUpFlashlight :

 

_arr = _this;
_arr deleteAt 0;

 

change to

 

_arr = [_this select 1, _this select 2, _this select 3, _this select 4];




so you end up with

 

vip_lit_eh_cl_keyUpFlashlight = (findDisplay 12) displayAddEventHandler ["KeyUp", {

        _arr = [_this select 1, _this select 2, _this select 3, _this select 4];
        
        if (str _arr == str vip_lit_var_cl_mapFlashlightKey) then {
        
            if (HAS_LIGHT) then {
                vip_lit_var_cl_flashlightKeyDown = false;
                vip_lit_var_cl_flashlightOn = if (vip_lit_var_cl_flashlightOn) then {false} else {true};
                0 = [] spawn {sleep 0.016; playsound "vip_lit_snd_flashlightClick"}; //sleep to create buffer between sounds; keyUp fires instantly if player presses and releases quickly
            };
        };
        false
    }];

 

and
 

    vip_lit_eh_cl_keyDnNVG = (findDisplay 12) displayAddEventHandler ["KeyDown", {

        _arr = [_this select 1, _this select 2, _this select 3, _this select 4];
        
        if (str _arr == str vip_lit_var_cl_mapNVGKey) then {
            
            if ((hmd player) != "") then {
                vip_lit_var_cl_mapNVGOn = if (vip_lit_var_cl_mapNVGOn) then {false} else {true};
            };
        };
        
        false
    }];

Do the same thing to vip_cmn_eh_cl_keyBindTemp in vip_cmn\fn\fn_cl_keyBind.sqf

 

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×