SpyderPB6 Posted April 12, 2012 Posted April 12, 2012 Hello All, I am looking for a way to disable the SHKVAL and ABRIS in 3D cockpit view as I have them setup on two other monitors. I would like to gain what little FPS I can as a result of this. I came across this thread http://forums.eagle.ru/showthread.php?t=71255, but it does not work for me in BS2. Any hints or other ways you guys know of? Thanks, Mike.
Daniel M Posted April 13, 2012 Posted April 13, 2012 BS1 and 2? Not working for me in bs2? (may be me?) either --purposes = {render_purpose.GENERAL,render_purpose.HUD_ONLY_VIEW} --purposes = {render_purpose.HUD_ONLY_VIEW} purposes = {} my attempts
ZMEY-HS- Posted April 13, 2012 Posted April 13, 2012 You need ViewportHandling.lua. http://forums.eagle.ru/showpost.php?p=1325482&postcount=35 1
speckfire Posted April 13, 2012 Posted April 13, 2012 Could this method work only for let's say the shkval? Speed is life !!!
speckfire Posted April 13, 2012 Posted April 13, 2012 For SHKVAL only OK BS1 procedure works different than BS2 it seems For BS1 you need to edit SHKAVL_init.lua line 50 and comment out render_purpose.GENERAL with -- For BS2 as stated by ZMEY-HS 1 Speed is life !!!
Damage Posted April 15, 2012 Posted April 15, 2012 For SHKVAL only OK BS1 procedure works different than BS2 it seems For BS1 you need to edit SHKAVL_init.lua line 50 and comment out render_purpose.GENERAL with -- For BS2 as stated by ZMEY-HS For BlackShark 2, comment out render_purpose.GENERAL with -- seems to turn off both SHKAVL and Abris, how exactly can we disable only the SHKAVL and leave the Abris on in the 3d pit. [sIGPIC][/sIGPIC] Flight Box: ASUS P8P67 DELUXE, i7-2700K @ 4.5GHz, 8GB DDR3, Kingston 96GB SSD, EVGA GTX-570 HD 2560MB, Sony KDL-32BX420 32", 2 x Lilliput UM-70, Win7 Pro 64, CH Fighterstick, Pro Throttle, Pro Pedals
speckfire Posted April 15, 2012 Posted April 15, 2012 (edited) Hi Damage, for BS-2 as stated By ZMEY-HS link Go to <your DCS folder>\Scripts\Aircrafts\_Common\Cockpit\Viewport Handling.lua On line 31 comment out "render_purpose.GENERAL" So the complete line looks like this: purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always Edited April 15, 2012 by speckfire Speed is life !!!
airdog Posted April 15, 2012 Posted April 15, 2012 (edited) Add the below code to the end of your SHKVAL_init.lua file and all will be well. Put your viewporthandling.lua back to original. purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} Commenting out this line purposes = {--render_purpose.GENERAL in viewporthandling.lua will kill the all cockpit displays that use the viewporthandling.lua. Which in BS2 is just the SHKVAL, Abris and PVI800. Edited April 15, 2012 by airdog Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/
speckfire Posted April 15, 2012 Posted April 15, 2012 (edited) Airdog Are you sure? Because I have that one line commented out and everything is in the 3d cockpit except the shkval. I did not even touch SHKVAL_init.lua This is my viewporthandling.lua in BS-2 purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always Edited April 15, 2012 by speckfire Speed is life !!!
airdog Posted April 15, 2012 Posted April 15, 2012 Airdog Are you sure? Because I have that one line commented out and everything is in the 3d cockpit except the shkval. I did not even touch SHKVAL_init.lua This is my viewporthandling.lua in BS-2 Don't know what to tell you. All I did was post what works for me. I look at it this way...mine works for me, yours works for you, now he has 2 ways to try and make it work for him. Airdog | Asus ROG Strix Z370-E Mobo | i7 8700K @ 4.7 | 32 GB DDR4@3200mhz | Gigabyte 2080Ti OC 11GB| Samsung M.2 960 Evo 250Gb and 500Gb | Win10 Pro | Hotas Warthog #02743 | Track IR 5 | Toshiba 47" 120hz LED | Acer 23" Touchscreen | HELIOS |Oculus Rift-S| http://www.blackknightssquadron.com/
Damage Posted April 16, 2012 Posted April 16, 2012 Hi Damage, for BS-2 as stated By ZMEY-HS link Go to <your DCS folder>\Scripts\Aircrafts\_Common\Cockpit\Viewport Handling.lua On line 31 comment out "render_purpose.GENERAL" So the complete line looks like this: purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} -- set purposes to draw it always When I do this, the SHKVAL and Abris both turn off. I only want the SHKVAL to turn off. [sIGPIC][/sIGPIC] Flight Box: ASUS P8P67 DELUXE, i7-2700K @ 4.5GHz, 8GB DDR3, Kingston 96GB SSD, EVGA GTX-570 HD 2560MB, Sony KDL-32BX420 32", 2 x Lilliput UM-70, Win7 Pro 64, CH Fighterstick, Pro Throttle, Pro Pedals
speckfire Posted April 16, 2012 Posted April 16, 2012 Are you on full screen mode? ok try airdog's suggestion. He seem to have the same issue as you. Put back viewporthandeling.lua back to original and add the below code to the end of your SHKVAL_init.lua purposes = {--render_purpose.GENERAL, render_purpose.HUD_ONLY_VIEW, render_purpose.SCREENSPACE_OUTSIDE_COCKPIT, render_purpose.SCREENSPACE_INSIDE_COCKPIT} Speed is life !!!
cltmmm Posted April 16, 2012 Posted April 16, 2012 Make sure you add EVERYTHING to the end of the Shkval_init.lua file. I was just hacking into the file above to save a few lines of text (don't ask me why). And it did not work. Once I followed the directions to the dot, it worked perfectly. Gave me a few extra FPS in dense situations. Though I have found even though I didn't use the cockpit Shkval to target, my peripheral vision used it for confirmation of target kills. I now glance more to my second monitor to determine kills and it is throwing me off a little.
Recommended Posts