

CougarFFW04
Members-
Posts
528 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by CougarFFW04
-
Hi Shagrat, Thanks for the tips... I am going to investigate asap and will let you know. Thanks
-
Hi everyone, In the Mission Editor interface there is a check box allowing to hidden objet on map. When we do spawn dynamically static object, is there any option to do the same ? Thanks
-
Hi everybody What does the DCS getCountry function return exactly and how to use it. The documentation is not very clear to me about these nested enumerator... Thanks
-
Hi everyone, Is it possible to just apply a texture (defined on a polygon) somewhere on the ground DCS map without using a flat 3D textured object ? Thanks
-
Hi Guys, Not sure it is the right place to ask this question but... In the ME when I put 2 DCS native objects at the same place they appear on top oh each other (for exemple a helicoper on a house roof) When I do the same with a "home made house" (in fact got it from someone) it sinks at the ground level... Why ? Is there any option missing the 3D model ? Thanks
-
Hi, And wher can I find this MissionScripting.lua Thanks EDit : got it. Thanks
-
Hi everybody A very basic and probably stupid Lua question within DCS script. What is the procedure to write or read "whaterver" let say on my "G:/data.file" Never did that with Lua language and what I tried from internet (for exemple local file = io.open(path, "w") and so on ) doesn't work... Thanks
-
Hi Vanguard. Unfortunatly for many reasons it's Not possible to mix things. Thanks anyway. You did your best to help and this is the most important. Best regards.
-
Hi Vanguard, Thanks for coming back to me, However, I am interested by the scripted version of this action and it sounds that it is NOT available. someone will confirm. Thanks anyway
-
Hi, Thanks. Sounds it is what I was looking for... Nevertheless I have a problem... How to use it ? Don't get me wrong I amm familiar with DSC Lua scripting but from the page you linked I do not see haw to use this and I cant find it from https://wiki.hoggitworld.com/view/Category:Functions is it a setOption, setCommand or whatever ? Thanks Edit: I think this does not exist for script....
-
Hi everyone, I have a very simple question concerning AI ground vehicles dispersion. I have a artillery bataillon moving on a road to it's destination. I would like that they disperse randomly within a small region as soon as they reach destination. Is it possible and wow to do that with a script ? I would like to mention that the "Disperse under attack" is not what I am looking for as they are NOT under attack. I tried to simulated a small explosion nearby them to force them to disperse but they stay on the road... Any idea ? Thanks
-
Hi everyone, It's easy to get DCS zone position and radius but is it possible to get the color information with a lua script ? Thanks
-
May be I was not clear enough but - I want to get the name of the clone - you suggest to use the schedule function - but I cannot get the name within the schedule function... By the way I do not know what mist.cloneInZone is supposed to return but it sound that it is not the name as I cannot "print" it... Are you sure one get the name ? Edit : it is NOT the name... Got it : https://forums.eagle.ru/showthread.php?t=161689
-
Hi, Thanks for comments, I will check again for the space problem.. so actually points 2, 3 and 4 are not compatible and THIS is the problem... I am pretty sure there is a solution... Grime ??? Thanks anyway
-
Hi everybody, I am playing with the Mist functions clone, teleport... and I have a few basic questions: - The teleport function works with a table that require the groupName field. My problem is that my group name has space and it seems to be a problem... When I get the group name automatically and print it I get the right thing (let suppose that it is: Bat115 ARMOR) but mist doesn't do anything but if I put directly groupName = "Bat115 ARMOR" in the var structure it works properly... Obsvouisly it is a problem with the space character in the name..How to deal with that ? - I do not see any way to get the name of the "things" that are cloned... How can I get the name of the cloned group and is there any way to specify or change it ? - all the functions I am speaking about return a string; I do not exacly what this string is but let's suppose that I am interested to get it AND that I want to run the function in a mist schedule like the exemple: mist.scheduleFunction(mist.cloneGroup, {'groupName', true}, timer.getTime() + 60, 60, 1200) How would I get the string returned by the mist.cloneGroup function within the mist.schedule function ? - and finally a pure Lua question : in Lua there is na "wait" function. Does anybody know how to simulate de x sec pose (for exemple in a loop) that would be easy and not ressource demanding ? Thanks
-
Hi all, when I spawn dynamically a group of a few (<10) vehicles I experience a ~0.5 sec freeze when the group appears in game. Is there any way to avoid this ? Thanks
-
Hi Harcard, Thanks for the help. I tried and it works for ME build in FP but it doesn't work for dynamically in game build FP. Thanks anyway
-
Hi Installed Moose and run it at the begining of the mission. Tested (both BASE:T and BASE:I) and doesn't seem to work but I might have misunderstood what it is supposed to do... I am interested to get in game with a script the x and y coordinates of let's say waypoint 1 of a flight that was assigned a route dynamically in game (but I tested as well with a flght plan build in the ME). Is that what we are speaking about ? I do not see what the dcs.log has to do with that ? Thanks Edit: OK I see that the original message was speaking about dumping things in DCS log. Anyway any idea about what I am looking for ?
-
Hi Harcard, I do not understand this BASE:T thing.. Is that a standard DCS function ? Mist ? Moose ? Thanks
-
IMO knowTarget has nothing to do with the target designation process.
-
Hi Hardcard. It works !!! Thanks so much. The DCS coordinates are sometime a bit confusing for me as sometime y is z... You rock!!!
-
Hi Harcard, Here it is. Since yesterday I tried different things (replacing the flag at the bombing area by soldier, tanks,...) and different option concerning engagement rules and otions to face the menace but didn't get expected result. At worst they RTB immediatly, at best they engage the target when there is nothing else in the vicinity. I am looking for something that would work independantly that there are anything in the vicinity... Please try and let me know. Thanks in adance TestBombing.miz
-
Hi Harcard, Tested but actually not working. Right now I have just tested in the mission editor with a flight of 3 F15 (pilot01 to 03) armed with MK84. They are spawned at 600ft, 430knt in colonne at WPT0 which is 1.6 nm from WPT1 and 6.5nm of the target region and there is a WPT2 a little bit further with nothing special. There are also a few ground forces a little bit further of the target region just to test what's happen with them if they are in the vicinty of the ground targets. There is nothing special at the target region except 3 static objets (cible 01 to 03) i put over some 3D structures just to get their positions for the script. In the ME advanced section @WPT1 I just add the following script with the option "do command" and "script". local pil01 = Unit.getByName('Pilot01'):getController() local sol01 = StaticObject.getByName('cible01'):getPoint() local Strike_Task01 = { id = 'AttackMapObject', params = { point = sol01, groupAttack = false, expend = "ALL" } } pil01:pushTask(Strike_Task01) local pil02 = Unit.getByName('Pilot02'):getController() local sol02 = StaticObject.getByName('cible02'):getPoint() local Strike_Task02 = { id = 'AttackMapObject', params = { point = sol02, groupAttack = false, expend = "ALL" } } pil02:pushTask(Strike_Task02) local pil03 = Unit.getByName('Pilot03'):getController() local sol03 = StaticObject.getByName('cible03'):getPoint() local Strike_Task03 = { id = 'AttackMapObject', params = { point = sol03, groupAttack = false, expend = "ALL" } } pil03:pushTask(Strike_Task03) If I run the mission like this when they arrive @WPT1 yhey just go back nowhere... IF I add a task "attack ground target" @WPT1 I have to set the small triangle somewhere and in this case they behave normally as if ths srcipt wasn't there... What did I do wrong ? Hereafter a screenshoot of how it look like in the ME. As you can see the second script is not activated and as nothing to do with the problem Thanks
-
Hi Hardcard Thanks Not because of whole code (thanks anyway this can be usefull for someone else) but just a line... I always thought that the push.task (or setTask) where only possible with groups BUT not with Units... As far as I am not wrong you are aasigning the task to the differnt planes and this is the way to assign different target to different wingmen in the same group. If true you made my day!!!
-
Seems it doesn't... So useless.