Jump to content

TEMPEST.114

Members
  • Posts

    1724
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by TEMPEST.114

  1. Can you post screenshots of all the triggers involved?
  2. Yeah, 'Saving to template' doesn't do much other other units and positional relationship to each other. It's very, very limited. It doesn't retain facilities on the carrier, freqs, or anything really. It really should be storing the state of everything you've set as part of the template group. That's the whole point right? To save time doing repetitive group setups?
  3. I'd like to create both UI elements for the mission editor and for in-game using the DCS UI tech; but it's so confusing and seems overly complicated. Has anyone reverse engineered this and understands it enough to help give some pointers? Like how can I draw a circle of my own colour and alpha on screen where I want it to be? How do I get the mouse pointer to interact with it? Anyone?
  4. Yes of course to what? I asked several questions. To which are you replying to and can you elaborate further?
  5. Yeah, this was all before I learnt scripting. I still say that it should be covered in the ME 'without' having to use scripting. But yeah, I am able to do this now. Thanks.
  6. Seems it's the altitude. I can't drop from 40,000ft like I'd like to. I have to drop from 16000 and below. Is this a figure set somewhere in the mod or hard coded in DCS due to wind/projectile physics <lol> etc?
  7. I tried that too, thinking it was the munition type, and they still wouldn't drop. Are the 'bomb points' bugged like the embark/disembark points are, in that they mustn't be moved from the inside of a waypoint's circle? Is there some minimum distance from the waypoint that the bomb point has to be for them to work?
  8. I've set their alt to 40000, spd 420kts, I've got a waypoint about 5nm before the target with a waypoint action of 'Carpet Bombing' above 40000 and release auto with a spread of 50ft, and another waypoint in the same direction about 5nm past the target area to keep them on track as they drop. They don't even open the doors. They are AI set to Ace. They are dropped 80 GBU 38's Where am I going wrong? I've seen videos on YouTube with this aircraft doing carpet bombing but I can't get it to work.
  9. You do realise it’s my script calculating the exact point I want to send the infantry to (as shown by spawning the flag there) you won’t accept scripts in missions. So, this can be done by hand easily by placing the final infantry waypoint at the door of the helo or at a flag on the ground and then watch the ai pathing screw it up. This is something even the person who originally wrote the pathing code should have instantly seen was broken the first test they ran. I can give you a track with no script and a final waypoint somewhere they won't stop at if you'd like? But the devs can just as easily do it in 30 secs themselves.
  10. Are you trying to do this to a CLIENT in a MP server / mission? If so, you can't (for some unknown and ludicrous reason) do any cockpit or failure changes to CLIENT aircraft. If you're in SP, then I'm sorry I have no idea. I never make SP stuff.
  11. @upuaut Do you have any idea why this mod might be crashing 2.8 open beta? My clients and I are playing and we're getting CTD's on entering the HUEY, but usually on the respawn not first entry. We all have this mod enabled.
  12. I'm still not sure I understand. You're still talking over my head. I tried adding this: _G["myNewData"] = someData in messagesHistory.lua and in myScript.lua I tried: local retrievedData = _G["myNewData"] but dcs.log gave an error on the line in messagesHistory.lua saying 2022-12-24 13:22:37.358 ERROR LuaGUI (Main): [string "./Scripts/UI/messagesHistory.lua"]:156: attempt to index global '_G' (a nil value)
  13. @Grimes I'm following up on this. In your MIST examples, you mention about de-sanitising DCS to allow 'io' and 'lfs'. Is it impossible to write to and read from the _G table without de-sanitising? If it *is* possible, how does one do it?
  14. I read somewhere that DCS runs each script in a protected space; does that mean each script is atomic and if it blows up it won't take the rest of the scripts down, or does that mean that all scripts are lumped together in a protected space that won't bring the sim down? I ask, because there is a script 'messageHistory.lua' in the UI folder that I would like to add in a line to pass a string to my script which will be loaded and running from the .miz. Is this possible? The other option i've seen is the Viacom overkill solution of intercepting stuff and passing it via UDP to your own app and then passing that to scripts. That seems overkill and excessive for access to just one string.
  15. Confirmed on latest open beta, by two players, both in 'Instant action' missions. Needles on gauges flicker around and aren't smooth or steady and ball is bouncing around like a loon all the way to the right, even in straight and level flight.
  16. My squadron mates are having the same issue since 2.7 and it happened again to me tonight on the latest openbeta. Regardless of module. Usually happens after a change of slot but not always. The keyboard will bring up the menu, but the bound joystick button will not; it WILL activate the ingame radio (i.e. show the upside down triangle in the Hornets UFC) but no on-screen Radio Menu is displayed. It's intermittent, but never comes back to the player once it's gone until they restart DCS
  17. Has anyone had any crashes with this 2.0 version since 2.8 open beta came out?
  18. I don't know if you know any other programming languages or scripting languages but PCALL is kinda like a try catch, kinda. Here is the documentation: You can use it like this: function safelyCall(func, args) local success, result = pcall(func, args) if not success then --log, try to determine why it failed with the 'result' variable or just fail gracefully return 0 else return result end end function divide(a, b) return a / b end function catchDivideByZero() local result = self:safelyCall(self:divide, { 4, 0 }) -- print / use result end I've just done this from memory without testing so I can't promise it's perfect, but it should give you an idea on how you can best use it. Hope this helps.
  19. 'The Night Witches' is a friendly server for female (cis & trans) DCS Players to meet, fly, practice & learn together in a supportive and friendly environment. This is a women-only server, but from time to time guest male pilots may be invited to share their skills and expertise as associate members. Please consider joining our Discord Server. We're a new group (as of Dec 2022) but as the first all women's DCS Squadron we hope to build and grow. https://discord.gg/WtAjsnQGKK Look forward to meeting you!
  20. Then why is it usually only the lead unit that goes off on one, and most just stay put where placed?
  21. Isn't that something you can just do in a normal script you load in a .miz file? What's so special about the Hooks directory?
  22. Is there a tutorial or any documentation on what you can do by putting a script in there and what you can get access to?
×
×
  • Create New...