mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-19 14:42:56 +03:00
Update inits
This commit is contained in:
@@ -66,12 +66,7 @@ private["_plyr","_brtns","_lightPcnt","_target"];
|
||||
_plyr = _this select 0;
|
||||
_target = _this select 1;
|
||||
|
||||
if(isNil "dayz_fullMoonNights")then{dayz_fullMoonNights = false;};
|
||||
if(dayz_fullMoonNights)then{
|
||||
_brtns = 0.024;
|
||||
}else{
|
||||
_brtns = 0.018;
|
||||
};
|
||||
_brtns = if (dayz_ForcefullmoonNights) then {0.024} else {0.018};
|
||||
_brtns = _brtns + ((_brtns/100) * ((_plyr distance _target)/15)); //Add percentage of brightness based on distance from player
|
||||
//Min / Max Levels
|
||||
//if (_brtns > 0.025)then{_brtns = 0.025;};
|
||||
|
||||
@@ -176,9 +176,9 @@ if (DZE_HaloJump) then {
|
||||
};
|
||||
};
|
||||
|
||||
if (!DZE_ForceNameTagsOff) then {
|
||||
if (DZE_NameTags > 0) then {
|
||||
if (s_player_showname < 0 && !_isPZombie) then {
|
||||
if (DZE_ForceNameTags) then {
|
||||
if (DZE_NameTags < 2) then {
|
||||
s_player_showname = 1;
|
||||
player setVariable["DZE_display_name",true,true];
|
||||
} else {
|
||||
|
||||
@@ -157,6 +157,7 @@ if (_currentWpn != "") then {_newUnit selectWeapon _currentWpn;};
|
||||
[objNull, player, rSwitchMove, _currentAnim] call RE;
|
||||
//dayz_originalPlayer attachTo [_newUnit];
|
||||
player disableConversation true;
|
||||
player setVariable ["BIS_noCoreConversations",true];
|
||||
|
||||
// _playerUID=getPlayerUID player;
|
||||
// _playerObjName = format["player%1",_playerUID];
|
||||
|
||||
Reference in New Issue
Block a user