

spinter
Members-
Posts
438 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by spinter
-
Probabilmente ho fatto una merdina di script ma voi potete darmi una vostra opinione? http://forums.eagle.ru/showthread.php?t=126327
-
http://forums.eagle.ru/showthread.php?t=126327
-
Drop 1.0 Lavoravo spesso con un elicottero AS350 B3 ,naturalmente non ero io il pilota ,ed mi sono sempre piaciuti i lavori al gancio,ho creato questo script,cosa ne pensate?ho messo una missione di esempio provatela se potete grazie!! Sorry traslated by Google I worked often with an AS350 B3 helicopter, of course I was not the pilot, and I've always enjoyed working on the hook, I created this script, what do you think? Mission I put a sample if you can try it thanks!! --name_f10_command = 'Transport' -- Name F10 List Default Transport --Group_flight = 'New Helicopter Group' -- You UH1-H Name Group Sample: New Helicopter Group --name_pickup = 'New Trigger Zone' -- Name pick up Trigger Zone Sample: New Trigger Zone --name_destination = 'New Trigger Zone 2' -- Name Trigger Zone Default New Trigger Zone 2 --radius_centre_sound_direction = 180 -- Radius to centre For Sound Direction Default 180 --freq_signal = 32 -- radio Transmission FM beacon pickup and destination is + 1 Default 32 --smoke_color = 1 -- Smoke colour 1 Green 2 Red 3 White 4 Orange 5 Blue Default 1 --smoke_drop = false -- true smoke on loading area Default false --smoke_destination = false -- true smoke on drop zone Default false --set_internal_cargo = 300 -- kl Cargo Default 300 --max_amount_drop = 1 --flag_drop_create = nil -- number flag to active to ends drops to zone destination Default nil nil = none active flag --info_message = -- info message Distance BRA Wind Default true --startup_message = 'Here you enter your initial message important! do not use special characters!' Call function: Sptool.start('Tran','New Helicopter Group','New Trigger Zone 1',' New Trigger Zone 2',180,34,1,false,false,300,1,1,nil,'Breifing test')1 namedisplayed by pressingF10 2 namehelicopter 3 name of the triggerzones'load cargo' 4 name of the triggerzones'destination freight' 5 Distance the sound notification voice direction to take 6 loading and unloading cargo unloading sample 32 33 nil no transmission 7 Color Smoke 1 Green 2 Red 3 White 4 Orange 5 Blue Default 1 8 SmokeLoadOffdisabled 9 Smokedestination true or false 10 weight of the load 11 How many timesyou wantthe transport iscarried 12 Flag that you want to use to activate something done every time a transport is increased by 1 13 info message Distance BRA Wind 14 'Here you enter your initial message important! do not use special characters!' You need to createin themissioneditor: ----------------------------------------------------------------------- Call Drop.lua ONCE TimeMore (2) DoScriptFile n :1 helicopter UH1 n: 2 TriggerZone Copy the folderSoundinyoumis.miz options: numbercargo = 10000 is a global variable that is used to create the cargo you can edit it to your liking, the important thing and call it god before Drop.lua load. Default is numbercargo = 10000 do not need to call it if you do not exceed 10,000 items Drop.zip
-
Thank you you are very kind!
-
Scusate chiedo cortesemente se posso usare e modificare parte del codice mist per poterlo usare nei miei script,vorrei sapere se e possibile! Traslated by Google! Sorry politely ask if I can use and modify the code mist to use it in my script, I would like to know if it is possible! posto un dei esempi del codice che dovrei usare! a place of the examples of code that I should use! function getCountry(groupName) local i,j,k if env.mission.coalition then for coa,coaTable in pairs(env.mission.coalition) do if type(coaTable) == 'table' and coaTable.country then for i=1,#coaTable.country do local country = coaTable.country[i] for uType,uTable in pairs(country) do if uType == 'helicopter' or uType == 'ship' or uType == 'vehicle' or uType == 'plane' then if type(uTable)=='table' and uTable.group then for j=1,#uTable.group do local group = uTable.group[j] if group.units then for k=1,#group.units do local unit = group.units[k] -- if unit.name and unit.name == groupName then -- return group.name--country.name -- end if group.name and group.name == groupName then return country.name end end end end end end end end end end end return nil end
-
se vieni qui da me c'è ne sono più grandi e vere!
-
excuse can or can not use it?
-
thank you I would like to know if I can use this function in my script without using mist?
-
New miz Cargobug.miz works seamlessly with Russia and the U.S., other country-Game Crash! cargobug.miz DCS-20140521-153255.zip
-
and can you help me?
-
I have a problem I would find it before you can create the helicopter? is possible?
-
local unit = Unit.getByName('Pilot #1') local unitCountry= nil if unit ~= nil then unitCountry = unit:getCountry() trigger.action.outText(unitCountry, 20) end
-
sorry my eng country and can be derived from the helicopter? get country from uh1?
-
I think they should be given an explanation!
-
for get direction wind function get_wind(unit1) local BRA = nil local wind = nil if Unit.getByName(unit1) then local pos1 = Unit.getByName(unit1):getPosition().p if pos1 ~= nil then wind = atmosphere.getWind(pos1) local dir = math.atan2(wind.z, wind.x) * 180 / math.pi if dir < 0 then dir = 360 + dir end BRA = dir end end BRA = string.format("Wind: %d, y: %d,", BRA, wind.y) return BRA end trigger.action.outText(get_wind('Pilot #1'), 2)
-
ragazzi è solo una parte dello zoo105 scusate!!! tu se. un f.... di p.. hahahahahahaahaha
-
Get alt: height from the helicopter to the ground
spinter replied to spinter's topic in Mission Editor
grazie chromium avevo capito,ma devo trovare un metodo! -
Get alt: height from the helicopter to the ground
spinter replied to spinter's topic in Mission Editor
the problem and that the buildings are not detected! -
could you also tell me to find the direction and velocity?
-
Radar Altimeter get Alt from the helicopter to the ground including buildings?