It seems that some people argue this doesn't work. I figured this out after awhile of searching around and got it working on my server. If it doesn't work for you, replace the files with your backup and get rMod. If it does work for you, I'm glad I could be of assistance.
WARNING: I AM NOT RESPONSIBLE FOR LOST GAME DATA. YOU ARE DOING THIS AT YOUR OWN RISK.MAKE A BACKUP BEFORE TRYING THIS.
Requirements:
-access to dayz_anim(path/to/server/@dayz/Addons/dayz_anim.pbo (or your @MapModName folder will work too i think.)
-a tool for extracting .pbo files
-Notepad++/text editor
-Navicat or another database editor
Step1:
-Extract dayz_anim and open config.cpp then search for 'cfgvehicles'
Step2:
-Comment( // ) all the vehicles you want out..(list at bottom) I want the A10 fighter jet.
Step3:
-Open navi cat and navigate to your database and find the table name 'vehicle' and scroll to the bottom.
Step4:
-press the + located at the bottom left of the screen and fill in accordingly:
--Id: last id + 1
--class_name: vehicle class name you commented out.. Mine was A10
--the rest are self explanatory.
Step5:
-Open world_vehicle and scroll all the way down. This is where we set the vehicle's spawn point. (You need the id from the last step, mine was 103, a world id, 14 for me, and a coordinate.)If you can create a new row, do so. As for me, I had to overwrite an entry from world 10(a world I dont plan on using).
--id; if you overwrote one, dont touch this. if not, make it one + the last id.
--vehicle_id: the id from the last table.
--world_id: the world's id you want to spawn this into.
--worldspace: coordinates of a spawnpoint for the vehicle.
--self explanatory on the rest.
Step6:
- Almost done! now we need to open instance_vehicle and add it to the game! (NOTE:The vehicle is already in the spawn lists so theoretically you could just use the spawn vehicles batch file, but I haven't tried this myself as I only want this vehicle added.) go down to the last row again and hit the + sign in the bottom left and add another row according to this..
--id: one more than before.
--world_vehicle_id: the id from the last step.
--instance_id: world id
--worldspace: coordinates of where you want it to spawn.
--inventory: what ever you want it to have in it's gear when it spawn
--parts: []
--fuel: 0-1, 0 being 0%, 1 being 100% fuel.
--damage: same as fuel but for damage.
Step7:
-Create a .pbo out of the folder and restart the server and you're vehicle should be there!
Images in order of steps:
http://imgur.com/a/e9R2y
Vehicles:
http://www.dayzsuperhive.co.uk/object-library.html
enjoy
Thanks to Xyberviri for his guide. This was written to further explain his guide.
WARNING: I AM NOT RESPONSIBLE FOR LOST GAME DATA. YOU ARE DOING THIS AT YOUR OWN RISK.MAKE A BACKUP BEFORE TRYING THIS.
Requirements:
-access to dayz_anim(path/to/server/@dayz/Addons/dayz_anim.pbo (or your @MapModName folder will work too i think.)
-a tool for extracting .pbo files
-Notepad++/text editor
-Navicat or another database editor
Step1:
-Extract dayz_anim and open config.cpp then search for 'cfgvehicles'
Step2:
-Comment( // ) all the vehicles you want out..(list at bottom) I want the A10 fighter jet.
Step3:
-Open navi cat and navigate to your database and find the table name 'vehicle' and scroll to the bottom.
Step4:
-press the + located at the bottom left of the screen and fill in accordingly:
--Id: last id + 1
--class_name: vehicle class name you commented out.. Mine was A10
--the rest are self explanatory.
Step5:
-Open world_vehicle and scroll all the way down. This is where we set the vehicle's spawn point. (You need the id from the last step, mine was 103, a world id, 14 for me, and a coordinate.)If you can create a new row, do so. As for me, I had to overwrite an entry from world 10(a world I dont plan on using).
--id; if you overwrote one, dont touch this. if not, make it one + the last id.
--vehicle_id: the id from the last table.
--world_id: the world's id you want to spawn this into.
--worldspace: coordinates of a spawnpoint for the vehicle.
--self explanatory on the rest.
Step6:
- Almost done! now we need to open instance_vehicle and add it to the game! (NOTE:The vehicle is already in the spawn lists so theoretically you could just use the spawn vehicles batch file, but I haven't tried this myself as I only want this vehicle added.) go down to the last row again and hit the + sign in the bottom left and add another row according to this..
--id: one more than before.
--world_vehicle_id: the id from the last step.
--instance_id: world id
--worldspace: coordinates of where you want it to spawn.
--inventory: what ever you want it to have in it's gear when it spawn
--parts: []
--fuel: 0-1, 0 being 0%, 1 being 100% fuel.
--damage: same as fuel but for damage.
Step7:
-Create a .pbo out of the folder and restart the server and you're vehicle should be there!
Images in order of steps:
http://imgur.com/a/e9R2y
Vehicles:
http://www.dayzsuperhive.co.uk/object-library.html
enjoy
Thanks to Xyberviri for his guide. This was written to further explain his guide.