harf4ng Posted September 22, 2016 Posted September 22, 2016 Hi, Now I'm trying to build scripts with the script editor, without the GUI, but I find it a bit hard for axis setup, when I want to adjust S or J curve. So, usually what I do is I launch the GUI with a test setup, I adjust the curve there, I look at the script generated then, and I copy the required line into my script. I know this is not DCS related, but I did that for instance to play assetto corsa with the warthog, using throttle I separated into two axis to accelerate and brake, and the stick to steer, with a curve adjustment so the stick will be smoother. So now my question is, is there an easier way to do this, than launching the GUI to edit the curve and see what parameters I should put in SetSCurve function? Thanks Favorite modules : Huey, F-86F, F14 and P-51D Quest 2, RTX 3080, i7 10700K, 16 Gb of RAM, Pro Flight Trainer PUMA helicopter setup, Warthog HOTAS with two force sensitive stick, custom cockpit and a GS-Cobra dynamic seat.
dburne Posted September 22, 2016 Posted September 22, 2016 (edited) Did you try an in depth read of the script editor manual? Has been awhile since I have messed with it, but if I recall it covered that fairly well? Fwiw I have mine set as the following: SetSCurve(&Joystick, JOYY, 0,5,0,2,0); SetSCurve(&Joystick, JOYX, 0,3,0,2,0); This is for my Warthog that has a little bit of play around neutral, mainly in the Y axis. I would note I do not use TARGET so far for DCS, but do use it for my other combat flight sims. Edited September 22, 2016 by dburne Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
harf4ng Posted September 22, 2016 Author Posted September 22, 2016 I know about the SetSCurve syntax, but seeing a graph of the inputs data is easier to read than just messing out with numbers. Using the GUI allows me to put numbers in the dead zone, zoom and so on fields and immediately see how it changes the curve, so I can easily figure out what will be the good values to enter without too much trial and error... Too bad thrustmaster do not provide a curve tool that just shows up the curve according to some inputs... Favorite modules : Huey, F-86F, F14 and P-51D Quest 2, RTX 3080, i7 10700K, 16 Gb of RAM, Pro Flight Trainer PUMA helicopter setup, Warthog HOTAS with two force sensitive stick, custom cockpit and a GS-Cobra dynamic seat.
dburne Posted September 22, 2016 Posted September 22, 2016 Yeah the script editor is just raw data. I typically just play with the numbers and test to get a feel in between adjustments. But like you say it is trial and error. You can run the script and view the axis response in Target's Device Analyzer, but not sure how much that would really show you... Don B EVGA Z390 Dark MB | i9 9900k CPU @ 5.1 GHz | Gigabyte 4090 OC | 64 GB Corsair Vengeance 3200 MHz CL16 | Corsair H150i Pro Cooler |Virpil CM3 Stick w/ Alpha Prime Grip 200mm ext| Virpil CM3 Throttle | VPC Rotor TCS Base w/ Alpha-L Grip| Point Control V2|Varjo Aero|
harf4ng Posted September 22, 2016 Author Posted September 22, 2016 Guess then I'll continue as I do, with my test script in the GUI to show me the curve. Too bad we cannot launch the GUI and script editor at the same time ^^ Favorite modules : Huey, F-86F, F14 and P-51D Quest 2, RTX 3080, i7 10700K, 16 Gb of RAM, Pro Flight Trainer PUMA helicopter setup, Warthog HOTAS with two force sensitive stick, custom cockpit and a GS-Cobra dynamic seat.
Recommended Posts