Comments (7)
That might be a bug, do you have installed DCS in the default location?
C:\Program Files\Eagle Dynamics\DCS World
or on another drive or folder?
from dcs.
or what unit type is it?
from dcs.
I have both SA at standard and steam in PFx86/Steam.
For the type I've tried A10C with CAS and F15C with FighterSweep.
I think I'll debug this later this evening after I come back home and provide a little more information (I've thought it's a simple wrong usage issue).
from dcs.
Wait, does it require dcs to be installed? I'm using a separate computer to generate the missions (without DCS), so that would explain it all. How does it account for non-standard path installations then?
from dcs.
I don't think it is your fault, but it should have worked for the A10C.
The code for loading the unit payload is a bit static, if you look at unittype.py:58 these are the folders that are currently looked for unit payload definitions.
The code should get the DCS install folder from the registry or some other reliable way and it should also load all CoreMods/aircraft folders.
I just tested it with SU-25 and AH-64A and it worked.
apache = m.flight_group_from_airport(usa, "AirCav", dcs.helicopters.AH_64A, kobuleti, group_size=2)
apache.load_loadout("8xAGM-114, 38xHYDRA-70")
apache.add_runway_waypoint(kobuleti)
from dcs.
Wait, does it require dcs to be installed? I'm using a separate computer to generate the missions (without DCS), so that would explain it all. How does it account for non-standard path installations then?
yes for payloads to work it needs a DCS install, or you copy all the payload definitions in a directory and add them to the load path in unittype.py.
from dcs.
Yeah, I've tested that on the machine with DCS installed and it works just fine. Thanks a bunch.
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.