Jump to content

ataribaby

Members
  • Posts

    704
  • Joined

  • Last visited

Everything posted by ataribaby

  1. Here is fixed script files http://www.prekladytextu.eu/dcsdcescriptsfix.zip use WinMerge or similar to see what was changed - basically what I described back. add new setting to camp_init.lua for intercept hotstart: so it looks like: camp = { title = "Fishbeds over Caucasus", --Title of campaign (name of missions) path = "Mods/aircraft/MIG-21bis/Missions/EN/Campaigns/Fishbeds over Caucasus/", --path of campaign folder mission = 1, --campaig mission number date = { --campaign date day = 6, year = 1992, month = 4, }, time = 3600, --daytime in seconds dawn = 21600, --time of dawn in seconds dusk = 65700, --time of dusk in seconds mission_duration = 10800, --duration of a mission in seconds idle_time_min = 10800, --minimum time between missions in seconds idle_time_max = 43200, --maximum time between missions in seconds startup_time_ai = 180, --time in seconds allocated for startup, taxi and take off for AI flights startup_time_player = 360, --time in seconds allocated for startup, taxi and take off for player flight units = "metric", --unit output in briefing (imperial or metric) freq_min = 118, --minimum player radio frequency in mHz freq_max = 139, --maximum player radio frequency in mHz weather = { --campaign weather pHigh = 60, --probability of high pressure weather system pLow = 40, --probability of low pressure weather system refTemp = 22, --average day max temperature }, variation = 4, --variation in degrees from true north to magneitic north hotstart = false, --player flights starts with engines running intercept_hotstart = true, --player flights with intercept task starts with engines running debug = false, --debug mode } I am designing Abkchazian Mig-21 campaing right now and player interceptions works now.
  2. Yep, changes I described fixed that. To me it looks like overlook when Mbot changed format of missions. I also added setting for possibility of hotstart for interception missions. I can zip scripts if you want.
  3. Read install instructions carefully. You are missing needed changes in MissionScripting.lua and every DCS update reverts file into default state.
  4. ATO_Timing line 11 bug seems to be caused by setting target strike min firepower to 10, when I set it to 20 min and 40 ( or 60 or 80) max all is fine. Seems generator doesn't like one ship strike flights - it have to be minimum of 2 ship. I have strike loadout firepower set to 10 of course.
  5. Hello, Making campaign for Mig-21 using Caucasus and cannot get interception missions to work for player. Generation is always stopped with nil lua error. After some fiddling I think there is error in code that prevents interceptions for player to work. I used Eagle over Caucasus-v2.5-2.zip as base for my campaingn and here in file ATO_PlayerAssign.lua line 143 is: leg_speed = pack.main[1].loadout.description.vCruise and here script error occurs because description is nil - I think it is left over when format was changed and this was not updated. After I changed all (of course all other ocurences as well)loadout.description.vCruise to loadout.vCruise it passed and next crash was in ATO_FlightPlan.lua line 897: --store player waypoints for briefing creation if flight[f].player == true then camp.player.waypoints = deepcopy(waypoints) camp.player.waypoints[2].speed = 0 camp.player.waypoints[2].alt = 0 camp.player.waypoints[3].speed = pack[p].main[1].loadout.vCruise / 4 * 3 end Of course camp.player.waypoints[2].speed = 0 must fail on nil cos interception flight has only one waypoint. Deleted code bellow camp.player.waypoints = deepcopy(waypoints) and it passed and mission was generated. Compared to older code base used in Operation Red Bear and that waypoint manipulation code is not there. Please anyone know whats going on here and what that waypoint code is supposed to do? I am stuck on my campaign creation cos of this.
  6. After 1.02 update my wingie always refuse attack my Skhval locked target when i issue "Attack my target" no matter how close i am (i was unrer 2km away for test). This happens mostly in campqaing. When i made quick test mission with two ship flight and row of USA Abrams 2 km away it worked when i had Civ traffic option on. When off he refues with Unable/Negative again as in campaing. Civ traffic setting dosent infuences this in campaign play. I go to try roll back to 1.01 to see... Edit: Yes in 1.01 wingman obeys attack command ok.
  7. Thanks for tips. Exactly help i seek for. Thanks
  8. HI, I am new in Lomac and i cant find currently selected waypoint number in vanilla SU-25 cokpit (i not mean SU-25T) . All others have it on HUD but no SU-25. How you using MAP nav mode here? How you know what waypoint is in? Just follow route precisely? It can be hard in heat of battle. Any ideas or recomendations, please?
  9. looks like it is unrelated to decimal separator. Looks like Skins dropdown list selected item gets out of bounds. I not experienced this but i not played with skins yet. Just leaved skins in default state. maybe vista UAC realated. That User control that prevent some rights and ordinary user should not harm his OS too much. Try disable it and test again.
  10. Just tested this with my czech locale settings and it eats , as separator ok. Generated and flew 3 campaing missions ok. So for me that bug is fixed. Thanks
  11. Ohh yup i have this issue too. It is caused by globalization in .net code. Convert from string to single just fails cos different decimal separator. You can set national settings to english or just set decimal separator to . instead , . I have same problem with my czech locale. It is easy to fix in code as there is paramerter for convert to treat string without globalization. Also option for start at ramp will add atmosphere. BEside that it is great tool. Thanks a lot DOctor K
×
×
  • Create New...