Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Need help?

    Create a theme in the appropriate section
    No need to write everything in the chat!
  • Sell or buy?

    Use the services of a guarantor
    We will make your transaction safe
  • Don't want a BAN?

    Please read our rules
    Don't disturb the order
  • Visit the market

    There you can sell or buy
    Everything related to game servers
  • 0
Шапокляк

Регулировка дальности видимости

Здравствуйте вопрос А есть такойже для сервера 1.0.6.1. На 1.0.5 работает а с 1.0.6.1 не как, там другой файл используется keyboard.sqf

Пожалуйста, Войдите или Зарегистрируйтесь, чтобы увидеть это: Вложение.

Edited by Шапокляк (see edit history)

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Вот пример подключения моего keyboard.sqf 

 [actionKeys "GetOver", _build_str8OnOff ] call _addArray; // V
  //  [[DIK_NUMPAD7], _rotate_left] call _addArray;
  //  [[DIK_NUMPAD9], _rotate_right] call _addArray;
  [actionKeys "ForceCommandingMode", {DZE_5 = true;_handled = true;}] call _addArray;
  [[  DIK_F9,DIK_F10,DIK_F11,DIK_F12,
      DIK_F8,DIK_F7,DIK_F6,DIK_F5,DIK_F4,
      DIK_F3,DIK_F2,DIK_9,
      DIK_8,DIK_7,DIK_6], _block] call _addArray;
	if (dayz_groupSystem) then {
		[[DIK_F5], _openGroups] call _addArray;
		[[DIK_LWIN,DIK_RWIN], {dayz_groupNameTags = !dayz_groupNameTags;_handled = true;}] call _addArray;
		[actionKeys "TacticalView", _block] call _addArray;
	};
	//проверка блокировки клавиш (Mr.MiBl)
	[[DIK_P], {if (_shiftState) then {_handled = true;};}] call _addArray;
	diag_log "keyboard_keys reset";
};

if (r_player_unconsciousInputDisabled) exitWith {true};
_code = keyboard_keys select _dikCode;
if (!isNil "_code") then {
    call _code;
};
//Громкость
if (_dikCode == 0x42) then {
		0.1 call alex_changeVolume;
		_handled = true;
	};
	
	if (_dikCode == 0x41) then {
		-0.1 call alex_changeVolume;
		_handled = true;
	};
//View distance
	if (_dikCode == 0x14) then {
	createDialog "DistanceDialog";
	call DistanceFill;
};
/*Правила*/
	if (_dikCode ==  0x3E) then {
	_handled = createdialog "HELP_DIALOG";
};
_handled

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...