December 26, 201015 yr Seasons greeting to you allThis CWS steering code runs with the sim paused, I sure its the two elevator events up & down.(A:Autopilot master, bool) (L:CWSwitch,bool) & if{ (A:YOKE Y POSITION, percent) abs 80 < if{ (A:ATTITUDE INDICATOR PITCH DEGREES,degrees) (L:ATTcontrol,number) 0.75 - < | if{ (>K:ELEV_TRIM_DN) } (A:ATTITUDE INDICATOR PITCH DEGREES,degrees) (L:ATTcontrol,number) 0.75 + > | if{ (>K:ELEV_TRIM_UP) } }I can't find any XML sim variables to control this are they any? Paul EGLD
December 26, 201015 yr This works as long as FSUIPC ,or some other program is not trying to synch system time to FS time. It checks whether the stored saved time equals the now current sim time, if so it's paused ( 'cuz time is standing still ) otherwise it is not paused. It then updates the stored time to FS time. (P:ABSOLUTE TIME, seconds) (L:Last_Time, number) == if{ 1 (>L:Sim_Paused, bool) } els{ 0 (>L:Sim_Paused, bool) } (P:ABSOLUTE TIME, seconds) (>L:Last_Time, number) Roman FS RTWR SHRS F-111 JoinFS Little Navmap
December 26, 201015 yr Author This works as long as FSUIPC ,or some other program is not trying to synch system time to FS time. It checks whether the stored saved time equals the now current sim time, if so it's paused ( 'cuz time is standing still ) otherwise it is not paused. It then updates the stored time to FS time. (P:ABSOLUTE TIME, seconds) (L:Last_Time, number) == if{ 1 (>L:Sim_Paused, bool) } els{ 0 (>L:Sim_Paused, bool) } (P:ABSOLUTE TIME, seconds) (>L:Last_Time, number) Roman Thanks again Roman that works great.Paul Paul EGLD
December 29, 201015 yr Thanks again Roman that works great.PaulHi Paul,I always use exactly what Roman suggests as well.Maybe as a reminder: I guess you want the code also to stop running when SLEW is active ??(use (A:IS SLEW ACTIVE,bool) ).Because in SLEW mode, FS time keeps running...Rob
Create an account or sign in to comment