Author: BearBison
Author Website:

Requirements: No addons required

Version: 2

Short description: This adds the ability to have a digital compass heading (bearing) in either a hint box or the original text mode which can be toggled on or off.

Date: 2013-03-17 14:32


Comments: (3)
Rating:



 



Digital Compass Bearing script [ALPHA]

by
BearBison


Description:
This adds the ability to have a digital compass heading (bearing) in either a hint box or the original text mode which can be toggled on or off.

Note:
The k (default compass) key is the toggle key

You can download the mod version here: Digital Compass Bearing Mod.


Installation / Usage:
Enabling the script:
To use this script in a mission, copy the following code lines into your init.sqf file:
/* Compass bearing */
call compile preprocessFile "scripts\BEARB_heading.sqf";
Then copy the scripts folder into your mission.

Changing the display style:
To change from the new hint method of display to the older text method, open the file scripts\BEARB_heading.sqf and edit the value for BEARB_compassheading_old from false to true:
/*
Determines if the old (text) or the new (hint) display method is used for the digital compass bearing
false = new style (in hint message)
true = old style (in text on screen)
*/
BEARB_compassheading_old = false;


Changelog:
v2
- Added the option to choose between the old text style or the new hint style display.
- Fixed the toggle option
- Tidied the code

v1
- Initial release


Forum topic:
- BI forums




Enable javascript to be able to download from Armaholic please!



Tags: Bearing,   Compass