dcs-liberation / dcs_liberation Goto Github PK
View Code? Open in Web Editor NEWDCS World dynamic campaign.
License: GNU Lesser General Public License v3.0
DCS World dynamic campaign.
License: GNU Lesser General Public License v3.0
I am not a coder so followed all the threads and really cannot make sense.
Installed DCS Liberation and setup preferences per recommendations
DCS is on dedicated SSD e:\program files\eagle dynamics\DCS World Openbeta
Liberation was setup on my Applications SSD
Saved games location is at c:\users\Bob\saved games\DCS World Openbeta\Missions
Liberation opens fine
Can create Campaign
Can setup the mission planner
When I go to Fly it all stops and get the error
"FileNotFoundError: [Errno 2] No such file or directory: 'C:/Users/Bob/Saved Games/DCS.openbeta/Missions\Missions\liberation_nextturn.miz'"
So knowing nothing about python no matter what preferences I setup I still get this error...
I even created a MIZ file with the Liberation_Nextturn.miz to see if it was an initial file creation message
The saved game files do however get created.
Liberation_Save
Liberation_Save_Tmp
Any steps I can take as a pure layman as to how to fix this please.
System is windows 10 64 Bit (Current release and patched)
LOG file attached
First of all, let me give you a million at-a-boy's for having the mind set to create such an engine for DCS, that enables us as single players to play at this level. You will one day, perfect this engine, and hopefully allow us in the DCS world to give you the ideas to help you make it better. In the long run you will be the one to remember after all is said an done. So, let me thank you for a job well done and an idea well thought of.
Now to help make this better, you have a master piece in the making but, there are some glitches. Microsoft was not made in one day or year and still has updates and glitches. So, the issue I encountered is that the A_I that fly's as a wingman with you refuses to engage targets both in the air and on land. He just calls out targets and gets annoying if you get my drift. There is already plenty of that going on. If I may suggest, and if it could be done, could the person entering the mission set up his wingman the way he or she want to set them up? I mean like in the mission editor? That way we could get him to engage or attack air defenses or airborne targets. Second thing I encountered was that the carrier for some reason when I asked to land it told me to divert to secondary and not knowing what my secondary was I chose the closest to me, why I don't know so I did. The very next mission I guess I was supposed to take off from the base I landed on but I was back on the carrier. No big deal just a simple question. I mean with all you've done so far I'm really asking too much. The third thing I noticed and this is because I was on a carrier was that the small ships were right on top of the carrier. What I mean is that there was no spacing, when the aircraft take off from the Bow they normally break right and travel at 500 feet AGL for 7 nm for a case one launch and recovery so they don't interfere with the marshal stack or the incoming aircraft breaking to enter the pattern at 800 feet above and to the right of the carrier. It was kind of hard to do this with the small ships so close, I mean sitting in the cockpit I could not see the water between the carrier and the small ships. Small corrections but again let me congratulate you on a fantastic idea and job that will get better. My email is [email protected] I am former US Navy I worked on F-14's as an ordnanceman, so if you have questions feel free to email me and ask me questions. Also the small ships did not travel that close to the carrier while out at sea they were only that close only for pictures.
Why is the AJS-37 Viggen in the Russia 2010 faction? That seems odd.
Currently playing against Russia 2010 on Caucuses and the SA-10 sites are all generated without tracking radars and cannot engage targets. They have both search radars and a CP, plus plenty of launchers, but are toothless without the TR.
Hi Khopa,
Thank you for your awesome work!
I have an issue to report:
when trying to play a german WWII campaign, the german Airbases are where the allied Bases should be and vice versa. Tried in multiple theaters.
edit: Version DCS.Liberation.2.0RC9
The default loadout for the F-15C has two AIM-9Ps? Is that a (strange) intentional choice or a mistake?
Just flew my first mission with DCS Liberation. First off, let me say THANK YOU for this.
Flew this with DCS World Openbeta (that is correct, right?). And when I finished the mission, I received a JSON error. :( Happy to provide a log if you let me know where I can find it.
Unfortunately, I think this means that the missing is a bust? Is it possible to recover a JSON file from the log file or track file if that is saved? (Log file, probably easiest, right?)
Would be a great way to "recover" from a lost / crashed program.
Hi Khopa
Is it possible to increase the distance between the ships in the carrier group? They can be moved out 3-5 miles for a more realistic formation and possibly better frame rates
Cheers
It would be great to have the ATC radio frequency in the briefing, especially for the carrier where we can't find it on the F10 map.
Is there any remote possibility of reading the mission results file (if saved), to then "recover" a failed mission? i.e. read the mission results file, interpret into a format that can then be used by the Liberation system to update the campaign to reflect the mission results?
This would be a pretty cool feature, and offer some good redundancy.
Hello and thanks for your hard work in making this. Recently downloaded RC9 and got the first mission working mostly fine, the subsequent missions however, AI flights may or may not spawn, and in all cases (even the first mission) none of the AI flights spawn off the carrier. The planes are available and are tasked before the mission launches. I’ve tried changing their flights time, I’ve tried changing my flight time, I’ve tried leaving everything alone but it’s still hit or (mostly) miss if the flights spawn.
Starting mission in viper on Persian Gulf map. Cold, warm, and runway mission start only spawns in mid flight. Great mod. Thanks for your time!
Hi Kohpa,
Just a list of things I've seen over the past week....
Cheers and many thanks
When using the Libya faction in RC10 (misspelled as Lybia in the release, but no bother) Liberation will not create a mission file. The terminal in the background outputs this.
Lybia USA
INFO:root:<theater.base.Base object at 0x0000024D356FD128> for <class 'dcs.task.PinpointStrike'> (0): {<class 'dcs.vehicles.Armor.MBT_T_55'>: 2, <class 'dcs.vehicles.Artillery.MLRS_BM_21_Grad'>: 2, <class 'dcs.vehicles.Armor.FDDM_Grad'>: 4}
2020-08-16 04:11:15,053 :: INFO :: <theater.base.Base object at 0x0000024D356FD128> for <class 'dcs.task.PinpointStrike'> (0): {<class 'dcs.vehicles.Armor.MBT_T_55'>: 2, <class 'dcs.vehicles.Artillery.MLRS_BM_21_Grad'>: 2, <class 'dcs.vehicles.Armor.FDDM_Grad'>: 4}
WARNING:root:<theater.base.Base object at 0x0000024D356E8E48>: no units for <class 'dcs.task.PinpointStrike'>
2020-08-16 04:11:15,055 :: WARNING :: <theater.base.Base object at 0x0000024D356E8E48>: no units for <class 'dcs.task.PinpointStrike'>
INFO:root:<theater.base.Base object at 0x0000024D356FD128> for <class 'dcs.task.CAP'> (0): {<class 'dcs.planes.MiG_23MLD'>: 4}
2020-08-16 04:11:15,057 :: INFO :: <theater.base.Base object at 0x0000024D356FD128> for <class 'dcs.task.CAP'> (0): {<class 'dcs.planes.MiG_23MLD'>: 4}
INFO:root:Generating Frontline attack (regular)
2020-08-16 04:11:15,058 :: INFO :: Generating Frontline attack (regular)
USA
<class 'dcs.countries.USA'>
2,USA,[]
Traceback (most recent call last):
File "qt_ui\windows\mission\QMissionPlanning.py", line 156, in on_start
File "game\game.py", line 178, in initiate_event
File "game\event\event.py", line 125, in generate
File "game\operation\frontlineattack.py", line 31, in prepare
File "game\operation\operation.py", line 95, in prepare
KeyError: -1
Cheers for all your hard work Liberation team, your stuff is the best.
Ignore
Even if selectet you will not start cold and dark on the Carriers.
Always hot.
So I'm playing Persian gulf [Full Map] and after taking off with the Harrier I can't use any weapons at all. I've checked, checked and rechecked to make sure it's not user error but when I make a new mission from scratch in the editor the plane works fine. It seems to be something wrong with the mission with how it interacts with the Harrier.
AI flights do not RTB when they are running low on fuel/run out of proper weapons. They keep engaging enemies until they crash, also the pilots never eject.
Example 1:
Pair of F-15Cs on CAP move in to engage enemy fighters, drop the fuel tanks during BFM. Shoot down all bandits, then go back to continue original flight path. If an enemy air asset spawns in the meantime they turn back to engage until they run dry. If they do not have missiles, they go in for a dog fight.
Example 2:
A-10s on CAS mission never give up, they keep engaging enemies until the last bullet in the 30 mm. They last longer than the F-15s, but I have infantry enabled, so they go after each and every foot soldier until they loose all fuel and crash.
Edit: I understand this issue is likely caused by DCS AI being inconsiderate of fuel levels, so I suggest giving AI flights unlimited fuel, if possible and there is no other solution. It is rather annoying that I have to waste money on restocking flights, because they were stupid and let themselves run dry.
You need to add additional frequencies that are compatible with Mig21/19/15 radio's to GCI/AWACS. Even with simple radio you can't tune it that high. Possibly set a channel for those planes with dedicated GCI.
Specifically that TACAN does not work at all, and the tankers are going waaaaaaaaaaaaay too slow. Both the KC-135 and the KC-130 were going only about 180-190kts, which is much too slow for refueling. 200-300 knts are perfect, 250 being most ideal.
Hey!
I am trying to run DCS Liberation Campaign with my group BorderZone. We are having trouble to host it with more then 3 people on the server. Even with 3 persons it lags alot for the host.
We tried to run it with 7-8 people the game just freezes and crashes. Last time we tried it I fired an FOX 3 when it hit the plane i was aiming for the game just froze for me and everybody else then crashed.
is there any way to host it on a dedicated server? I dont know what causing it to crash but we tried multiple PC's and always the same thing.
Glad you got this set up, feels much more organized for submitting bug reports!
Anyways, the tacan doesn't seem to be working on the supercarrier. I'll punch in the correct channel (45X), cage TCN on the HSI (I'm using the F/A-18C), but the arrow keeps spinning and the bug on the HUD never shows up. Consequently, I cannot set the BRC or do CASE III landings. I checked on the forums to see if it was a bug with the Hornet, but I didn't see anything. It seems to work on my squadron's private server, running Into the Inferno.
Since the battlefield stats update in real time, is it possible to integrate some sort of moving map feature into the main game window? First, allow us to minimize the mission completion window, so we could see the map? Does the fact that the k/d is updating in real time allow for some sort of map overlay showing battle hotspots, or areas where current known battles are occurring? Conversely, can flightplans and a moving map be integrated?
While most units are correctly replaced in the cold war scenarios, Having a Oliver Hazard Perry class boat right near the coast is absolutely devastating to any AI flights. Trying to play 1965 scenario with realistically unsinkable murdersams on my doorstep is rough. This ship is not even gonna be commissioned for 10 years.
Custom loadout for the Viper is missing the AN/AAQ-28 Litening pod for 5R (payload position 6).
I have just upgraded from vs9 to vs10, great improvements thank you.
Started a new campaign, took my first turn (turn 2). During this I used Combined Arms and moved my ground troops forward destroying enemy vehicles and Sam sites. Ended my turn and saw the report, lost planes and 2 ground units which were destroyed under my control during the push. When I came to play turn 3 the only ground vehicles I had listed and visible in the mission editor were ones I had not moved all others were missing (which had not been stated destroyed in the end of turn report) also some of the Sam sites I had destroyed had respawned but with different Sam systems.
I am going to play another round to see if this occurs again. I did not have this happening in version 9
Lisa
Hey guys, thanks for your hard work on this, it's great!
But one thing I can't find anywhere, and that is, how to actually build this repository (the files that gets packed in RC*.zip for example).
I'd like to build a local develop branch so I can test stuff and fix something :D.
Thanks!
I've got several enemy airbases in my current campaign that are some variation on this example:
The AI will not create singleton flights, and they don't seem to be interested in purchasing single reinforcements to make whole flights out of the airframes they have. I've seen the AI buy 2x MiG-29s at a base that had 1x Su-27 and 1x Su-33 a few times, which is quite an inefficient use of resources. Most of the time, these singleton jets just sit unused at a base for many turns in a row until the base is captured.
Is there a way to add Insurgent faction for Bluefor? For scenarios like Russia vs ISIS on Syria map?
I love Liberation and have tried to play through a campaign with a group, however post-mission hangs and other issues have made us decide to stop for now, since any issue cause us to lose all campaign progress. Is there any possibility of a save / load functionality so that if something hangs we would only lose one mission? Liberation is awesome, thanks for making it!
Gekko
just a simple feature request, can you make the factions and their owned jets and ground units editable, for example the Russia 2010 i want to add the JF-17 also maybe add a buy-able Tunguska so it moves with the army.
While you can disable it in the config files, an option to disable smoke at night in the settings would be nice. The smoke on target blacks out the tgp at night, it's a graphical glitch. Conversely, having a predator designated as an invincible JTAC as opposed to using Autolaze for those of us who still like to go through the process of reading the 9line.
AI operated SU-33s following missions generated by Liberation crash immediately on takeoff from the Russian aircraft carrier. They jump off the ramp and crash into the water with an ejection attempt just before impact.
I do not have supercarrier.
In my first mission on the Gulf two Arleigh Burkes are spawned on the island between CQ84 and CQ94.
I have attached the generated mission if it can be of any assistance.
liberation_nextturn.zip
I found that longer, larger flights can trigger the end-script to hang and never recognize the mission has ended, losing all progress. This was with the Invasion of Iran setup on RC9.
After 2 normal cycles of mission planning in Liberation's GUI, run mission, exit, tally results, I launched a large offensive with the ground forces from one airbase commanded to 'breakout' in the Liberation settings. I did change loadouts for my flight in mission editor, but that's it (and hasn't caused issues on previous missions).
On exit from that hour long mission, the tally presented by Liberation's info screen appeared correct (some 500+ weapons fired, 35 aircraft, 178 ground units destroyed). However it still showed "Mission is being played." The DOS screen for the Liberation engine was still scrolling with tons of info, but when it eventually stopped, the "Mission is being played." message stayed in the GUI and never changed to 'Accept results.'
Seeing as the info was probably lost anyway, i tabbed back into DCS, restarted the mission, and immediately exited. The Liberation engine then correctly caught and completed the post-mission processing and showed 'accept results.' Of course, the results were now 0/0/0.
Another user, Chicki, claims to have seen the same thing occur, I've asked for more details - crosspost on ED DCS forums (http://forums.eagle.ru:8080/showthread.php?p=4437934&posted=1#post4437934)
From the log generated, it appears to have hung on a crucial step before finishing processing. Here's the relevant bits if anyone is seeing this issue - key points marked with ### ###
2020-07-28 22:51:21,415 :: INFO :: {<class 'dcs.vehicles.Infantry.Paratrooper_RPG_16'>: 7, <class 'dcs.vehicles.Infantry.Paratrooper_AKS'>: 49, <class 'dcs.vehicles.Infantry.Infantry_Soldier_Rus'>: 32, <class 'dcs.vehicles.Armor.MBT_T_80U'>: 8, <class 'dcs.vehicles.Armor.MBT_T_72B'>: 4, <class 'dcs.vehicles.Armor.MBT_T_90'>: 2, <class 'dcs.vehicles.Artillery.SPH_2S19_Msta'>: 6, <class 'dcs.vehicles.Artillery.MLRS_9K57_Uragan_BM_27'>: 8, <class 'dcs.vehicles.Armor.APC_BTR_80'>: 2, <class 'dcs.vehicles.AirDefence.SAM_SA_13_Strela_10M3_9A35M3'>: 1, <class 'dcs.vehicles.AirDefence.SAM_SA_10_S_300PS_SR_64H6E'>: 1, <class 'dcs.vehicles.AirDefence.AAA_ZU_23_Emplacement'>: 3}INFO:root:{}
2020-07-28 22:51:21,415 :: INFO :: {} INFO:root:{}
2020-07-28 22:51:21,415 :: INFO :: {} On Debriefing update <userdata.debriefing.Debriefing object at 0x0000025346DA9160> ###Script appears to have halted here###
INFO:root:-------------------------------- ###retrigger mission by launching mission and immediately exiting###
2020-07-28 23:00:51,009 :: INFO :: -------------------------------- INFO:root:Starting Debriefing preprocessing
2020-07-28 23:00:51,011 :: INFO :: Starting Debriefing preprocessing INFO:root:--------------------------------
2020-07-28 23:00:51,011 :: INFO :: -------------------------------- INFO:root:[]
2020-07-28 23:00:51,011 :: INFO :: [] INFO:root:[] 2020-07-28 23:00:51,011 :: INFO :: [] INFO:root:[]
2020-07-28 23:00:51,012 :: INFO ::[] INFO:root:[]
2020-07-28 23:00:51,012 :: INFO :: []
###snip to area with final results###
INFO:root:{} 2020-07-28 23:00:53,498 :: INFO :: {} On Debriefing update <userdata.debriefing.Debriefing object at 0x0000025346DAC4E0> ###point where script hung last time###
INFO:root:Finishing event Frontline attack #script continues###
2020-07-28 23:01:09,461 :: INFO :: Finishing event Frontline attack INFO:root:Commiting mission results
2020-07-28 23:01:09,463 :: INFO :: Commiting mission results Compute frontline progression for : Havadarya to Lar Airbase 41 22 0 0 Havadarya won ! factor > 0 Compute frontline progression for : Bandar Abbas to Jiroft Airport 26 8 0 0 Bandar Abbas won ! factor > 0
INFO:root pass turn
HI.
Just an idea your way, if you can make it so that when you start a campaign....every plane spawning on bluefor & redfor will have different skins on the planes, picked up that every time I play a mission, all the skins on the planes are default, have to go manually change them for each plane in the mission editor. Maybe make it random for each side so that Iranian planes have Iranian skins on their planes and so on... also when you generate the current turn/ mission, that the window can maybe minimize to task bar.
"A_20G: COMMON_OVERRIDE," is missing from the PLANE_PAYLOAD_OVERRIDES section in db.py (line 745, I guess)
If I select a non-standard directory for the save game directory under preferences I get a "no such file or directory" error in the running CMD window when I click on "Takeoff" and no mission will be generated.
Using the "browse" button to reset this field to default does not clear the error, I needed to delete DCS Liberation and refresh it to clear the error.
Is it possible to allow us to choose from preset, and realistic weapons loadouts for each flight? Conversely, can loadouts be integrated into the economy, costing money to replace
Campaign: Persian Gulf full map
Sides: BLUEFOR Modern vs. North Korea 2000
Version: Development build of 16. Jun 2020
Save file: liberation save files.zip
Issue:
After Capturing the first Base (Al Dafra) there is no frontline between the island base on Sir Abu and Al Dafra.
This leads to an error creating the ground conflict. (Save Game attached)
Proposed Solution:
Quite hard to say, as it needs a design decision, because there is no sense creating a frontline between an offshore and onshore island base for a ground based attack.
It may be possible to generate naval units war (including buying ships at suitable bases) similar to the ground units. It would add a nice aspect to the gameplay and add more variety. Pathfinding of naval vessels should also be much easier than with ground units.
If player flight is anything more than +0 take off time it is set as late activation and activated with trigger.
This method works for AI but not for player slot. It needs to be unchecked as Late activation without trigger and first waypoint time needs to be set to real start time instead 00:00:00.
Then Player will get notification about delayed start and then later his plane is activated.
I tested this with manualy change player flight in editor before flight.
Is there a procedure or process that enables a liberation campaign mission to be run from a DCS.openbeta dedicated server?
And lastly....
-Is there a discord or a forum to ask these questions so I am not cluttering up the issues page on GitHub?
It would be a nice enhancement to have the ground groups on the front-line to have some SHORAD associated with them.
For example groups of infantry sometimes have some shoulder launched MANPADS and the armoured groups have AAA\SAM such as ZSU-23-4 or SA-13\SA-8\SA-9 moving along with them.
Of course it would be great if they were part of the purchasing system, but that could potentially end up with SHORAD spamming. If there were a limit in place for the amount that can be purchased for a group, that might keep it interesting but not over the top.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.