Michelange Posted June 14, 2010 Posted June 14, 2010 don't forget Fc1.12 as there is still some who have not moved on to FC2 yetYes, we at EVAC are using FC1.12 in our instruction because there is no way to impose MDF and HUD failures online in FC2. We use this in our lessons to practise instrumental night flight with fog for beginners of course. :pilotfly: EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
diveplane Posted June 14, 2010 Posted June 14, 2010 (edited) syntax =su27 =F15C =a10a =su33 =mig29A=mig29S=migG ........... paste this in =mig2 done. Edited June 14, 2010 by diveplane https://www.youtube.com/user/diveplane11 DCS Audio Modding.
Michelange Posted June 14, 2010 Posted June 14, 2010 (edited) @diveplane : Ok I test only the US planes in the script. I've updated the script for you and I suppose that it's "A10A" for the A-10 For people who are interested in Lua programing there is a Dev tool here with Text editor Edited June 14, 2010 by Michelange EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
diveplane Posted June 14, 2010 Posted June 14, 2010 (edited) @diveplane : Ok I test only the US planes in the script. I've updated the script for you and I suppose that it's "A10A" for the A-10 ok thx will test it Edited June 14, 2010 by diveplane https://www.youtube.com/user/diveplane11 DCS Audio Modding.
diveplane Posted June 14, 2010 Posted June 14, 2010 tried the latest one nothing? games not detecting it? https://www.youtube.com/user/diveplane11 DCS Audio Modding.
Michelange Posted June 14, 2010 Posted June 14, 2010 (edited) tried the latest one nothing? games not detecting it? Dont think, I saw a little error in the script. EDIT : - the version on page 3 #25 is working OFF and Online for FC2 - the version on page 2 #11 is for FC1.12 Edited June 14, 2010 by Michelange EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
diveplane Posted June 14, 2010 Posted June 14, 2010 testing now , then adding some tweaks to it. will create a modman version 2 wow finaly lights for all the jets and mp mode. nice job https://www.youtube.com/user/diveplane11 DCS Audio Modding.
diveplane Posted June 14, 2010 Posted June 14, 2010 (edited) creating a final version mod man install just tested all looks good. each player, flyable aircraft has its own strobe light speed now mutliplayer mode now works , other players can see your lights flash ingame now, but in order for you to see other mp aircraft lights flash they need to have the mod installed as well. ... version 2 modman install shortly stay tuned guys. Edited June 15, 2010 by diveplane https://www.youtube.com/user/diveplane11 DCS Audio Modding.
diveplane Posted June 14, 2010 Posted June 14, 2010 finished final version guys enjoy it , will be adding this up on lockon files.com as well main credit again goes to michelange , i did the aircraft types again.MULTI AIRCRAFT STROBE LIGHTS INSTALL LOFC 2.0 ModMan 7.2.0.0.zip https://www.youtube.com/user/diveplane11 DCS Audio Modding.
diveplane Posted June 15, 2010 Posted June 15, 2010 big thx also goes to rattler hes helped test this script in older version flaming cliffs game he will report his finding shortly https://www.youtube.com/user/diveplane11 DCS Audio Modding.
rattler Posted June 15, 2010 Posted June 15, 2010 (edited) For those that still have Fc1.12b. Post no. 11 has the brightlightfc1.12 rar file for the Fc1.12 version. Works great in SP could a coupe of people try this in MP and please advise Diveplane of the result. Should work just fine.:thumbup: brightlights2 is working for Fc2 and fc1.12. don't miss this script change. Looks and works great. Have fun in the skies. If anyone thinks that fc1.12 version is not working please give me a shout. Note: you will have lights airborne but to turn them off, change from Nav mode to any combat mode and use ctl-l to turn them off, when back in nav mode just turn nav lights on again and they will flash. Any problems please let me or diveplane know. Thanks guy's. Edited June 15, 2010 by rattler
Michelange Posted June 15, 2010 Posted June 15, 2010 could a coupe of people try this in MP and please advise Diveplane of the result. Should work just fine.It works fine since one year in MP, tested and used regulary. Fell free to adjust, adapt, the mod as you like. Few knowledge in programming is necessary. Some remarks : - make sure that the server uses the mod. Should work w/o but it's better. - many times the mod is not working if you use another script who's not following this rules. I stress this point because it's the only way to make scripts compatible. TACTVIEW and LOTACT2 uses the same rules and are working together with Blinklights.lua. For the moment, G15 script, for example, is not compatibl and will inhibit the other scripts (I'd this case with a friend of mind) - As usual, the FC2 blinklights script will not pass thought "Integrity Check" as well as the other scripts, if config.lua and export.lua is checked. EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
Michelange Posted June 15, 2010 Posted June 15, 2010 Here you have a last version to give you an Idee how you can manage 3 or 4 or more states. I've not tested this now but should be correct. For this i added a new value called MaxState = 3 or 4 Explanation of the attached file, I made the relations visible vith colors -- testing witch plane and assign conditions if self.plane == "a10a" then -- is my plane the A-10 ? onTime = 0.1; -- Time light on offTime = 0.2; -- Time light off MaxState = 3; -- Maximum 3 states for A-10 else if self.plane == "F15C" then -- is my plane the F-15 ? onTime = 0.1; -- Time light on offTime = 0.2; -- Time light off MaxState = 4; -- Maximum 4 states for F-15 else -- the plane is not the F-15 or A-10 onTime = 0.9; -- Time light on offTime = 1.9; -- Time light off MaxState = 4; -- Maximum 4 states end -- end of the test -- now testing the plane if atAir and masterMode == "NAV" and self.plane ~= "su25" then -- NEW : testing the number of states if MaxState = 3 then -- here we have only 3 states if ( self.lightState == 0 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 1; self.lastCycleTime = Timer; elseif ( self.lightState == 1 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 2; self.lastCycleTime = Timer; elseif ( self.lightState == 2 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 3; self.lastCycleTime = Timer; elseif ( self.lightState == 3 and Timer - self.lastCycleTime >= offTime ) then self.lightState = 0; self.lastCycleTime = Timer; end else -- here we have 4 states if ( self.lightState == 0 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 1; self.lastCycleTime = Timer; elseif ( self.lightState == 1 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 2; self.lastCycleTime = Timer; elseif ( self.lightState == 2 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 3; self.lastCycleTime = Timer; elseif ( self.lightState == 3 and Timer - self.lastCycleTime >= onTime ) then LoSetCommand( 175 ); self.lightState = 4; self.lastCycleTime = Timer; elseif ( self.lightState == 4 and Timer - self.lastCycleTime >= offTime ) then self.lightState = 0; self.lastCycleTime = Timer; end end endBlinkLight2.zip EVAC : French fighter school on LockOn: Flaming Cliffs Moding tutorials at C6
Recommended Posts