jib Posted February 24, 2013 Posted February 24, 2013 Before you used to change the HMS retical offset Here: Scripts\Aircrafts\Ka-50\Cockpit\Devices_specs\Helmet.lua by doing this:v_angle_shift = 0 --math.rad(11) The new code is below It doesn't seem to have an offset set, but when in game the HMS retical is not in the middle when you zoom right in. This means it is hard to mark tagets with it using TrackIR dofile(LockOn_Options.script_path.."HUD\\HUD_definitions.lua") --[[ grid = CreateElement "ceTexPoly" grid.name = "grid" grid.vertices = {{-0.54, -0.837}, {-0.54, 0.295}, {0.54, 0.295}, {0.54, -0.837}} grid.indices = default_box_indices grid.material = "INDICATION_HUD_KA50" grid.tex_params = {0.52658, 0.22868, tex_scale, tex_scale} Add(grid) --]] dofile(LockOn_Options.script_path.."Devices_specs\\HELMET.lua") SetScale(METERS) radius_ring = (198.5 - 140 )/256 radius_ring_meters = math.tan(2.0 /(180/math.pi)) scale_helmet_x = radius_ring/radius_ring_meters scale_multiplier_y = 2/(139/128) local frame_size = 4 * radius_ring_meters local frame_k = (55/128) /(frame_size * GetScale()) local frame_y = ((512 - 57)/512)/(frame_k/4) local frame_x_min = (60/128) /(frame_k) local frame_x_max =-(68/128) /(frame_k) frame_mover = CreateElement "ceSimple" frame_mover.name = "frame_mover" frame_mover.init_pos = {0,frame_y + math.tan(v_angle_shift),0} frame_mover.controllers = {{"frame_moving",math.rad(90)}} Add(frame_mover) frame = CreateElement "ceTexPoly" frame.name = "frame" frame.vertices = {{-frame_size,frame_x_min}, {-frame_size,frame_x_max}, { frame_y ,frame_x_max}, { frame_y ,frame_x_min}} frame.indices = default_box_indices frame.material = "HELMET_FRAME" frame.parent_element = "frame_mover" frame.tex_params= {57/512, 60/128, (frame_k/4), frame_k} frame.init_pos = {0,-frame_y,0} frame.init_rot = {90,0,0} Add(frame) local STENCIL_LEVEL = 8 frame_stencil = CreateElement "ceMeshPoly" frame_stencil.name = "frame_stencil" frame_stencil.primitivetype = "triangles" set_circle(frame_stencil,0.75*frame_size) frame_stencil.material = "GREEN_2" frame_stencil.parent_element = "frame" frame_stencil.h_clip_relation = h_clip_relations.REWRITE_LEVEL frame_stencil.level = STENCIL_LEVEL frame_stencil.isvisible = false Add(frame_stencil) ring = CreateElement "ceTexPoly" ring.name = "ring" ring.vertices = {{-radius_ring_meters,-radius_ring_meters}, {-radius_ring_meters, radius_ring_meters}, { radius_ring_meters, radius_ring_meters}, { radius_ring_meters,-radius_ring_meters}} ring.indices = default_box_indices ring.material = "INDICATION_HELMET_KA50" ring.tex_params = {198.5/256,0.5,scale_helmet_x,scale_helmet_x*scale_multiplier_y} ring.init_pos = {0,math.tan(v_angle_shift),0} ring.controllers = {{"ring_logic"}} ring.additive_alpha = true ring.h_clip_relation = h_clip_relations.COMPARE ring.level = STENCIL_LEVEL Add(ring) cross_size =(69.5/256)/scale_helmet_x cross = CreateElement "ceTexPoly" cross.name = "cross" cross.vertices = {{-cross_size,-cross_size}, {-cross_size, cross_size}, { cross_size, cross_size}, { cross_size,-cross_size}} cross.indices = default_box_indices cross.init_rot = {45.0,0,0} cross.material = "INDICATION_HELMET_KA50" cross.init_pos = {0,math.tan(v_angle_shift),0} cross.tex_params = {69.5/256,0.5,scale_helmet_x,scale_helmet_x*scale_multiplier_y} cross.controllers = {{"cross_logic"}} cross.additive_alpha = true cross.h_clip_relation = h_clip_relations.COMPARE cross.level = STENCIL_LEVEL Add(cross) Anyone Know how to change it now? Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated! Processor: Intel Q6600 @ 3.00GHz GPU: GeForce MSI RTX 2060 6GB RAM: Crucial 8GB DDR2 HDD: 1TBGB Crucial SSD OS: Windows 10, 64-bit Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey
SmokeyTheLung Posted February 24, 2013 Posted February 24, 2013 Look here to start: DCS World/Mods/aircraft/Ka-50/Cockpit/Scripts/config.lua ...I got this working a few days ago, but I can't remember the exact path and I'm away from the home computer 1 System specifications: Computer, joystick, DCS world, Beer
ajax Posted February 24, 2013 Posted February 24, 2013 Yes, see this post: http://forums.eagle.ru/showpost.php?p=1569310&postcount=2 Edit: Sniped. 1
jib Posted February 24, 2013 Author Posted February 24, 2013 Thanks guys that was just the ticket +1 Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated! Processor: Intel Q6600 @ 3.00GHz GPU: GeForce MSI RTX 2060 6GB RAM: Crucial 8GB DDR2 HDD: 1TBGB Crucial SSD OS: Windows 10, 64-bit Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey
IonicRipper Posted February 24, 2013 Posted February 24, 2013 I use to have it entered but then i realized how annoying it was when zooming in to look at the Shkval. I think the developers had the right idea to move it slightly up. Basically, the HMS is only to direct the Shkval LOS in the general area of the target then slew the camera to lock it. i5 4590 @ 3.77GHz | GTX 1060 6GB | 16GB 1600MHz DDR3 | 1TB HDD+500GB HDD | Win10 Home X64 [sIGPIC][/sIGPIC]
jib Posted February 24, 2013 Author Posted February 24, 2013 I really like having it in the middle. I "project" my Skhval onto the bottom part of my screen anyway, so it is not obscured ( or you could just flip the HMS off). and when my HUD was damaged earlier I could still target my cannon while fully zoomed in with just the HMS, that would have been hard if it wasn't centered. Mods I use: KA-50 JTAC - Better Fire and Smoke - Unchain Rudder from trim KA50 - Sim FFB for G940 - Beczl Rocket Pods Updated! Processor: Intel Q6600 @ 3.00GHz GPU: GeForce MSI RTX 2060 6GB RAM: Crucial 8GB DDR2 HDD: 1TBGB Crucial SSD OS: Windows 10, 64-bit Peripherals: Logitech G940 Hotas, TrackiR 5, Voice Activated commands , Sharkoon 5.1 headset. ,Touch Control for iPad, JoyToKey
JesseJames38 Posted February 25, 2013 Posted February 25, 2013 I personly would like to see the HMS more over to the right side of the screen or left. depending on which eye it is used in order to target the ground. I tend to view the right side of the screen as the right eye and vice versa. I dont think the HMS is draped over both eyes in such a way that it is in focus overlaying each view point of each eye. Jesse
Recommended Posts