Devrim Posted October 5, 2014 Posted October 5, 2014 Hi. I need a help about jiggle effect. When enabled, we get jiggle effect on camera view, but at same time camera is moving around. How can I disable camera movement and get only jiggle effect? For example, think about Sabre. In F4 view, camera is located on the right wing, but when jiggle is enabled, camera moves around constantly with jiggle effect. I want it like a real cam fixed on the right wing. Cam must jiggling but not moving... That's what I'm chasing... Now, anybody knows what to edit and disable moving effect? Thanks you really, in advance! Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
GeorgeLKMT Posted October 5, 2014 Posted October 5, 2014 Try opening view.lua and setting function CameraFloat(t) values to 0. I know it works for fixed ground (airshow) camera, not sure about F4. 1 ■ L-39C/ZA Czech cockpit mod ■ My DCS skins ■
Devrim Posted October 5, 2014 Author Posted October 5, 2014 Wow. I think this is what they say "Worked like a charm!" Thanks for the hint George. It works! I enabled Camera Jiggle code block (Line#70 and later) and changed CameraFloat(t) section as following;function CameraFloat(t) local dX, dY, dZ dX = 0; dY = 0; dZ = 0; return dX, dY, dZ end Thanks again buddy. :beer: Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
GeorgeLKMT Posted October 5, 2014 Posted October 5, 2014 I'm glad it worked :thumbup: ■ L-39C/ZA Czech cockpit mod ■ My DCS skins ■
Devrim Posted October 6, 2014 Author Posted October 6, 2014 And... That's very interesting. My aim was to record a video of a flight from a multiplayer session. We did that flight three days ago. Obviously, DCS records your track with your current view settings. I mean, although I'm editing Jiggle Cam code today, the track that recorded three days ago has previous Jiggle Cam code. Is there any possible way to edit track and change jiggle cam code? :D Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
GeorgeLKMT Posted October 6, 2014 Posted October 6, 2014 You can open trk files with file archiver software like 7-zip (make a copy of that track beforehand just in case). Trk is basically just a container. ■ L-39C/ZA Czech cockpit mod ■ My DCS skins ■
riboyster Posted November 28, 2014 Posted November 28, 2014 Sorry to bring an old post back to top, but is there any way changing any of those values will enhance the jiggle effect. I recall LOMACs jiggle (and FC1) being much greater than it is now. Can I modify something to make it stronger? -SnakeShit [sIGPIC][/sIGPIC] Peace through Superior Firepower EVERYTHING YOU'LL EVER NEED FOR LOMAC: http://flankertraining.com/ironhand/news.html
Devrim Posted November 28, 2014 Author Posted November 28, 2014 Hi. You can edit View.lua and increase rot value. I think default was 0.05 and mine is 0.06 -- CameraJiggle() and CameraFloat() functions make camera position -- dependent on FPS so be careful in using the Shift-J command with tracks, please. -- uncomment to use custom jiggle functions function CameraJiggle(t,rnd1,rnd2,rnd3) local rotX, rotY, rotZ rotX = 0.06 * rnd1 * math.sin(37.0 * (t - 0.0)) rotY = 0.06 * rnd2 * math.sin(41.0 * (t - 1.0)) rotZ = 0.06 * rnd3 * math.sin(53.0 * (t - 2.0)) return rotX, rotY, rotZ end function CameraFloat(t) local dX, dY, dZ dX = 0; dY = 0; dZ = 0; return dX, dY, dZ end Intel i7-14700@5.6GHz | MSI RTX4080 SuperSuprimX | Corsair V. 64GB@6400MHz. | Samsung 1TB 990 PRO SSD (Win10Homex64) Samsung G5 32" + Samsung 18" + 2x8"TFT Displays | TM Warthog Stick w/AVA Base | VPC MongoosT-50CM3 Throttle | TM MFD Cougars | Logitech G13, G230, G510, PZ55 & Farming Sim Panel | TIR5 & M.Quest3 VR >>MY MODS<< | Discord: Devrim#1068
Recommended Posts