Python program to generate mission file with vehicle db spawns

Torndeco

Valued Member!
Its v.rough around the edges, but makes like alot easier...
Very unlikely i update it any further have alot i like todo & not enough time

https://github.com/Torndeco/pyMissionFile

Basicly i used mysql workspace...
Select the vehicle table... select all the info & right click -> copy row content (tab seperated)
Paste this into a file called vehicles_id.txt

The use a query like the following (so u only see the spawn locations for your world)
SELECT * FROM dayztavi.world_vehicle
WHERE world_id = 10
Select all the info & right click -> copy row content (tab seperated)
Paste this into a file called vehicles_spawns.txt

-----------

Next u need to make u a template of mission file, there is an example of one in template folder...
Basicly its the barebones of a mission file, with center / group / unit....
Important don't have any vehicle classes (u can add them in afterwards)

Now u just run pyMissionFile.py with your 2 text files & the mission file in the same directory...
Once its done if u edit the file, u will notice all the vehicle spawns are added to the file...

U can now copy it to your arma user profile mission directory & load up in editor...
 
Back
Top