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

    Create a topic in the appropriate section
    Don't write everything in the chat!
  • Take a look at the marketplace

    There you can buy
    everything related to game servers
  • Don't want a ban?

    Please read our rules
    Don't disturb the order!
  • Sell or buy?

    Use services of the guarantor
    We will make your deal safe
  • 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







Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

By using this site, you automaticly agree to our Guidelines and Privacy Policy.
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.