strikers_blade
Members-
Posts
166 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by strikers_blade
-
Pretense - Dynamic Campaign
strikers_blade replied to Dzsekeb's topic in User Created Missions General
Thank you sir, that was it. -
Pretense - Dynamic Campaign
strikers_blade replied to Dzsekeb's topic in User Created Missions General
Hey guys, Probably a dumb question but one of our members was editing the mission to see if the Hercules would work on the mission and while it doesn't crash the game, the cargo door is not being detected when it is time to load some cargo. Anything we are missing here? p.s. I searched the forums without luck so far. -
In my quest to use less triggers as possible in the ME (so it is easier to copy/paste missions throughout the different maps), I started working on eliminating the "do script file" action by the assert(loadfile("C:/Scripts/xxx.lua"))() via the doscript action and it works pretty good. Instead of using a dozen DOSCRIPT FILE, I just use one DOSCRIPT and include all the .lua in the same trigger. Now, I was reading through the forums/google yesterday and noticed that some people are saying you should use temporarily. Is there a reason why? I am assuming using it would mean your .lua files are not incorporated inside the .miz so a smaller mission file and some protection to your own mission "copyrights". Is there something I am missing here? Going along the same topic, could/should I do the same things for the other missions I want to load through the menu RADIO (example, I have a radio button allowing me to load the night version of the same mission). note: It is for a dedicated server.
-
Where can we get more information regarding the ME updates and upgrades? I noticed in today's open beta update that we can now have a password for a coalition but could not find anything in my WEB GUI regarding the coalition password. I found the password protection inside the ME itself for the units and roles but that is about it, nothing else protecting the whole coalition on the server.
-
necroposting...almost. I also have issues with the way the grids are taken. For instance, MOOSE script uses that kind of coordinates; { [1]={["y"]=242140.57142858,["x"]=-6478.8571428583,}, [2]={["y"]=242188.57142858,["x"]=-6522.0000000011,}, [3]={["y"]=244124.2857143,["x"]=-4344.0000000011,}, [4]={["y"]=244068.2857143,["x"]=-4296.5714285726,}, [5]={["y"]=242140.57142858,["x"]=-6480.0000000011,} }, }, How was that converted to a regular X and Z format from DCS ?
-
Very simple in fact: Be able to build a standard FARP with refuel, re-arm and CARGO capabilities. As of now, the code allow a FOB to be built and it gives you the cargo feature (CTLD in the menu RADIO - Thanks to Ciribob/Moose) , not the re-arm and refuel features though. So you would think having the other vehicles like the M939, HEMTT, etc would get the job done but it doesn't . So I thought about being able to cargo a "FARP" unit but apparently, it is not that simple because of the frequencies and other FARP related features. This is where I am now...digging for more information
-
@cfrag , Another question for you; Can the FARP be scripted? Not just the vehicles but also the helipad itself? Last time I read about this, it could not be done but that was discussions dating 2-3 years ago and since DCS updated, perhaps you found new "options? CTLD can build FOB but not FARP as far as I know.
-
Another newbie question from me; I am trying to transfer the ME triggers into script. One of those trigger is the trigger.action.setUserFlag and also it's trigger.misc.getUserFlag counterpart. So for a flag I make true in ME (example flag 700), I would get something like trigger.action.setUserFlag (700, true ) in the .lua file. To be able to read it now, I would just use trigger.misc.getUserFlag(700) to read the same flag. So to put this into context, here is a little example; function easy_mission() trigger.action.setUserFlag (700, true ) end So here is the question; What is the proper way to retrieve the flag #700 information? I looked at MIST, MOOSE, CTLD and all other major source and none of them are as simple as just doing a trigger.misc.getUserFlag(700). Can I just do a IF trigger.misc.getUserFlag(700) == true, then XYZ end or do I absolutely need to handle it more like a local mission1 = trigger.misc.getUserFlag(700) IF mission1 == 1, then XYZ end
-
I am not totally sure you are trying to replicate my issue; So I basically want the SAM to go LIVE, the incoming jets to get "locked" and the SA page to see the radiating zone of the SAM but at NO TIME, the launcher to shoot their missiles Is it your objective too? (the radars alone won't do anything without a launcher) If so, @Nick_17 wrote a little something for it (Thanks Nick btw ) SAMControl.miz
-
I have been looking around for a solution and can't find it. Status: I have a SA-2 and SA-6 on the ground with only the TR and STR and one launcher. My airplane is flying at 20 000ft. Purpose: I want the SAMs to detect the airplane, the plane getting the EW and SA signals BUT the SAM never to launch or self-destruct its missile perhaps. This is for training purpose. Problem, regardless of the actions I assign in the ME (i.e. ROE, Alarm state, etc), the SAM will only work if the radars and the launcher are together. Without the launcher, the radar don't do anything anymore. I tried incompatible launcher/radar combos. I tried other vehicles (i.e. OSA-8, Shilka, Gryphon, etc). Question: Are there any ways to achieve what I am looking for? Is there a way to get the launcher's missile to self destruct ?
-
I got two silly questions: 1. Is there a list of associated "shapename" and "cargotype" available anywhere for the DCS objects? 2. What is the best way to bring closer the "spawned" crate regardless of the position of your helicopter inside the "pickzone" ? I want the crate to spawn closer to the helicopter instead of the 75-100ft away from it (forcing a "cleared area" for pickup to be bigger) Adding an offset to x and y can't work (unless I am doing it wrong). ---------------------------------- _crate = { ["shape_name"] = shapename, -- Shape of the crate ["type"] = cargotype, -- Type of crate -- ["unitId"] = _unitId, ["y"] = _point.z, -- Position of the spawned crate y axis ["x"] = _point.x, -- Position of the spawned crate x axis ["name"] = _name, ["mass"] = weight, ["category"] = "Cargos", ["canCargo"] = true, ["heading"] = 0, } ----------------------------------- Any help is appreciated.
-
"trigger.action.marktoall" visibility syntax problem
strikers_blade replied to strikers_blade's topic in Mission Editor
Are you %$#@%$# kidding me?! man, that was so newbie on my part !!! Thanks @dark_wood . I am retreating to my basement in shame now -
"trigger.action.marktoall" visibility syntax problem
strikers_blade replied to strikers_blade's topic in Mission Editor
My apology @dark_wood . I load 3 scripts at the mission start; Moose, MIST and my TargetMenu (which include the EWRS - Thanks Bob7hebuilder). From there, I spawn the tank from the F10 menu and the script goes from there (line 728 of the targetmenu.lua) test_marktoall.miz -
"trigger.action.marktoall" visibility syntax problem
strikers_blade posted a topic in Mission Editor
My apology for the newbie 101 question here. I am trying to put a markToAll on the F10 map as soon as my "tank" is activated. The spawning is working as it should. Problem is the mark appears regardless if the "tank" has been spawned or not. The way I understood is if the "tank" is not on the map, mission1:isExist() == false. Where am I wrong? -------------------------------------------------------------- local function softmenu() Spawnsoft = SPAWN:New( "tank" ) Spawnsoft_Group = Spawnsoft:Spawn() end mission1 = Group.getByName( "tank" ) if mission1 and mission1:isExist() then local Vec3 = mission1:getUnit(1):getPosition().p local GroupID = mission1:getID() trigger.action.markToAll( 1, "Mission #1", Vec3, GroupID ) end -
How to respawn a unit/group if they have been despawn?
strikers_blade replied to josh-109's topic in Mission Editor
If the unit dies yes...but if you deactivate or, explode or destroy the unit, the mist.respawnGroup will not work....unless I am doing something wrong. -
How to shuffle the *.miz at a "load mission" ?
strikers_blade replied to strikers_blade's topic in Mission Editor
Indeed, that is a good way to do it, I was just looking for an easy and quick one liner Building one using your idea will work as long as the other missions are already pre-loaded in my flag listing and if the mission names don't change. So definitely doable, just more management on my side. Thank you sir for the feedback. -
I searched the forums, hoggit and google without luck. I am looking for a "load random mission" feature similar to what the ME "load mission" action offers. THIS IS NOT about in game missions but rather the .miz loading. Hoggit mention the load_next_mission (https://wiki.hoggitworld.com/view/DCS_func_load_next_mission) but that is pretty much it. Any of you ever coded such feature (or I am just dumb and it is already available in plain sight ) Any help totally appreciated.
-
Is there an easy way to despawn every unit of a specific country/coalition? I am asking because I am spawning several missions (through the F10 menus) and seems the be the cleanest/easiest way to wipe/reset them all up (assuming there is a function). From what I found so far, the destroy() function will not do it and will not allow respawns afterward.
-
Landing to Refuel and Rearm - The LandingReFuAr waypoint
strikers_blade replied to JDingo's topic in Mission Editor
@JDingo Thanks for all the information above. I tried it and unfortunately, seems to have issues with a trial with Apache (mission attached) Did I miss something? test_apache_CAP.miz