ESAc_matador
Members-
Posts
1605 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by ESAc_matador
-
So A to A TACAN still unavailable between mirages?
-
Complete Transport and Logistics Deployment - CTLD
ESAc_matador replied to Ciribob's topic in Scripting Tips, Tricks & Issues
It works!!! How to stop lasing without destroying the target? I tryed ctld.cancellase(Group.getByName(jtacgroup) and doesnt work. Curious... -
Complete Transport and Logistics Deployment - CTLD
ESAc_matador replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Sure! I ll let you know. -
trying to get lat/long of ownship in export.lua
ESAc_matador replied to steve2112's topic in Mission Editor
I use this First, instala the mist vía do scripr file. local enemyname = unit:getName() local unitpos = mist.getLLString({units = mist.makeUnitTable({enemyname}) , acc = 2,}) -
Complete Transport and Logistics Deployment - CTLD
ESAc_matador replied to Ciribob's topic in Scripting Tips, Tricks & Issues
If you see my script, this is the function I am traying to use. Unsuccesfully, but let me ask you... this, _enemyUnit, _jtacUnit, _jtacGroupName, which format have?? I mean, string of the name? or getbyName(x) or what? In my script, I did "jtac.getName()", "enemy.getName()" and so... -
Also, keep it pushed always during taxy, only release when the aircraft is going stright. An only touch the pedals when you are already going.
-
Dont need the radar. Radar is just a tool to help to know we're they are and if you are in range. Also it help assisting with the pipper.
-
Our wife... because I think mine is the same too, is a fascist! Let's pack her!
-
I would prefer couple of good pics actually.
-
I work this way too. AwACS or EWR with the EWRS script.
-
They are spanish and they have very good resources to do it. I wouldnt make sense for them to go for another version. The skins wint be a priblem, the weapons probably will be more difficult to get french ones if they havent been used in Spain. Make sense.
-
I must be doing something wrong.My squadron mates confirmed it works perfect. I ll check in a week or so.
-
Complete Transport and Logistics Deployment - CTLD
ESAc_matador replied to Ciribob's topic in Scripting Tips, Tricks & Issues
Hi Ciribob. I have a question, I am expanding my C4SIR script for ground units. I want to make a lasing script but my approach will be different. Via radio Menu F10 yo can load every single unit that are LOS from your lasing group. I already did the most dificul part, new menus are displayed in the radio menu, with groups, and by selecting each group you can select specific units. Now I have all data, lasingunit, targetunit, groupunit. What I cant find information, is how to make one unit to lase another one via script. I saw you have a ctld.unitlase, but I am unable to make it work. Question.... which order should I give to a let say "jtacunit" to lase "targetunit". Could I use your ctld function mentioned if I put the parameters? I tryed but I dont see the marker at nigth. Any lead? this is what I wrote, an all parameters in red works. function table_count(tt, item) -- To count doubles in a table local count count = 0 for ii,xx in pairs(tt) do if item == xx then count = count + 1 end end return count end function table_unique(tt)-- to remove remove doubles in a table local newtable newtable = {} for ii,xx in ipairs(tt) do if(table_count(newtable, xx) == 0) then newtable[#newtable+1] = xx end end return newtable end _path1 = missionCommands.addSubMenuForCoalition(coalition.side.BLUE,"Ground units", nil) _path70 = missionCommands.addSubMenuForCoalition(coalition.side.BLUE,"Lasing", _path1) _path71 = missionCommands.addSubMenuForCoalition(coalition.side.BLUE, "Targets",_path70) do local redunits = mist.makeUnitTable({'[red][vehicle]'}) local bluelasinggroups = {'lasing1', 'lasing2'} for k, v in pairs (bluelasinggroups) do local _lasinggroup = bluelasinggroups[k] k = _pathj _pathj = missionCommands.addSubMenuForCoalition(coalition.side.BLUE, _lasinggroup, _path71) -- creating a Lasing unit group. local _group = Group.getByName(_lasinggroup) local _groupname = _group:getName() [color="red"]local _jtacunit = _group:getUnit(1):getName()[/color]-- lider of the group local LOSData = mist.getUnitsLOS({_jtacunit},2,redunits,2,10000) local lasetargets = {} for k, v in pairs (LOSData) do local tabledata = LOSData[k] for j, w in pairs (tabledata.vis)do local targetinLOS = tabledata.vis[j] lasetargets[#lasetargets+1] = targetinLOS end end local lasetargetgrouptable = {} -- table with all units-groups for k, v in pairs(lasetargets) do local unit = lasetargets[k] local unitname = unit:getGroup() lasetargetgrouptable[#lasetargetgrouptable+1] = unitname end local tabletarget = table_unique(lasetargetgrouptable) -- all duplicated groups removed for o, p in pairs(tabletarget) do local group = tabletarget[o] [color="red"]local groupname = group:getName()[/color] local targetgrouppos = mist.getLLString({units = mist.makeUnitTable{tostring('[g]'.. groupname)} , acc = 2,}) local unitsingroups = group:getUnits() local tabletypes ={} for i, j in pairs(unitsingroups) do -- To see what is the higher threat... I local unit=unitsingroups[i] local unitnames = unit:getTypeName(unit) tabletypes[#tabletypes+1] = unitnames tablesingletype = table_unique(tabletypes) end o = _pathU _pathU = missionCommands.addSubMenuForCoalition(coalition.side.BLUE,"Enemy LL-"..targetgrouppos.." type-"..table.concat(tablesingletype, ", "), _pathj) for i, j in pairs(unitsingroups) do -- local unit=unitsingroups[i] local unittypenames = unit:getTypeName(unit) [color="red"]local enemyname = unit:getName()[/color] local unitpos = mist.getLLString({units = mist.makeUnitTable({enemyname}) , acc = 2,}) [color="red"]codelaserused =1688[/color] [color="Red"] missionCommands.addCommandForCoalition(coalition.side.BLUE, unitpos.." "..unittypenames, _pathU, [/color][color="Red"]function () ctld.laseUnit(enemyname, _jtacunit, _groupname, codelaserused) end[/color], nil) end end end end -
I am afraid it will be the Spanish edition, either it is good or bad... ;)
-
Ask to the A4 Moddershall guys... They were working into this. They may have a solution. But I am afraid, it is not mission editor thing but tweaking the FM.
-
Mi8 Yes, the radio works but if you change the channel, it remains in 21.500 FM
-
Take off in formation with one AI plane
ESAc_matador replied to wernst's topic in User Created Missions General
If in any case you want to take off with AI, start from ramp, follow him, and get next to it before take off. Following the AI is a bit tricky, they are everything but smootherwise in their turnings. -
Mi8. Moving the channel selector of the FM radio it does not work. Or I don't know how to do it.
-
Chucks manual. Before take off switch the nose up. At the left. And always 5 6 points of trim up if overloaded put more. There are some tables. Flaps in auto everytime for starting point. It is little more complicated than a sabre... just little more.
-
What about, making a trigger zone. Would be interesting a function, mist.teleporttopolyzone(groupteleported, groupdefiningzone)
