Jump to content
The simFlight Network Forums

Glenn Weston

Members
  • Posts

    57
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by Glenn Weston

  1. Ok thanks, thanks Pete for clearing up the usage of macros for me. I think I understand the way the mult line macros work now, I obviously didn't quite get it before. I do understand that one line macros is a very inefficient way to do it but it was the only way to get a nice description of the function because I could make the macro file name describe the function & then the macro file name would show up in the pull down list when assigning a key or button, it would have worked for me but I hit that 128 maximum limit...... So it is no longer an option. I am still interested to know if 128 is the maximum limit, when you get a chance. It would be nice if the lvars could be assigned a descriptive name somehow but I am not sure how complex that would be for you to do. I know some aircraft panels actually have descriptive lvars but unfortunately not the case in the vrs superbug. Cheers Glenn.
  2. Hi Pete, I have a couple of questions regarding macros using Lvars. Also I must thankyou for the DEC,0 Action fix that you implemented in a recent update, that works perfectly now. The Version I am running is 4.84, Just updated today actually. I have two problems. I am writing macros for the VRS Superbug and unfortunately none of the Lvar values are descriptive at all. Here is an example that I posted a few weeks ago in regards to the Left DDI Mode knob. It's a discrete 4 Position Knob & does not cycle, The Lvar is L:BCBGL, Values available are 0=Off 1=Night 2=Auto 3=Day As the Lvar name is non descriptive I thought I would just create multiple macro files, as the macro file name comes up in FSUIPC pulldown list and steer away from multi action macros. So I created 4 Individual macros like so: LDDIOff.mcro (Filename) [macros] 1=L:BCBGL=SET,0 LDDINight.mcro (Filename) [macros] 1=L:BCBGL=SET,1 LDDIAuto.mcro (Filename) [macros] 1=L:BCBGL=SET,2 LDDIDay.mcro (Filename) [macros] 1=L:BCBGL=SET,3 And to throw in for good measure, in case somebody would like to handle this function with a rocker switch to save inputs. I created another 2 macros using the INC/DEC actions LDDIModeIUp.mcro (Filename) 1=L:BCBGL=INC,3 LDDIModeDn.mcro (Filename) 1=L:BCBGL=DEC,0 As you can see to deck out the complete pit I will end up with a mother load of macro files & I seem to have found that the maximum number of macro files that will populate in the ini file is 128. I think I am probably pushing the use of the ini file over the edge but it seemed to be the only way to get nice descriptions against the macro actions. Can you tell me what is the maximum number of macro files allowed is in the modules folder ? I could not seem to find it in the docs & I did search them. So I decided to revisit the Idea of multi action macros tonight but could not seem to get it to work on this version, I had done in an earlier version. So I would just like to see if I am doing this correctly, this how I am writing the multi action macro. LDDIMode.mcro (Filename) [macros] 1=L:BCBGL 1.1=SET,0 1.2=SET,1 1.3=SET,2 1.4=SET,3 following the example in the manual which reads: The multi-line macro format can still be used with the Lvar macros, as follows: N=L:name N.1=action1 N.2=action2 ... etc. I've been delving into Lua & I really think that Lua will be the solution using a Map of Parameter Values assigned to an action list. I intend to publically post it all once completed at the VRS forums & here in the contributions area. I am attempting to do all control via FSUIPC alone, so I don't have to run any other software. I am just trying to work out the best way to tackle it. Thanks for your terrific support. Cheers Glenn.
  3. Sirxamoc, This sounds very similar to what I saw the other night when I was playing with a lever I have on my TM HOTAS Warthog Throttle. The lever I was playing with on my throttle is assigned to "Slider" when I look at it under windows Game Controllers to test it. What I was finding was if I moved the lever to any positive position past the middle detent FSUIPC would imediately display +16383, If I came to the negative side of the middle detent then I would immediately get a value of -16383 with nothing in between, It was acting almost like a switch !! Anyhow what I did was go into windows Games Controllers, Select my Throtttle, Click on properties, Click on Settings TAB, Then select calibarate. I went throught the full calibaration procedure for all Axis, After this FSUIPC was reporting the values as expected, I could then move the lever anywhere from -16383 to +16383 with all the values in between, just like it should. This was under Windows XP, I would imagine Win7 will have a similar procedure in the control panel area, if thats what you are using. Give that a go & see how you fair. Regards Glenn.
  4. Thankyou for the quick Response Pete. Will look forward to the fix. Regards Glenn.
  5. Hello, Just need a little bit of help with some macros I am creating for the VRS Superbug. I have read through the FSUIPC Advanced users guide & I am using FSUIPC Ver. 4.827. A problem I am having is setting an Increment & Decrement macro. Here is an example, The left DDI mode knob in the hornet uses Lvar BCBGL (Unfortunately they are non descriptive) It Has four postitions OFF/NIGHT/DAY/AUTO. It does not physically cycle back to the OFF position, simply a 4 Position switch. The Values for the Lvar are 0=Off 1=Night 2=Day 3=Auto The Increment macro for this switch works perfectly 1=L:BCBGL=INC,3 Monitoring the Lvar value as I increment the value will stop at 3 and go no further, Perfect ! However If I create a Decrement Macro 1=L:BCBGL=DEC,0 Monitoring the Lvar value as I Decrement the value it will continue to go into negative numbers forever & does not stop at 0 If I set the value in the line to 1 or -1 the decrement behaves & will not go any further than the number set, it seems like 0 is ignored. Is this a little bug I have stumbled upon or is this normal behaviour? Should I be doing this in a differnet way? Thankyou in Advance Glenn.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.