Previous Thread
Next Thread
Print Thread
Rate This Thread
Hop To
#4344843 - 03/16/17 06:43 PM Labels for VR  
Joined: Sep 2000
Posts: 3,270
sinner6 Offline
Senior Member
sinner6  Offline
Senior Member

Joined: Sep 2000
Posts: 3,270
Fort Worth,TX
Hey gang, I am transitioning to Oculus for DCS. Does anyone have a labels.lua that I could use as a basis for getting this set up?
I'm hoping the Black Shark and A-10C work ok in VR.


Steam: Sinner6
Uplay: Sinner76028
MWO: Sinner6
Inline advert (2nd and 3rd post)

#4344941 - 03/17/17 02:38 AM Re: Labels for VR [Re: sinner6]  
Joined: Jun 2009
Posts: 624
FlyingMonkey Offline
Member
FlyingMonkey  Offline
Member

Joined: Jun 2009
Posts: 624
Down under in Adelaide
I've certainly used the Black Shark in VR without issues, although reading the map on the MFD can be a bit tricky. Selecting targets on the shkval works well though. I have actually never played with labels.lua so I can't help about that.

#4346498 - 03/24/17 12:47 PM Re: Labels for VR [Re: sinner6]  
Joined: Jan 2015
Posts: 75
BrettT Offline
Junior Member
BrettT  Offline
Junior Member

Joined: Jan 2015
Posts: 75
Louisiana
I use labels occasionally (ok...more often than not). All I did was edit the labels file to get rid of all the extraneous details (distance, name, etc) and replaced it with just a single "." for all the vehicles and a "x" for missiles. You can even edit the color so that it doesn't stand out so much but is slightly more recognizable than the background. Not sure if this is what you are looking for or not. Hope it helps

#4346508 - 03/24/17 01:19 PM Re: Labels for VR [Re: BrettT]  
Joined: Oct 2011
Posts: 200
SacaSoh Offline
Member
SacaSoh  Offline
Member

Joined: Oct 2011
Posts: 200
Hueland
Originally Posted by BrettT
I use labels occasionally (ok...more often than not). All I did was edit the labels file to get rid of all the extraneous details (distance, name, etc) and replaced it with just a single "." for all the vehicles and a "x" for missiles. You can even edit the color so that it doesn't stand out so much but is slightly more recognizable than the background. Not sure if this is what you are looking for or not. Hope it helps


Can you paste the code here (or, if the file is big, host it somewhere)? Thank you!

#4346514 - 03/24/17 01:38 PM Re: Labels for VR [Re: sinner6]  
Joined: Jan 2015
Posts: 75
BrettT Offline
Junior Member
BrettT  Offline
Junior Member

Joined: Jan 2015
Posts: 75
Louisiana
Its not a big file. Its actually explained how to do it in the Lables.lua file. Ill paste it when I get home this evening

#4346732 - 03/25/17 02:10 AM Re: Labels for VR [Re: BrettT]  
Joined: Jan 2015
Posts: 75
BrettT Offline
Junior Member
BrettT  Offline
Junior Member

Joined: Jan 2015
Posts: 75
Louisiana
-- Label parameters
-- Copyright (C) 2004, Eagle Dynamics.

AirOn = true
GroundOn = true
NavyOn = true
WeaponOn = true

-- Label max distance depends on graphics visibility range option value
-- For low E40000.0 m
-- For medium E50000.0 m
-- For high E80000.0 m

---------------------------------
-- Label text format symbols
-- %N - name of object
-- %D - distance to object
-- %P - pilot name
-- %n - new line
-- %% - symbol '%'
-- %x, where x is not NDPn% - symbol 'x'
-- %C - extended info for vehicle's and ship's weapon systems
------------------------------------------
-- Example
-- labelFormat[5000] = "Name: %N%nDistance: %D%n Pilot: %P"
-- up to 5km label is:
-- Name: Su-33
-- Distance: 30km
-- Pilot: Pilot1

AirFormat = {}
AirFormat[10] = ""
AirFormat[5000] = "'"
AirFormat[10000] = "'"
AirFormat[20000] = "'"
AirFormat[30000] = "'"

GroundFormat = {}
GroundFormat[5000] = "`"
GroundFormat[10000] = "`"
GroundFormat[20000] = "`"

NavyFormat = {}
NavyFormat[10000] = "`"
NavyFormat[20000] = "`"
NavyFormat[40000] = "`"

WeaponFormat = {}
WeaponFormat[5000] = "x"
WeaponFormat[10000] = "x"
WeaponFormat[20000] = "x"

-- Colors in {red, green, blue} format, volume from 0 up to 255

ColorAliesSide = {255, 0, 0}
ColorEnemiesSide = {0, 0, 255}


Moderated by  Force10, RacerGT 

Quick Search
Recent Articles
Support SimHQ

If you shop on Amazon use this Amazon link to support SimHQ
.
Social


Recent Topics
Actors portraying US Presidents
by PanzerMeyer. 04/19/24 12:19 PM
Dickey Betts was 80
by Rick_Rawlings. 04/19/24 01:11 AM
Exodus
by RedOneAlpha. 04/18/24 05:46 PM
Grumman Wildcat unique landing gear
by Coot. 04/17/24 03:54 PM
Peter Higgs was 94
by Rick_Rawlings. 04/17/24 12:28 AM
Whitey Herzog was 92
by F4UDash4. 04/16/24 04:41 PM
Anyone can tell me what this is?
by NoFlyBoy. 04/16/24 04:10 PM
10 Years ago MV Sewol
by wormfood. 04/15/24 08:25 PM
Pride Of Jenni race win
by NoFlyBoy. 04/15/24 12:22 AM
Copyright 1997-2016, SimHQ Inc. All Rights Reserved.

Powered by UBB.threads™ PHP Forum Software 7.6.0