Jump to content

firefly2442

Members
  • Posts

    32
  • Joined

  • Last visited

  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.
×
×
  • Create New...