Jump to content

harf4ng

Members
  • Posts

    458
  • Joined

  • Last visited

Everything posted by harf4ng

  1. 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 ^^
  2. 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...
  3. 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
  4. Seems it does not work for all games. Star Citizen, for instance, only recon up to button 50. If I try to map a button higher than that, I'm unable to assign this button to any in game function...
  5. In fact I have noticed the script editor keep the last folder used, so we could put the scripts anywhere. I have even put a file association so .tmc files will open in the script editor when I double click on them, so I just have to double click then click run. Though about the folder used, the issue lies with the GUI now. The GUI creates a .fcf file in the folder you want, that is fine. But behind it also creates a .tmc file, but then this file is put in user folder, appdata, and I don't like this, as this is the kind of folder that get lost usually when I reinstall my computer. Correct me if I'm wrong, but the .fcf file is just the GUI file, but all the programming is in the .tmc one, right? And what happen if we modify the .tmc, then open the .fcf file again and do more changes? Will our .tmc changes get lost ? I wonder, do you think I should learn to get rid of the GUI, and do all the programming in the .tmc file myself? Is it hard to do? Too bad the script editor does not have syntax highlights. Though this is convenient to be able to do changes then just click run to test them. Thanks
  6. Oh and to answer my question, all the axis have values from -32767 to +32767 when they are virtual...
  7. Ok I think I found a way. Here is my script if this could help someone... include "target.tmh" int main() { if(Init(&EventHandle)) return 1; MapAxis(&Throttle, THR_RIGHT, DX_ZROT_AXIS, AXIS_REVERSED, MAP_ABSOLUTE); MapAxis(&Throttle, THR_LEFT, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); MapAxis(&Throttle, THR_FC, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); } int EventHandle(int type, alias o, int x) { if(&o == &Throttle & x == THR_RIGHT & Throttle[THR_RIGHT] <= 0) { GetAxisData(&o, x); DXSetAxis(DX_XROT_AXIS, -32767); DXSetAxis(DX_YROT_AXIS, (abs(AxisVal(Throttle[THR_RIGHT], &axdata)))*2-32767); } if(&o == &Throttle & x == THR_RIGHT & Throttle[THR_RIGHT] > 0) { GetAxisData(&o, x); DXSetAxis(DX_XROT_AXIS, (abs(AxisVal(Throttle[THR_RIGHT], &axdata)))*2-32767); DXSetAxis(DX_YROT_AXIS, -32767); } DefaultMapping(&o, x); }
  8. Hi, I'm trying to figure out how to plit my right throttle of my warthog into two different axis, so when the right throttle is between 0 (top) and the middle, it puts values into an axis, and the same for bottom half. But can't figure out what values to put into the DXSetAxis. Unsure what the min / max values are for axis. Just to test my little script looks like that : include "target.tmh" int main() { if(Init(&EventHandle)) return 1; MapAxis(&Throttle, THR_RIGHT, DX_ZROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); MapAxis(&Throttle, THR_LEFT, DX_XROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); MapAxis(&Throttle, THR_FC, DX_YROT_AXIS, AXIS_NORMAL, MAP_ABSOLUTE); } int EventHandle(int type, alias o, int x) { if(&o == &Throttle & x == THR_RIGHT & Throttle[THR_RIGHT] < 8192) { GetAxisData(&o, x); DXSetAxis(DX_XROT_AXIS, 0); } if(&o == &Throttle & x == THR_RIGHT & Throttle[THR_RIGHT] >= 8192) { GetAxisData(&o, x); DXSetAxis(DX_XROT_AXIS, 16383); } DefaultMapping(&o, x); } I know the value I put is weird. Still trying to figure out what formula to put there... this function was just to test, I believed 0 and 16383 were also the min/max value of DX_XROT_AXIS as this is the min/max of the DX_ZROT_AXIS (the throttle) but does not seem to be the case... Or maybe the virtual joystick has not the same min/max value as the physical stick? Thanks
  9. I wonder, what is the advantage in setting up buttons for controllers, and then setup the simulation to use buttons, rather than just setup T.A.R.G.E.T to emulate keyboard?
  10. I find the GUI very useful for normal use, we can do a lot of things without having to be a guru programmer ;) 32 buttons is enough for me, as you can also program keystrokes, so you have enough to do anything...
  11. Yes, I know we can save the new configuration anywhere, but is there a way so T.A.R.G.E.T will always then save there, and open profiles from there, without the need to always browse to that location, each time we want to edit, run or create a new configuration? Thanks
  12. Hi, Is there a way to select a default location for scripts and profiles for T.A.R.G.E.T? When I create a new profile with the GUI and try to save it, it always puts me (if I remember well) in the C:\ folder. I would like another default location. Also, on the GUI there is a stock and custom quick profile setup, but no idea where the custom profile seeks the profiles, and if there is a way to change this folder to somewhere else. Thanks
  13. Too bad the max vertical adjustability is only 22 cms, with the height of the warthog will be hard to use it with a long extension (ie 15 cm or so ^^)
  14. Depends what it is for. On the ground with a long shaft is maybe the most realistic to fly helicopters ;) For the stand get a stable one, one that will not drop on the side if you move the stick left or right... You could also try something like that : http://ecx.images-amazon.com/images/I/81wO%2Br6SrsL._SL1500_.jpg But this is not between your legs. Also, some people make that themselves : http://i.imgur.com/pcrTQj0.jpg
  15. Maybe on the ground between your legs with a loooong extension? :) Beware though to not break the gimbals and so do not move the stick too hard. Or you could maybe make yourself a piece of wood to put the warthog in front of you with an extension. I'm flying in an obutto r3volution cockpit, so they are designed to put sticks in...
  16. The Sajah's aluminium one look like plain aluminium, according to the pictures, not polished ones ;) Sahaj : MFG : And in fact I prefer the look of the MFG alu than Sahaj's black, but this is just my taste ^^
  17. In fact I found the polished aluminium pretty. wonder if they are not better looking than black. Seems sahaj ones (alu) are not polished...
  18. I thought about buying the extensions from the maker of MFG crosswind pedals. Though I'll check sahaj as well. MFG is cheaper though :) http://mfg.simundza.com/blog/new-product-mfg-warthog-extensions/
  19. So, I just bought the warthog, just bought also the obutto warthog mount (ouch, the shipping fees are about the same as the product itself ^^), and will wait for this to be put in my cockpit to decide which size of the warthog extension I'll get ^^ And so I'll try to sell my X55, and also my saitek TPM ^^
  20. Cannot use voice attack, my wife will kill me if I start talking to my computer in the middle of the night :)
  21. In fact I think I will buy the whole thing. When I think about it, with virtual reality too many buttons is the best way to use the wrong switch. So better to less buttons :)
  22. Ouch you're trying to make me spend 150 more euros, damn :) The thing I have to consider as well is I need enough buttons on my hotas because I fly with an htc vive therefore I need all important commands on the hotas as I cannot use the keyboard anymore... Though I have noticed I rarely setup anything on all the x55 throttle switches...
  23. I know I know... I ordered them in february but still waiting because the combat plates are not ready yet, and I don't want the "feet on plates" version :) But considering maybe to get only the warthog stick, and keep the X55 throttle, as the advantage of the X55 is the more buttons/switches/rotaries, seems the X55 throttle has more possibilities than the warthog one. For you, Gladman, who had both, how would you compare the two throttles? The warthog HOTAS is 400 € in france, and the stick alone only 250 €. So, 150 € less expensive... For instance, flying the TF51-D I have setup the top rotary of the X55 throttle to be yaw trim, and bottom rottary to be rudder trim, looks a lot like the real plane this way :)
  24. Sorry to bring out a quite old topic, but I'm having the same question. Especially now that we can buy the warthog stick alone. I have a X55 hotas, but considering getting the warthog stick and keep the X55 throttle, because of the more switches and buttons and rotaries on the X55 throttle in comparison with the warthog throttle. Only drawback is I'll not be able to sell my X55 stick alone I guess, but the drawback will be lowered because I'll have to pay a lot less for the stick alone than the whole warthog setup... and I'm mostly interested by the stick, not the throttle...
  25. Thanks. Maybe though I'll wait to get the mfg crosswinds pedals before changing my hotas, as the twist grip of the X55 is quite handy without pedals... Or, can I use something on the stick or hotas to replace the rudder (for planes, not helicopters of course), while I wait for the mfg crosswind pedals to be ready?
×
×
  • Create New...