Jump to content

Recommended Posts

Posted (edited)

I suspect that the pilots sights will be changed for the final release of the Huey, but in the meantime:

 

I've re-sized the pilots sight, as i found the default size too big. I also removed the outer ring.

This does not change the flex sights at all, only the pilots sight.

 

I've attached my PilotSight_page.lua for anyone else interested.

Simply copy it to your DCS World\Mods\aircrafts\Uh-1H\Cockpit\Scripts\PilotSight folder

Back-up your original file first.

 

If you want to adjust it to your own preference, do the following;

As always, backup any files before editing.

 

open (with Notepad++) "PilotSight_page.lua" located in DCS World\Mods\aircrafts\Uh-1H\Cockpit\Scripts\PilotSight folder

 

you will see;

Lines 43 - 50 refers to the outer ring (i've commented these out of mine)

Lines 52 - 59 refers to the middle ring

Lines 61 - 68 refers to center dot.

 

Line 46, line 55, and line 64 are the ones you want. Change the numerical values in the brackets. eg:

line 55 set_circle(circle1,0.05,0.04)

I halved these values to; set_circle(circle1,0.025,0.02)

 

I suggest that whatever you do to one value, you also do to all the values (ie: halve them , or quarter them all etc). This only applies to the first two rings (outer rings)

Line 64 only only needs the first value changed to make the center dot smaller.

 

pic of the edited sight and the original

997138783_pilotsights.thumb.jpg.30ab2936876df3f6391b88177fdfeb2a.jpg

1765115737_origsights.thumb.jpg.81981229eeac177d051090c87aa53ed1.jpg

PilotSight_page.lua

Edited by LiveBait
  • 2 weeks later...
Posted

Huge improvement, I can aim much more precisely with this, thanks.

Sager Laptop, i7-6700k 4.00GHz, 16GB RAM, GTX 980M, 1920x1080, TIR 5, Windows 10

  • 2 weeks later...
Posted (edited)

Thanks for your input here PeterP, you saved me alot of time and made this really easy

 

Below is a list of colors that you can use to easily change your sights. Taken from

DCS World\Mods\aircrafts\Uh-1H\Cockpit\Scripts\materials.lua

 

 

materials["RED"]

materials["RED_1"]

materials["HUD_NIGHT"]

materials["ORANGE"]

materials["ORANGE_2"]

materials["YELLOW"]

materials["YELLOW_2"]

materials["AMBER_HUD"]

materials["GREEN"]

materials["GREEN_2"]

materials["DARK_GREEN"]

materials["BLUE"]

materials["CYAN"]

materials["PURPLE"]

materials["SIMPLE_WHITE"]

materials["BLACK_IND"]

materials["BLACK2"]

materials["BLACK3"]

materials["LIGHT_GREY"]

materials["DARK_GREY"]

materials["GREY"]

materials["GULL_GREY"]

materials["VIOLET"]

materials["BROWN_GLASS"]

materials["BRIGHTNESS_MASK_BLACK"]

materials["DIGITAL_RED"]

materials["DIGITAL_GREEN"]

materials["SAM_BLUE"]

materials["SAM_RED"]

materials["SHKVAL_RECT"]

materials["WHITE_2"]

materials["PENCIL_GREY"]

materials["RED_TRANSPARENT"]

materials["GREEN_TRANSPARENT"]

materials["YELLOW_TRANSPARENT"]

materials["DBG_GREEN"]

materials["DBG_RED"]

materials["HUD_IND_YELLOW"]

materials["GENERAL_INFO_GOLD"]

 

 

Simply pick which color you want and replace the "ORANGE" (on lines 47, 56, 65 of PilotSight_page.lua) with your choice.

eg circle1.material = "GREEN_TRANSPARENT"

 

Thanks again Peter

 

edit: jdkirk904, this will only change the pilots sights

Edited by LiveBait
  • Like 1
Posted

To change the color of the Flex-Sights, open 'materials.lua' in

DCS World\Mods\aircrafts\Uh-1H\Cockpit\Scripts

 

then on line 48, change the ["HUD_IND_YELLOW"] to one of the colors posted above

eg:

textures["INDICATION_FLEXSIGHT"] = {IndicationTexturesPath.."sight_UH_1H.tga", materials["GREEN_TRANSPARENT"]}
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...