Jump to content

firefly2442

Members
  • Posts

    32
  • Joined

  • Last visited

Everything posted by firefly2442

  1. Is the sourcecode on Github (or someplace else)?
  2. Lol, I need to hop on and play with you guys again. :thumbup:
  3. Mission: Alamo Type: Multiplayer (6x A-10C, 2x Su-25T) Version: 0.5 Tested and Generated On: DCS 1.5 beta Download: https://www.dropbox.com/sh/oyt3u4nnuv986hh/AACKd66Lxqjy6DUt0CgbLkW9a?dl=0 This is my first mission for DCS (be kind :)). This is a rebuild of an older mission that I started that used triggers. The entire logic system has been replaced with MIST and LUA code. The mission features 27 unique radio messages, a few objectives along the way, and basic stat tracking. If you find a bug, let me know! Thanks To: -Grimes for helpful suggestions on the forums regarding LUA scripting -MIST developers Situation: The city of Krasnodar has seen significant rioting recently. The US marines at the embassy inside the city have been put on alert. We have reason to believe certain radical elements are planning to attack the embassy or the roads in and out of the city. As a precautionary measure, we are evacuating embassy personnel to Krasnodar-Center airport where they will be flown by C-130 out of the area. Your task is to provide close air support (CAS) in the event the crowds become violent. Further details will be provided enroute. ----------------------------- OBJECTIVES: ----------------------------- -Protect the embassy compound and Marine ground forces. ----------------------------- FLIGHT CONDITIONS: ----------------------------- Date: February 23 Time: 07:30 local Weather: Scattered clouds and breezy. ----------------------------- AIRFIELD: ----------------------------- Krymsk: ATC: 124 AM ----------------------------- COMMS: ----------------------------- AWACS: Darkstar 150 AM ----------------------------- FLIGHTS: ----------------------------- Pig Flight: 6x A-10C Colt Flight: 2x Su-25T Chevy: 1x C-130 Transport ----------------------------- THREATS: ----------------------------- -APC and IFV vehicles -Tanks -Infantry (with MANPADs) -AAA vehicles (ZU-23 and Shilkas) ** Recommended minimum altitude at least angels 10 **
  4. I have the following debug function that doesn't seem to be working: local function debug_destroyC130() local c130 = Group.getByName('C-130') for g in pairs(c130) do if g:isActive() == false then g:activate() end --there's no setLife() method ... :/ --I don't think destroy() does what we want trigger.action.explosion(g:getPosition().p, 100) end end And here's the error message: attempt to call method 'isActive' (a nil value)Am I not iterating through the group properly?
  5. Do you have any issues with the mission not reloading your modified LUA scripts? I just had to go into the trigger and "re-open" the same file via the editor in order to get changes that I made in NP++ to work in the mission. Seems to be the only way I can get it working. Sorry for all the questions, thanks for responding. :)
  6. Ahh, yep, that was exactly what I had. I switched it as you suggested and now it works. Thanks! It's odd that you can't use the mission start, there must be some sort of loading phase or something.
  7. I think MIST is now loading (after removing from initialization). It has this in the log. SCRIPTING: Mist version 4.0.55 loaded."main.lua" is still setup to run after 2 seconds. However, I'm not getting anything from my script logged. --doesn't work env.info("Hello") --doesn't work do local function checktriggers() mist.scheduleFunction(checktriggers, {}, timer.getTime() + 5) end local function init() --runs once to initialize vars --env.info("About to start smoke", true) --trigger.action.smoke(smoke.point, 1) --env.info("Smoke pos: "..tostring(smoke.point), true) end env.info("Scheduling functions") mist.scheduleFunction(init, {}, timer.getTime() + 2) mist.scheduleFunction(checktriggers, {}, timer.getTime() + 5) end
  8. I'm having trouble using MIST and writing to the log file. I set the initialization script for mist.lua and I set Do Script File for my main.lua file to run after 2 seconds as recommended. I have the following code in main.lua: do local function checktriggers() mist.scheduleFunction(checktriggers, {}, timer.getTime() + 5) end local function init() --runs once to initialize vars env.info("About to start smoke", true) trigger.action.smoke(smoke.point, 1) env.info("Smoke pos: "..tostring(smoke.point), true) end env.info("Scheduling functions", true) mist.scheduleFunction(init, {}, timer.getTime() + 2) mist.scheduleFunction(checktriggers, {}, timer.getTime() + 5) end However, after the mission, I open up the log file and I don't see anything logged. I tried exiting DCS (thinking it needed to flush the file) but that didn't help. Does anyone have any ideas? Do I need to compile the mission first or something? I'm just running it through the editor.
  9. Are there any simple missions that would be a good starting point to learn MIST? I tried looking at the recently updated "On Station" mission but it's very complex.
  10. I seem to remember this being an issue with earlier versions as well but JTAC seems to be reporting the wrong loadout (see picture). Unless I'm misunderstanding something and this is a group report, it's saying the A10 has bombs that are not even listed on the DSMS. DCS World 1.5 beta
  11. When I have black hot or white hot enabled on the TGP, if I look at buildings or trees that are far in the distance, it makes it look like they are shimmering or changing between white and black repeatedly. Perhaps it's z fighting? My graphics settings are all on max except depth of field is OFF. Nvidia card DCS World 1.5 beta
  12. In the F-15C, is it possible to switch between different airports in ISL (ISLN?) mode? Or does it just load the closest airport?
  13. Thanks for the replies all. Definitely had some flashbacks to classes long ago regarding truth tables. ;)
  14. http://www.rcn.montana.edu/Resources/Converter.aspx This worked for me. I put in the Lat/Long and it provides NATO UTM.
  15. Can I have a conditional "OR" and "AND" in the same trigger statement? For example: if (unit 1 in zone OR unit 2 in zone) AND (FLAG 2 ON) I know it can be done in Lua but in just the editor itself?
  16. How can I prevent ground units from stopping when they are attacked? I have a convoy of enemy tanks and vehicles that I want to continue to their final waypoint, regardless of if they get attacked. Right now, I can attack the lead unit and they'll just scatter and not move any more. Thanks :)
  17. Is there a way to "undo" an action in the DCS World editor? I tried CTRL+z but that didn't seem to work.
  18. Right now, the only way to query multiplayer servers is to launch the game, login, and then look through the listing. There is no way to view a webpage or use an application to see what's running. It appears at the moment that all this information is locked away through the login system (and encrypted?). If ED posted details about what port to connect to as well as opening these details, the community could make applications to query multiplayer servers outside of DCS World.
  19. I looked a little for programs or APIs to query DCS servers so we could find out how many people are playing, what the mission is, etc. Essentially, all the information that is displayed in the multiplayer browser, however, I couldn't find anything. I fired up Wireshark and sniffed some of the packets. It looks like there are some SSL (Jabber?...) connections made to login to the master server (master.eagle.ru). There are also individual UDP connections made to each of the servers which return some information, but the ASCII just looks garbled. Does anyone know if this data is possible to query? Or if not, is this something that we could request?
  20. I'm seeing this as well. Played a quick game of multiplayer and all mav missiles shot at a tung were destroyed. Turned on labels and saw it clearly that the tung missile destroyed the mav. I think something is broken here. Perhaps the mav is being identified as a plane?
  21. Thanks, that's helpful. I was able to connect for about 10 seconds on my first try. Then I crashed into the back in excitement.... lol... I think this will help.
  22. I have an X-52 (just normal version). I've tried refueling numerous times, watched videos. Attempted to trim, but then when I get close, I just start bobbing up and down and have trouble controlling the speed of the aircraft. I'm not sure if the X-52 has the precise control of the throttle that is necessary. For those of you that have an X-52, how do you refuel? This is so difficult... Thanks!
  23. I noticed that when landing and blowing a wheel on the landing, calling the base crew to repair did not fix the wheel. I assume they only fix physical damage to the structure of the plane. Rearm worked fine.
×
×
  • Create New...