Jump to content

Case

Members
  • Posts

    1138
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Case

  1. Excellent work D'Art! I'd be happy to help! I'd be interested in adding trigger templates, and tempates for static units.
  2. Happy Birthday! :drink::beer:
  3. Remove the config/export/config.lua file from the track. Just open the track with rar or zip and remove it. Or, use my one click replay script.
  4. At the moment I have no need for babies, so it's your lucky day :D
  5. This problem has been solved: http://forums.eagle.ru/showpost.php?p=914889&postcount=1
  6. The Problem The ruler tool in the Flaming Cliffs 2.0 and Black Shark mission editors returns the wrong bearings. Due to the difference between the map in the editor, which is spherical, and the map in the game, which is flat, the bearing measured in the editor can be off by as much as 4 to 7 degrees. This will makes lining up units with features on the map very tedious. The Solution Replace BlackShark\modules\me_map_window.lua for LockOn Flaming Cliffs 2.0 and/or DCS:Black Shark with the file in the attachment below. The attachment changes the code in BlackShark\modules\me_map_window.lua from --local x1,z1 = Roads.xz(tape.points[1][1].x, tape.points[1][1].y) --local x2,z2 = Roads.xz(tape.points[1][2].x, tape.points[1][2].y) --local dist = base.math.floor(base.math.sqrt((x1-x2)*(x1-x2)+(z1-z2)*(z1-z2))+0.5) local lat1 = tape.points[1][1].x local long1 = tape.points[1][1].y local lat2 = tape.points[1][2].x local long2 = tape.points[1][2].y local dist = base.math.floor(db.getDist(lat1, long1, lat2, long2)) --local ang = base.math.mod(base.math.floor(360+90-base.math.atan2(lat2-lat1, long2-long1)*180/base.math.pi), 360) local cos = base.math.cos; local sin = base.math.sin; local atan2 = base.math.atan2; local pi = base.math.pi; local dl = long2 - long1; ang = atan2(sin(dl)*cos(lat2), cos(lat1)*sin(lat2) - sin(lat1)*cos(lat2)*cos(dl)); to local x1,z1 = Roads.xz(tape.points[1][1].x, tape.points[1][1].y) local x2,z2 = Roads.xz(tape.points[1][2].x, tape.points[1][2].y) local dist = base.math.floor(base.math.sqrt((x1-x2)*(x1-x2)+(z1-z2)*(z1-z2))+0.5) --local lat1 = tape.points[1][1].x --local long1 = tape.points[1][1].y --local lat2 = tape.points[1][2].x --local long2 = tape.points[1][2].y --local dist = base.math.floor(db.getDist(lat1, long1, lat2, long2)) --local ang = base.math.mod(base.math.floor(360+90-base.math.atan2(lat2-lat1, long2-long1)*180/base.math.pi), 360) --local cos = base.math.cos; --local sin = base.math.sin; local atan2 = base.math.atan2; local pi = base.math.pi; --local dl = long2 - long1; --ang = atan2(sin(dl)*cos(lat2), cos(lat1)*sin(lat2) - sin(lat1)*cos(lat2)*cos(dl)); ang = atan2(z2-z1,x2-x1) Essentially, the bug was that the bearing was calculated for the spherical mission editor map, not on the flat game map. me_map_window.rar
  7. 1. No 2. No 3. Yes
  8. Case

    Aeroscout!

    Congrats! :beer:
  9. Why can you not fly with them? There are dozens of pilots that have no problem playing in online servers.
  10. No, I don't think there is a list. However, in servers that state in their description that they are checking the integrity of the default export.lua you will not be able to use Tacview, LEAVU or ERI.
  11. Very nice finds Ali!
  12. Thanks EB. This is interesting, because it means it could be solved.
  13. Unfortunately this issue still exists in FC2.0. Is it known what the cause of it is, and if it is constant for all bearings, i.e. is it always 4 degrees off? If the cause is known, it might be possible to make some external tool that computes the correct bearing based on the one measured in the mission editor.
  14. I would argue that it is unlikely that your installation is wrong, and I would suggest you try a few more things before you reinstall. Besides the keycommands mapped to your joystick, did you try and use the keyboard commands directly to slew to the target, lock it up, start the laser, and fire the weapon? Besides selecting salvo mode, can you try the launch override option as well? Perhaps you could post a track of one of your attack runs.
  15. My thought exactly... only with the laser on can you launch Vikhrs.
  16. Do you have the locked target located within the larger circle, like shown on this image?
  17. I noticed the same, where it would keep happily flying after taking 4 or more hits from missiles. I don't know if the patched changed this.
  18. Is the option to restart the mission when the server goes empty broken? I can't get it to work with Beta 11. S! Case
  19. Very nice program! This would be very useful!
  20. This made me smile! Excellent analysis and very truthful! :thumbup:
  21. The thing to do when you fail the integrity check is to download the ModMan pack or zip/rar archive with files that are allowed on the server that the server admins provide in this thread: http://forums.eagle.ru/showthread.php?t=53789 If you then still fail the integrity check it is very likely that you have extra files in config/weapons/ or scripts/database/_common/
  22. Can you answer these questions for me? Did you extract the replay.rar file in the LockOn root? Did you change the path in replay.bat to the correct location? Did you assign the *.trk extension to replay.bat? If the answer to any of these is "no", or "I don't know", then please explain what you did do.
  23. Check here: http://forums.eagle.ru/showthread.php?t=53270
  24. As you can see from the list of files, graphics.cfg is not checked for integrity, and hence you can join the server even after you have tweaked the values within this file. Many of the main stream mods will not change the files listed above. The only exceptions are Tacview and ERI/LEAVU, which will change export.lua. To obtain the stock version of export.lua, check this thread: http://forums.eagle.ru/showthread.php?t=53789
  25. Oops... that might be a slight oversight on my part.
×
×
  • Create New...