Author Topic: Change the label display  (Read 5451 times)

Offline shelt

  • *****
  • Sr. Member
  • Wears Hello Kitty Underwear
  • Administrator
  • Posts: 360
    • View Profile
Change the label display
« on: February 12, 2012, 11:36:35 PM »
To change the labels in game you need to modify the labels.lua found in the Config/view folder
This can also be used in the A-10C labels file
You can use most characters found on your keyboard if you want custom type stuff, I used the "*" for ground targets and the "|" for weapons...will probably use the "~" for air targets

labels.lua file attached below if you just want to use asterisk and drop it in the folder...Just too easy.

My changes are as follows
**Note** always make a back up before modifying your files
**Note 2** The original code is commented out...meaning the "--" is a comment line and is the original code for the parameter

**Note 3** Remember to use Notepad++ to make changes to lua files

Code: [Select]
AirFormat = {}
AirFormat[10] = "*"
AirFormat[5000] = "*" --"}%N%n%D%n%P"
AirFormat[10000] = "*" --"}%N%n%D"
AirFormat[20000] = "*" --"]%n%D"
AirFormat[30000] = "*"

GroundFormat = {}
GroundFormat[5000] = "*" --"{%N%n%D"
GroundFormat[10000] = "*" --"~%n%D"
GroundFormat[20000] = "*"

NavyFormat = {}
NavyFormat[10000] = "`" --"{%N%n%D"
NavyFormat[20000] = "`" --"~%n%D"
NavyFormat[40000] = "`"

WeaponFormat = {}
WeaponFormat[5000] = "|" --"[%N%n%D"
WeaponFormat[10000] = "|" --"|%n%D"
WeaponFormat[20000] = "|"
* Labels.lua
(1.3 kB ~ Downloads: 273)
« Last Edit: September 01, 2012, 12:40:47 PM by MegOhm_SD »
Intel i7-3770K@4.6 ,Windows 7 64,ADATA 240 RAID 0,CoolIT ECO-R120,Gigabyte GA-Z77X-D3H,Corsair 16GB DDR3 1600,HD7970 3GB,CM HAF XB Case,Thrustmaster Warthog Flight Stick,Combat Pro Rudder Pedals,Logitech G930 with wireless TrackIR 5, 39" monitor

Offline LeadTurn_SD

  • *****
  • Jr. Member
  • Manti Te'o's imaginary girlfriend
  • Administrator
  • Posts: 69
    • View Profile
Re: Change the label display
« Reply #1 on: February 13, 2012, 03:09:53 AM »
Thanks Shelt!  I'll give it a try. 

Lead
I'd rather be diving.... but since I'm not...  Intel i5 760 (OC'ed); 8 Gb RAM; HD 7950; Samsung 840 PRO 256 Gb SSD + WD Caviar Black 500 Gb HD; Logitech G35 "wired" headset; CH HOTAS (Fighterstick, PRO Throttle, PRO Pedals); Win 7

Offline shelt

  • *****
  • Sr. Member
  • Wears Hello Kitty Underwear
  • Administrator
  • Posts: 360
    • View Profile
Re: Change the label display
« Reply #2 on: February 13, 2012, 09:40:56 PM »
You are welcome...try out different symbols, you may have your own favorites  :'(
Intel i7-3770K@4.6 ,Windows 7 64,ADATA 240 RAID 0,CoolIT ECO-R120,Gigabyte GA-Z77X-D3H,Corsair 16GB DDR3 1600,HD7970 3GB,CM HAF XB Case,Thrustmaster Warthog Flight Stick,Combat Pro Rudder Pedals,Logitech G930 with wireless TrackIR 5, 39" monitor

 

SMF

Teknoromi