Echo38 Posted July 29, 2012 Posted July 29, 2012 Did some searching and showed up a thread about Black Shark 2, but nothing specifically for DCS World. You know how, by default, the camera is pointing a little bit below the Su-25T's gunsight, so that if you zoom in far enough, you can no longer see the gunsight at all? And hitting the "center camera" key (or whatever it's called) always returns the camera to this pointing-down-ish position? Well, is there any way to make it so this default "centered" view is actually centered on the gunsight? I tried using the "save snapview" function (or whatever it's called), but that didn't seem to work.
PeterP Posted July 29, 2012 Posted July 29, 2012 (edited) DCS 1.2.0 -editing view-point for the in cockpit view of the Su25T ; Snap[4][13] Get a proper file editor ( Notepad++ ) and open \Eagle Dynamics\DCS World\Config\View\SnapViewsDefault.lua and go to line#429 Snap[4][13] = {} Snap[4][13]["viewAngle"] = 90-- (FOV in degrees) Snap[4][13]["x_trans"] = 0 -- (Forward/Backward) Snap[4][13]["hAngle"] = 0 -- (Tilt Left/Right) Snap[4][13]["y_trans"] = 0 -- (Up/Down) Snap[4][13]["rollAngle"] = 0 -- (Roll Left/Right) Snap[4][13]["vAngle"] = -18.382137298584 -- (Tilt Up/Down) This is what you want to change !! Snap[4][13]["z_trans"] = 0 -- (Left/Right) Be aware that changing other settings can make the HUD become partly-hidden and useless. A setting of =0 will create a view that is centred directly at the HUD. Edited July 29, 2012 by PeterP
jkeiltaylor Posted July 29, 2012 Posted July 29, 2012 PeterP's directions are correct but for Su-25T it will be this line: Snap[4][13]["vAngle"] = -18.382137298584 (you'll want to change this to 0) 1
PeterP Posted July 29, 2012 Posted July 29, 2012 oh sorry - seems I have stooped reading carefully after I saw this: "about Black Shark 2" :P So here is the complete list for each aircraft: [su_27] = 1, [su_33] = 2, [su_25] = 3, [su_25T] = 4, [su_39] = 4, [MiG_29] = 5, [MiG_29G] = 5, [MiG_29C] = 5, [MIG_29K] = 6, [A_10A] = 7, [F_15] = 8, [KA_50] = 9, [A_10C] = 11, [P_51D] = 12, so the cockpit view is always Snap[X][13] so the snap view for the in cockpit view for the Su-25T is Snap[4][13] in line#429 of the \Eagle Dynamics\DCS World\Config\View\SnapViewsDefault.lua ( I also edited my post above)
Echo38 Posted July 29, 2012 Author Posted July 29, 2012 Thank you very much, gentlemen. One other question--is there a way to limit the maximum zoom (so that, for example, I can only zoom in to, say, 80% of max zoom)? Also, will these changes affect multiplayer or track compatibility? 1
PeterP Posted July 29, 2012 Posted July 29, 2012 (edited) \Eagle Dynamics\DCS World\Config\View\View.lua line #128 -- Camera view angle limits {view angle min, view angle max}. CameraViewAngleLimits [su_25T] = {20.0, 120.0} so min is 20° and max is 120° but maybe you are just looking also for this: enable "true" 6DOF for the Su-25T Edit: I added my both edited files that enables "true"6DOF for the Su-25T in 1.2.0 -simply put them in into : \Eagle Dynamics\DCS World\Config\View and allow to overwrite .... Please: make a backup beforehand - so you can't blame me for a faulty installation. Attached Files View.lua (7.8 KB, 22 views) Server.lua (6.5 KB, 22 views)More info about what is changed and a video : >>>http://forums.eagle.ru/showthread.php?p=1482473&posted=1#post1482473 Edited July 29, 2012 by PeterP 1
Echo38 Posted August 13, 2012 Author Posted August 13, 2012 Thanks to the information here and from searching through other threads, I've managed to get my camera mostly the way I like it--limited to about 180 degrees on either side and 90 degrees up and down, and limited to 30 degrees min FoV and 100 degrees max FoV. However, I'm still having major problems with variable camera speed; when I am zoomed in, the camera rotates and moves much slower than when I am zoomed out. Any way to adjust the rates for zoomed-in and zoomed-out independently of each other? Right now, I can't move my virtual head around obstructions while I'm zoomed in, because it takes too long; I have to first zoom out, move my head, and then zoom back in, which also takes too long.
PeterP Posted August 13, 2012 Posted August 13, 2012 I don't fully catch your question - before I start to write up a instruction how to edit each aspect of the view-logic during zoom... please post a track- or even better - a commented you-tube vid that shows your problems. - so we can be aware that we are talking of the same things.
Echo38 Posted August 16, 2012 Author Posted August 16, 2012 (edited) Here it is: Sorry about the speed of some of the annotations, you might need to pause and/or rewind to read some of them. Edited August 16, 2012 by Echo38
PeterP Posted August 16, 2012 Posted August 16, 2012 (edited) OK - I got it now! First get yourself a proper editor to make the relevant file edits: Notepad++ (but maybe you just want to get a TrackIR... ;) -anyway...) open Eagle Dynamics\DCS World\Config\View\View.lua and change some of these values starting at line #39 and try to find a sweet spot that works best at your preferred used cockpit zoom adjustment. There is no way to let it pan the same at all FOVs. CockpitMouse = true --false CockpitMouseSpeedSlow = 1.0 CockpitMouseSpeedNormal = 10.0 CockpitMouseSpeedFast = 20.0 CockpitKeyboardAccelerationSlow = 5.0 CockpitKeyboardAccelerationNormal = 30.0 CockpitKeyboardAccelerationFast = 80.0 CockpitKeyboardZoomAcceleration = 300.0 DisableSnapViewsSaving = false UseDefaultSnapViews = true CockpitPanStepHor = 45.0 CockpitPanStepVert = 30.0 CockpitNyMove = true CockpitHAngleAccelerateTimeMax = 0.15 CockpitVAngleAccelerateTimeMax = 0.15 CockpitZoomAccelerateTimeMax = 0.2 ...or simply use the cockpit mouse to pan your view: [LAlt+C] = Clickable mouse cockpit mode on/off Tip : you can also set up e.g. your middle mouse button to toggle this mode...:) with the attached script. Unzip it and start the AHK script before starting DCS. Look in your notification tray for more options. (The green "H" symbol) Edited August 16, 2012 by PeterP
Echo38 Posted August 16, 2012 Author Posted August 16, 2012 (edited) The biggest problem I have is with the virtual head movement (as opposed to v-head rotation, which is annoying but I'm starting to get used to it). Part of the problem is that I use three different zoom levels, and switch frequently between the three. However, the other part of the problem is that the movement speed is simply too low across the board (the rotation speeds are okay, although I might fine-tune them later). Which of those lines governs movement speed? They all look like they govern rotation speed instead. Mouse would be a much easier and more natural solution, but I don't think I can arrange my desk in such a manner that I can reach my mouse with my left hand. Also, I need that hand for other key functions in addition to camera; my joystick only has one button that I can use (the others I cannot use because of old hand injuries). TrackIR is also not an option for me, for multiple reasons. So, it looks like I'm stuck with keyboard for camera. It worked for me in Rise of Flight, but that camera system didn't force different camera speeds at different zoom levels. As long as I can adjust the speed at which my v-head moves, without changing the speed at which my v-head rotates, I should be able to make do. It would, of course, be far better if I could also remove the zoom-dependency, but, if I can't, I can't. Edited August 16, 2012 by Echo38
PeterP Posted August 16, 2012 Posted August 16, 2012 I still don't get what exactly is your problem with the "virtual head movement"... - Try this : Options > Misc switch off "Head Movement by G-Forces in Cockpit" Regarding your uncertainty what each value does: "Which of those lines governs movement speed? They all look like they govern rotation speed instead." Please have a look again:CockpitMouse = true --false CockpitMouseSpeedSlow = 1.0 CockpitMouseSpeedNormal = 10.0 CockpitMouseSpeedFast = 20.0 CockpitKeyboardAccelerationSlow = 5.0 CockpitKeyboardAccelerationNormal = 30.0 CockpitKeyboardAccelerationFast = 80.0 CockpitKeyboardZoomAcceleration = 300.0 DisableSnapViewsSaving = false UseDefaultSnapViews = true CockpitPanStepHor = 45.0 CockpitPanStepVert = 30.0 CockpitNyMove = true CockpitHAngleAccelerateTimeMax = 0.15 CockpitVAngleAccelerateTimeMax = 0.15 CockpitZoomAccelerateTimeMax = 0.2 I really don't know what I should add to explain it better what is already written. You want to change the "KeyboardAcceleration" speeds or simply use sometimes the "slow" and "normal" speed. Please look it up in the control options - view settings and familiarise yourself with this keyboards commands or simply change them to your needs.
Slayer Posted August 16, 2012 Posted August 16, 2012 Before delving into LUA you could always try the custom snapviews / save view angle etc etc. Simply move the camera where you like and save the view. I haven't used these in quite a while because I've long since been using TrackIr but I think they should work fine? Just take different saves at diff zoom levels etc? [sIGPIC][/sIGPIC] System Specs Intel I7-3930K, Asrock EXTREME9, EVGA TITAN, Mushkin Chronos SSD, 16GB G.SKILL Ripjaws Z series 2133, TM Warthog and MFD's, Saitek Proflight Combat pedals, TrackIR 5 + TrackClip PRO, Windows 7 x64, 3-Asus VS2248H-P monitors, Thermaltake Level 10 GT, Obutto cockpit
Echo38 Posted August 17, 2012 Author Posted August 17, 2012 I still don't get what exactly is your problem with the "virtual head movement"... - Try this : Options > Misc switch off "Head Movement by G-Forces in Cockpit" Peter, I've looked again and again, and gone through all of the view control options as well, and I cannot find a way to adjust the speed of the lateral head motion independently of the head rotation. I'm not talking about involuntary head motion from G-forces, but rather my being able to move my head (not rotating it, but moving it) with the keyboard. Let me try to explain it this way: I rotate my head with the WASD keys--A yaws left, D yaws right, W pitches up, S pitches down. I move my head with a different set of keys; Ctrl+W moves my head up, like I'm raising myself in the seat. Ctrl+S moves my head down, like I'm hunching down. Ctrl+A moves my head left, like I'm leaning to the left, and Ctrl+D moves my head right, like I'm leaning right. It's these latter four functions which I wish to adjust the speed for, and I cannot find the options anywhere. All speed and acceleration values I can find appear to be only for rotation, not motion. I do not want to make the rotation faster, but only the motion. If I'm missing something obvious, please bear with me. I'm not intentionally being thick. Before delving into LUA you could always try the custom snapviews / save view angle etc etc. Hmm, thanks, but I need something a little more dynamic, e.g. being able to suddenly zoom in while I'm looking at any given angle. Fortunately, I've already figured out how to do this. Peter's earlier explanation of the lua file enabled me to adjust my head rotation speed, too, so it's only the head "leaning" speed that I need to adjust now. (As was discussed before, I'd also like to make it so that the speed for each function is the same at any zoom level, but evidently this is not possible with this sim's camera system.)
Echo38 Posted August 18, 2012 Author Posted August 18, 2012 So, is there no way to adjust the rate at which I move my head, independently of the rate at which I rotate my head?
Recommended Posts