Comments (9)
Hi!
did you use the git master version? or you running the release from the pip installer?
Just generated a mission and I can open it in the latest dcs 1.5.7
from dcs.
Hello,
Thanks for the very quick reply :)
I used the git master version. Is it the good one ?
It is indeed very strange not to see the file in DCS. I cannot figure out why it is like this for me, but I will search, and I let you know.
In the future, if I have ideas, new code or fixes for the library, I let you know as well ;)
Flupke
from dcs.
from dcs.
Ok, I send you the file generated this evening with the associated command to generate it, when I am back home.
from dcs.
Here it comes.
you have to rename it without the ".zip".
It was generated with python 3.5.2, with the command : "python destroy_oil_transport" without parameters and is not visible in DCS.
Hope it can helps.
from dcs.
I know whats wrong in your mission, but I can't reproduce it on my end.
Are you sure you are on the latest master revision?
if you run git log the latest should be 57ba821 right now.
from dcs.
I have cloned this evening to be sure, but I have the same problem, I cannot see the generated file oil_transport.miz in DCS.
By the way, I had to put in comment farp and CAP sections, because of errors ( farp is not a variable of mission class ) and still another one, I don't remember.
Could you explain what is wrong in the mission file, I would like to understand ( and make it work ) ?
Thank you for your quick answers and help.
from dcs.
Ok I found out whats wrong.
Luckily I had kinda the same issue once I did a fresh clone on my self from commandline and tried to run the script.
The problem is you have an older version of pydcs installed in python and as long you don't set the PYTHONPATH to the checkout version, python will import modules from the installed one first.
There are 2 ways to fix it:
- Uninstall the current installed version (
pip uninstall pydcs
), than everything should work from the git clone version
or - Set the PYTHONPATH environment variable to the git clone of pydcs
set PYTHONPATH=C:/path/to/checkout
The problem in the mission file was the incorrect serialization of the coalition enum in the mission triggers e.g.:
["coalitionlist"]=Coalition.Blue
instead of
["coalitionlist"]="blue"
from dcs.
Hello Rene,
Now everything is clear and the mission gets uploaded :)
Thank you very much for the catch and for support :)
Have a nice weekend.
Flupke
from dcs.
Related Issues (20)
- Halo setting not handled HOT 4
- Export Issue rockets.lua
- Update PyPI release HOT 6
- ModuleNotFoundError: No module named 'dcs.terrain.caucasus'
- Collaboration for terrain data. HOT 3
- liveries_scanner: "zipfile.BadZipFile: File is not a zip file" HOT 9
- pip install error HOT 1
- RFC: drop python 3.7 support HOT 2
- security policy? HOT 2
- `Country` should be split into constant data and miz state
- replace our lua parser with lupa? HOT 3
- AH-64D_BLK_II has no pylon 5 HOT 2
- import dcs fails HOT 2
- RFC: drop Python 3.8 support? 3.9? 3.10?
- remove default for waypoint speed
- datalink support HOT 5
- Unhandled task type: Strafing HOT 1
- Linked unit
- Order of trigger actions changes after a load and save
- DCS export documentation HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dcs.