

gillesdrone
Members-
Posts
146 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by gillesdrone
-
I have look but I have the good syntax 3000,(pValue -2)/10) just an error typo in the post .. sorry but I have always the Pb if I put that I have rotactor decrease of 1 click
-
I have a Pb if I put 2 here (pValue -2/10) function SimpleRotary(pValue, pDevice, pNumber) GetDevice(pDevice):performClickableAction(pNumber + 3000,(pValue -2/10) end the other rotactor are bad
-
Feecback of my tests in ExportSupport.lua function SimpleRotary(pValue, pDevice, pNumber) GetDevice(pDevice):performClickableAction(pNumber + 3000,(pValue -2/10) end in SSI : Var 1080, name rethud_LNK // rotacteur type HUD reticule Var 1085, name hudnuit, Link IOCARD_SW, Input 266 // switch HUD nuit { IF &hudnuit = 1 { &rethud_LNK = 6 } IF &hudnuit = 0 { IF &huddeg = 0 { &rethud_LNK = 1 } } } Var 1086, name huddeg, Link IOCARD_SW, Input 267 // rotacteur HUD mode rose { IF &huddeg = 1 { &rethud_LNK = 12 } IF &huddeg = 0 { IF &hudnuit = 0 { &rethud_LNK = 1 } } } result : ( I make test with SSI and IPconsole I change value of variable 1080 ) 1/ [1080] = {TwoPositionSwitch, 7, 2, -1, 1}, -- reticule HUD with that : I have 2 positions of rotactor HUD : 0 => night 1 => normal and after if I put in IPconsole 2 or more I return to Night 2/ [1080] = {SimpleRotary, 4, 2}, with that : at 0 rotactor UD is on Normal and if I put in IPconsole 1 to 12 by step 1 I go to STBY By step but never under Normal , if I put negative number the ordre not passed After I have test with : [1080] = {TwoPositionSwitch, 7, -1, 0.2}, -- reticule HUD [1080] = {TwoPositionSwitch, 7, 0.2}, -- reticule HUD but no order passed
-
for the HUD I have this line in clickabledata.lua : elements["PTR_HUD-TMB-SETKA02"] = { class = {class_type.TUMB, class_type.TUMB}, hint = LOCALIZE("HUD Modes Reticle/Night/Day"), device = devices.HUD, action = {device_commands.Button_2, device_commands.Button_2}, arg = {9, 9}, arg_value = {-direction*1.0, direction*1.0}, arg_lim = {{-1,1}, {-1,1}} } I have make this line in SiocConfig.lua [1070] = {SimpleRotary, 7, 2} but I can just change for 2 positions not for the 3 I have test with [1052] = {TwoPositionSwitch, 7, 2, -1,1}, [1052] = {TwoPositionSwitch, 7, 2, -1}, [1052] = {TwoPositionSwitch, 7, 2, 0.2}, but that no good have you make this command ? Thank's for your work
-
This the SSI's Part of UV26 is there for 7-segments and light and buttons sequency and choice side // ***************************************************************************** // * Config_SIOC ver 3.5 - By Manolo Vélez - http://www.opencockpits.com // ***************************************************************************** // * FileName : gg.txt // * Date : 04/10/2010 Var 0100, name IniReUv26_LINK, Value 1 // INITIALISATION RETRO ECLAIRAGE { &RetroUV26_LED = &IniReUv26_LINK } Var 0101, name DigitDroitUv26, Value 0 // INIT DIGIT DROIT UV26 { &DisplayDroitFl = &DisplayDroitFl } Var 0102, name DigitMidUv26, Value 1 // INIT DIGIT MILIEU UV26 { &DisplayMidFlar = &DigitMidUv26 } Var 0103, name DigitLeftUv26, Value 1 // INIT DIGIT GAUCHE UV26 { &DisplayLeftFla = &DigitLeftUv26 } Var 0498, name gauchUV26, Link IOCARD_SW, Input 240 // SWITCH UV26 FLARE GAUCHE { IF &gauchUV26 = 1 { &uv26bordLNK = 1 } IF &gauchUV26 = 0 { &uv26bordLNK = 2 } } Var 0499, name DROITUV26, Link IOCARD_SW, Input 239 // SWITCH UV26 BORD DROIT { IF &DROITUV26 = 1 { &uv26bordLNK = 3 } IF &DROITUV26 = 0 { IF &gauchUV26 = 0 { &uv26bordLNK = 2 } } } Var 0500, name uv26bordLNK // SWITCH CHOIX DU LARGAGE FLARES Var 0592, name Uv26QP_SW, Link IOCARD_SW, Input 234 // SWITCH UV26 QUANTITé PROGRAMATION Var 0593, name Uv26Seq_SW, Link IOCARD_SW, Input 238 // SWITCH UV26 SEQUENCE { IF &Uv26Seq_SW = 1 { IF &DisplayLeftFla <= 8 { &DisplayLeftFla = &DisplayLeftFla + 1 } ELSE { &DisplayLeftFla = 0 } } } Var 0594, name Uv26Leurres_SW, Link IOCARD_SW, Input 241 // SWITCH UV26 NBRE LEURRES { IF &Uv26Leurres_SW = 1 { IF &DisplayMidFlar <= 7 { &DisplayMidFlar = &DisplayMidFlar + 1 } ELSE { &DisplayMidFlar = 1 } } } Var 0595, name Uv26Delay_SW, Link IOCARD_SW, Input 235 // SWITCH UV26 DELAY { IF &Uv26Delay_SW = 1 { IF &DisplayDroitFl <= 8 { &DisplayDroitFl = &DisplayDroitFl + 1 } ELSE { &DisplayDroitFl = 0 } } } Var 0596, name Uv26Start_SW, Link IOCARD_SW, Input 237 // SWITCH UV26 START Var 0597, name Uv26Reset_SW, Link IOCARD_SW, Input 243 // SWITCH UV26 RESET { IF &Uv26Reset_SW = 1 { &DisplayDroitFl = 0 &DisplayLeftFla = 1 &DisplayMidFlar = 1 } } Var 0598, name Uv26Stop_SW, Link IOCARD_SW, Input 242 // SWITCH UV26 STOP Var 0700, name UV26_larg_D, Link IOCARD_OUT, Output 31 // voyant UV26 largage droit Var 0705, name UV26_larg_G, Link IOCARD_OUT, Output 32 // UV26 largage gauche Var 0710, name UV26ret1, Link IOCARD_OUT, Output 33 // retro ecl UV26 Var 0715, name UV26_ret2, Link IOCARD_OUT, Output 34 // retro ecl UV26 Var 0720, name UV26_ret3, Link IOCARD_OUT, Output 35 // retro ecl UV26 Var 0725, name UV26_ret4, Link IOCARD_OUT, Output 36 // retro ecl UV26 Var 0730, name UV26_ret5, Link IOCARD_OUT, Output 37 // retro ecl UV26 voyant VERT Var 0735, name UV26_ret6, Link IOCARD_OUT, Output 38 // retro ecl UV26 Voyant ROUGE Var 0930, name fus_on, Link IOCARD_SW, Input 262 // inter de fusées Var 0931, name fus_1, Link IOCARD_SW, Input 252 // inter fusée 1 Var 0932, name fus_2, Link IOCARD_SW, Input 259 // inter fusée 2 Var 0933, name fus_3, Link IOCARD_SW, Input 258 // inter fusée 3 Var 0934, name fus_4, Link IOCARD_SW, Input 257 // inter fusée 4 Var 1030, name uv26power, Link IOCARD_SW, Input 255 // SWITCH UV267POWER ON/OFF Var 1033, name CA5VHF2, Link IOCARD_SW, Input 13 // SELECTOR UV26 CA5VHF2 { IF &CA5VHF2 = 1 { &spuselect_LNK = 1 } } Var 1076, name DisplayDroitFl, Link IOCARD_DISPLAY, Digit 194, Numbers 1 // AFFICHEUR DROIT UV26 Var 1077, name DisplayMidFlar, Link IOCARD_DISPLAY, Digit 193, Numbers 1 // AFFICHEUR MILIEU UV26 Var 1078, name DisplayLeftFla, Link IOCARD_DISPLAY, Digit 192, Numbers 1 // AFFICHEUR GAUCHE UV26
-
It is the script SSI ( Sioc) of Thebest28 for the 7-segments of UV26 We make a stake for zero ( 110 ) with the reset switch of the UV26 Then we incrémentente the value of different sequence with the button of UV26 I am no in my house now, if you want I post the part of SSI for UV26 monday
-
Grace to Thebest28 and Oakes, I was finally able to program the 7 segments of the UV26 and of Status armament For the UV26 it is about a mixed routine Sioc and BS grace in the button of the reset of the UV26 http://www.youtube.com/watch?v=ar7otl2nwBQ My new collective works tres indeed, and the status armS also, is him Directly connected to the program BS, but for the type of ammunition Instead of having credit note of Russian letters we have rags 00 = > STANDARD(CANNON) 01 = > rockets 02 = > missiles KH 25 ml or Vikhr Change of ammunition, refill of the emports with Vikhr and rockets, status of Emports by clairvoyants(lights) also work http://www.youtube.com/watch?v=84vkXLyNyI4 Good Video
-
hello Oakes, I bought the 7 seg. digits, and cards display Iocard to finish my SimPIt is it possible have the codes SSI and ConfigSioc.lua concerning the 7 seg. digits of UV26, Status weapons, I know that we have no elements to make the PVI800 Thank you for your answer
-
Can you say yourself what are the lights of both panels of the top which are not in the SSI??? I fact ASAP :smilewink:
-
Well when made one a flight in common??? Via internet ;)
-
and thank's to you for BSVP and LOVP
-
Yes very talented video operator! I named BaD_CrC. :) Thank you for your help and your visit ;)
-
I presente you my PIt and to thank, Oakes, Thebest28 and Hellfrog for their works on BS who allowed me to manage to make it the functioning of lua :thumbup:
-
I have a Pb ICI but I have LOFC1.1 and LO 1.0 intalled on my PC thanks fort your answzer
-
I have 3 screens and an other for BSVP ( on lan from other PC ) I have beetwin 20 to 30 fps My config PC : I7 940 ; 6 Go RAM, 295 GTX * 2 ; Vista 64 do you think it is better if I Oc my proc ? but I do'nt no how make that http://gilles.guesnel.free.fr/BLACKSHARK.html
-
hi, can you help me please i make a Pit , and I search the assign of this light on Su 25T http://img259.imageshack.us/my.php?image=voyantjx3.jpg I know the assign of 2 lights ( at left ) hydraulic engine 1 and 2 but the other ?? thank's for your answer and excuse me for my poor english langage the link of my Pit build on the 3rd Wing website http://www.3rd-wing.net/index.php?showtopic=5701