-
Posts
703 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Everything posted by ataribaby
-
Mainly this thread where I found some document with collected knowledge and just got things how was done in other campaigns and trial and error.
-
That change to allow strike targets activation is in ATO_Generator.lua look for line: if loadout_eligible then and replace it with: if loadout_eligible and target.x and target.y then Then you can use trigger like this on inactive EWR strike: ----- CAMPAIGN PROGRESS ----- ["Campaign War Start"] = { active = true, once = true, condition = '(camp.date.day > 6 and camp.date.month > 3 and camp.date.year > 1991) or camp.mission > 2', action = { [1] = 'Action.TargetActive("Recon Sukhumi", true)', [2] = 'Action.TargetActive("Recon Gudauta", true)', [3] = 'Action.TargetActive("Recon Kutaisi", true)', [4] = 'Action.TargetActive("Recon Senaki-Kolkhi", true)', [5] = 'Action.TargetActive("Recon Kobuleti", true)', [6] = 'Action.TargetActive("EWR South RU", true)', [7] = 'Action.TargetActive("EWR GRG", true)', [8] = 'Action.TargetActive("Sweep Sukhumi", true)', [9] = 'Action.TargetActive("Gudauta Airbase OCA Strike", true)', [10] = 'Action.TargetActive("Sukhumi Airbase OCA Strike", true)', [11] = 'Action.TargetActive("Sweep Kutaisi", true)', [12] = 'Action.TargetActive("Kutaisi Airbase OCA Strike", true)', [13] = 'Action.TargetActive("Senaki-Kolkhi Airbase OCA Strike", true)', [14] = 'Action.Text("War Started")', }, },
-
Yes exactly. I just added guard IF conditions to that part of code that modify 2nd and 3rd waypoint - as intercept has only one waypoint it fails. That code was even not in previous version (red bear campain for example) and I don't understand why it is there. In older version there was only deepcopy command. Also just fixed error when activating for example EWR site target via campaign trigger. It always crash as at that time it has no X and Y. Now It will just exclude that newly activated target and it will use it in next generated mission when it gets all properties filled. I wanted my Mig-21 campaing stats as peace team CAPs and it will escalate into conflict in two missions or if specific date is reached. Now it works like a charm ;) DCE is pretty complex and cleverly coded by Mbot so one must be careful with changes. Unfortunately it contains some nasty bugs that is not so obvious or easily reproducible. Trying fix them as I ancountering tehm during campaingn dev and testing. I still do not know whole Mbot code and it's flow. It is piece of art.
-
Ahh sorry then. Only option that comes to my mind is you installed campaing into wrong folder (paths are hardcoded to specific DCS mod) or try run DCS as administrator - maybe it can't write into place.
-
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.
-
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.
-
Read install instructions carefully. You are missing needed changes in MissionScripting.lua and every DCS update reverts file into default state.
-
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.
-
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.
-
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.
-
Question for vanilla su25 nav mode
ataribaby replied to ataribaby's topic in Lock On: Flaming Cliffs 1 & 2
Thanks for tips. Exactly help i seek for. Thanks -
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?
-
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.
-
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
-
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