Jump to content

Pikey

ED Beta Testers
  • Posts

    5698
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Pikey

  1. This is quite old, since then a few things changed. One is that the net environment was callable from the mission environment. It might spark some ideas for simplification, it might not, but I was goign through posts and thought I'd offer. https://github.com/thebgpikester/MPSG its just 70 lines long, does not need plugin environment and needs no setup, or config.
  2. There is no scripting for determining the active runway. Some are hard coded and the ones that aren't follow a rule of which way the wind is blowing to generate that. SInce you can get wind and you can observe the direction by watching AI, you can determine this like MOOSE scriopting does, but it involves work.
  3. No, tracks are called replay, but they aren't a recording, they are a step by step reincarnation of a mission that was played. When in MP as a client, no tracks will show other players as they aren't there to be replayed. For MP, look for a free mod called Tacview and for servers that allow replays (ones that dont give you a blank track) Some servers withhold tracks but you can download them from the server after some hours. HTH with the reason its a hard no.
  4. https://github.com/FlightControl-Master/MOOSE_MISSIONS/tree/develop/SPA - Spawning/SPA-016 - Ground Ops - Randomize Zones
  5. omg, you see I never knew that existed!! I was finding them through... I can't explain how i was finding/looking/searching!! Would it help to understand how people use first to be able to fix how they are failing maybe? For me I often want to scan the lot because I am trying to see if there is another function I maybe didn't consider. Not sure if that helps This one threw me, but iirc its the way it was written in the API docs just pasted in. It's weird that no one but Grimes actually updates this, I'm wondering if this is the barrier. I've updated Wikipedia more times than API docs.
  6. Very aware of the limitations of getAmmo(), thanks. It was reported on these forums several years ago, I don't have any info I can give you about that - its been discussed in Moose discord and these forums many times over the years. I'd suggest creating your own thread for your idea on the checkbox so that it doesn't get lost in this warehouse thread, thanks! et
  7. One thing I noticed when looking for a function by name, was, the routing of where to start. I've got about four pages bookmarked, class functions, singleton functions, enums which are always useful https://wiki.hoggitworld.com/view/DCS_enum_weapon_flag and the tasking one. I find that finding things and navigating is hard on the site. So I don't I just try each page for a function not realising their differences. For example. To find getResourceMap() and starting at the home page --> https://wiki.hoggitworld.com/view/Simulator_Scripting_Engine_Documentation You need to know that getResourceMap() is in the Warehouse class to click --> https://wiki.hoggitworld.com/view/DCS_Class_Warehouse Then this isn't a list of functions, in fact, its not listed as a member function? It's a static function, whatever that means and its lower on the page. For idiots like me at least, a big bucket of functions would make more sense than different pages that don't make sense. Maybe just understanding why they are split could help me to find what I was looking for? It probably makes sense to someone, and I don't have great ideas on a different way of doing it, so I apologise, but I think it's hard to navigate and find things.
  8. the string is weapons.missiles.AIM_9 for the 9M. It's an anomaly for sure. Once you have a look at the print out from the warehouse it should be easy to use. hth.
  9. These, like many API commands aren't mirrored in the Trigger actions. Trigger actions pertain to DCS Worlds standard mission-as-a-session format. With extended missions it reaches beyond your typical one session scenario and I would say this is aimed at long running or multiplayer missions to make the best use of it. For the Airbase API commands that werent mentioned in the change logs, you can use the TRIGGER DO SCRIPT and write the command directly, thereby using the same mechanism of having no script file (albeit, its the same thing) You can also copy scripts into these triggers to make them a trigger, so its a bit of a blurred line. Unit:getAmmo() returns wsTypes() afaik? If so then then the wsTypes is an enumeration that misbehaves and changes so its not good for use. However, may I introduce you to getResourceMap() released today which translates wsType to friendly name and makes your life much easier? If you use getInventory() on the warehouse you will get friendly names like SWS.SimpleWarehouse["Kobuleti"]["weapon"]["weapons.bombs.AB_250_2_SD_10A"] = 100 the wsTypes is a 4 letter code where the last two aren't always the same. That API feature can fix this issue you speak of.
  10. Technically you can add the weapons and fuel at spawn time to keep AI going when there is nothing left in the WH, but really the better option is to granularly handle the players pylon by pylon which has been requested a long time back. I'm hopeful that if we all say thanks, then we might get such a gift again and some sort of pylon checking will eventually come.
  11. Download from https://github.com/thebgpikester/SWS Put it in your mission, Run Once DO SCRIPT - SWS.lua PREREQS Requires lfs and io desanitized from missionscripting.lua. No 3rd party SSE like Mist or Moose required. WHAT IT DOES Gets the contents of all DCS Airbase warehouses in the mission and saves them to file. Reloads from the save every mission. (no prompts) USAGE Load this script at mission start as a DO SCRIPT. By default, DCS sets unlimited warehouses. Set some warehouses to have limited contents by clicking on them in the Mission Editor and unchecking 'Unlimited' next to any of aircraft, fuel and weapons. Set a fixed limit amount. Optionally, setup supply chains as per pg 104 DCS user manual EN 2020.pdf in your main DCS installation\Doc folder. CONFIGURABLE ITEMS SWS.filepath = lfs.writedir().."SimpleWarehouse.lua" You can configure a custom directory for the save file here if needs be. SWS.updateDelaySeconds = 60 You can change the timer interval for the saving of warehouses here. Now the waffle Administrators and mission makers can now consider warehouse contents in their mission creation flow. Previously we only used "unlimited" warehouse resources such as fuel, aIrcraft, and weapons because we had no way to save, persist, add or subtract from the DCS warehouses. Now we do. For a primer on how some of the weirder things work with the DCS Resource Manager, see For the documentation, see pg 104 DCS user manual EN 2020.pdf in your main DCS folder. There really is a lot to this hidden gem. The usecase for the script is that rather than set pacing of how an extended mission that runs for days works out, the AI is restricted by what is in the DCS Warehouse. There's several ways you can accomplish a "logistical win-lose" mini game in DCS mission editor: - Use the existing Resource Manager, set finite limits, no supply chains - first one to empty loses. - Use DCS Supply chains from warehouse to warehouse, empty the enemy coalition warehouse before you are crippled. - Use finite limits and add your own supply chains using the new API functions to add and remove fuel, units, weapons. - Use fantastic mods like the Hercules mod (soon-to-be-a-thing) and just your own plane and inventory to add resources to a warehouse by landing at the desired aifield and releasing control of the airframe and going to spectators. - Use AI to land at the desired airfield and shutdown, which achieves the same thing by adding the fuel, airframe and weapon loadout to the airbase warehouse. As a parting thing, I'd expect to see this used slowly at first because its a major Server design paradigm shift. Most people have their existing methods. You should see mods like DAWS freely embrace this, with hope, MOOSE may pick it up and utilize the new API functions. Its very easy to create a F-16 factory and having realistic bombing targets now. We relaly need bombing, but previously it was kindda pointless. Happy scripting.
  12. Thanks ED, definitely a big directional change to support the foundations of the core things people love to use out there. ALready written a persistent warehouse system from this: https://github.com/thebgpikester/SWS SImple Warehouse Saving.
  13. It's being played right now. The sands swirl around the post-apocalyptic barren desert that used to be called Syria. A long fleet of mish-mashed vehicles made from Toyota's, Hyundais with fabricated armor plates rocket systems bolted on their backs, and ex-Soviet material, trundle around an old deserted military airfield, once the mighty Syrian Arab Army's holdings, now up for grabs for anyone in an F-14A they found in a lockup. The sand storms maybe switched off, but in every other respect you are looking for 4YA's PvE servers.
  14. Damn that's five years ago. A lot has changed. And a lot hasn't. 'A degree or ten years relevant work experience'
  15. The legacy of fc3 will live beyond mac i feel. Theres folks in this thread defending their favourite jets and their favourite adversaries. I cant believe ed would remove them either when their presence on servers is effectively optional. As long as their are multiple opinions fc3 is staying alongside. But i dont share the views on restricting fidelity in some sort of attempt to crank more volume of modules out the door. Other games do that, ed is not copying them. Eagles business has long been stated to aim for the most realism possible. Yeah...it takes lifetimes. Sure, we all get frustrated. Yes the redfor limitation is sad. Thats why i personally have a bit more hope for the older and simpler stuff, but never to the exclusion of any part of dcs. I remember the vitriol in the forums when the P51 was announced, back when my kids were still in primary school. Folks bring back the same argument about the Corsair and forget that a thousand miles is started with a single step. MAC wont divide anything. It will just give some folks a better home or a nicer launch pad into the big modules. We need more people to stick around and buy those modules, to buy more developers, to speed up dev time, so we can live long enough to see whatever module is our own favourite. Thats the only way we win. I hope eagle shares more news for you soon.
  16. I had this last night. There wasn't a reproducible sequence I could see, but its characterized by the azimuth bar number moving impossibly fast and the sweep itself disappearing. Off and on didnt fix, I dunno how you managed to get out of it, or what it is yet.
  17. Camp David accords really changed the orbats of this theater - 1-3 billion USD per side from 1982. So its all in the date as to what to expect. Egypt is fairly easy to work with. DCS has it's limitations with SAM group composition that makes it work, but actually you do see search radars in these installations also, sometimes. Typically on the copy/paste SA2 sites the tracking radar is on the large elevated center building, the launchers around then you have 1 or two elevated ramped sites for a combination of Search radar or EWR. The crosses with four bunkers are for a SHORAD unit, the missile storage and loader wagons are sat in the corners of the site. For DCS you can swap between systems 2,3,6 at will and I've even done the setup with the S60/S57+firecan for an anti air artillery battery (which is woefully underused online, come on guys, get with the FUN)) I don't think I will do a template this time around because at least in Egypt's case, a lot of these sites are dummy sites and they will have mixed things up as you would expect for any military force. People creating battlespace templates should attempt to use SAM templates that switch between live and offline/dummy at mission start. For Israel, only thing I noticed was that the Patriot system launcher sites have berms that are in the wrong directions - i.e. they dont shield the blast. I coudlnmt work out how to orient them as Patriot is a very 'pointy' system that should always be lined towards the threat axis.
  18. So the way heuristics work is that if a file hash has never been seen before by an antivirus, it reports it as suspicious because it doesn't know any better. The logical minds would say: Does my antivirus know better about a file its never seen before, or Do I know better about a file I've never seen before? This happens every month.
  19. The glint, or the "flash" of a reflective surface like a canopy is sorely missed, It's something that when flying you really notice as a blinding difference in the world compared to the sim. Anyone that's ever gone to an airport and looked down at the parked cars on a sunny day only to get frazzled by a reflection will tell you. Also, I've noticed reflections from locations dozens of miles away at the limit of the haze that a car screen or mirrored surface has a huge range it can go through.
  20. I can confirm sporadic comments over the years about this phenomenom. It messes up a lot of in/out detection. ALso... Ive never seen a world search done with a square world.VolumeType.BOX any takers to see if this is reliable?
  21. Your biggest value proposition comes from the people who evangelize your product.

    A Community Gives Buyers Confidence to Pull the Trigger
    - A large fanbase will give others confidence in purchasing

    A Community Reduces Time to Value
    - A community helps support your product and reduce costs

    A Community Makes Your Product Better

    Give your community the tools it needs and it will pay you back tenfold.

  22. fyi the MOOSE creator logged this in 2017 He quit DCS waiting for it. I'd recommend not waiting, for your own sanity. I use the Birth event personally then do the working out from there.
  23. The AN/ASQ-213 HARM targeting system was shipped in the 2000's, and is not a Radar Warning Reciever. It catalogs and triangulates emissions against a mapping system that fine tunes the location in 3 dimensions over time, beginning with several miles of possibility and getting down to high precision in range and azimuth depending on the aircraft movements, which allows missiles to be optimally flighted for range and direction for Harms GPS modes. What I said was that the RWR is more accurate in Azimuth than it. The plane we are referencings against is from exactly the same decade. Thank you for reading carefully.
  24. I think the release is worthwhile Taz, as its basically a demo of 'what could be', for customers to get behind the value of optimization that you raised oh so long ago. I don't think you can or want to keep it updated, I've not seen two releases that didn't have changes in this area and people need to keep their expectations very low. But having done this and allowing more than just a few voices on the topic is a good thing for the general objective. It's good that you have been so passionate about this topic, it's the only thing that makes changes around here. I've no idea what the ED impact is so far, if they decide to go back over them and convert them we will all know if that happens.
×
×
  • Create New...