Easily Create New Vehicle Spawns (by Planek)

Falcon911

Well-Known Member
For Reference does not work with Bliss 4.0 schema.

Using the 3D editor, (Alt-E) in the game menu, it is possible to easily fly around your map and spawn vehicles wherever you want them without having to walk to each location. Once you have spawned all of the vehicles you want you can save the mission and it is outputted to your computer in C:\Users\(User)\Documents\ArmA 2 Other Profiles\(PlayerProfile)\missions\ or C:\Users\(User)\Documents\ArmA 2\missions\

Open up this mission folder and find the mission.sqf file. This file contains the spawn locations for every vehicle you spawned in the 3D editor.

I wrote a quick little php script that parses through this mission.sqf file and inserts these spawn locations into your database for you. Big time saver. Simply edit the database info at the beginning of the php file then run it on your php5 enabled webserver.

The script will add class names to your 'vehicle' table if they don't already exist and add the spawn locations to your 'world_vehicle' table whether they already exist or not.


Here's the download: http://www.mediafire.com/?t29wd2mx2whnk1r
 
Planek this script is awesome!

Could you change the descriptions from mission.sqm to mission.sqf. The .sqm file doesn't work with the script, it's only compatible with mission.sqf

Cheers :)
 
Back
Top