

These weapons spawn on the vehicle when purchased and remain after restart. For example, You obviously do not want to put a "GBU12_Bomb_Launcher" on an "ArmoredSUV_PMC", or "MLRS Rocket System" on the "ArmoredSUV_PMC". WARNING: Not all Weapon Systems work with all vehicles. If you do this, you will want to save that as a new file such as : "D81_125mm_Cannon_SABOT_ONLY.sqf. You could comment out an Ammo Type as shown Below. In the file: "\z\addons\dayz_server\Vehicle_Weapons\Vehicles\Weapon_Systems\D81_125mm_Cannon.sqf". For example, list all guns, then all missiles so they are grouped together in your scroll menu for easier selection.įor Weapon_Systems that have multiple ammo types, You can go into that specific file and comment out an ammo type or make an extra file with just the ammo you want if you want to restrict it from your server. Rearrange the Weapon_Systems in an order that makes sense to you. Make a new #include "\z\addons\dayz_server\Vehicle_Weapons\vehicles\_Add_Weapons.sqf" line with your new vehicle file and add it to "\z\addons\dayz_server\Vehicle_Weapons\Add_Vehicle_Weapons.sqf" Ĥ. Comment out or Delete the Weapon_Systems that you do not want to use on your new vehicle.ģ.

Replace the with the actual classname of the vehicle you want to add weapons to.Ģ. This way, you just need to #include which weapon systems you want to add into each vehicle that you want to modify. What I did is took their information and made it modular and easier to install / customize. This mod and code is not all my original work.Ĭredits for the "Hacked Vehicles" for his input in Bricktop's release on how to install it differently and to add support for Virtual Garage. Based on Hacked Vehicles release Additional code here:
