Update inits

This commit is contained in:
ebaydayz
2016-03-27 23:47:30 -04:00
parent 23caf14dc9
commit e1a0bfebc1
54 changed files with 2844 additions and 2007 deletions

View File

@@ -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;};

View File

@@ -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 {

View File

@@ -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];