Remove Weapons/Ammunition from Vehicle EPOCH VERSION
vers. 1.0.2
Remove Thermal/Nightvision from vehicle guns
vers. 1.0.0
vers. 1.0.2
Remove Thermal/Nightvision from vehicle guns
vers. 1.0.0
Removes selected weapons and/or ammunition from selected vehicles. It does it for every spawned vehicle on server restart, for every vehicle bought at trader, for every vehicle random spawned by Epoch (this is not 100% confirmed, because you only can buy those vehicles on our server)
Requirements (inc. Tools(must include dowload link)/ Expected Time/Difficulty)
Installation Steps:
- Download the Files
- Extract the files into your workspace, get your Server.pbo also extracted here.
- Open your server_monitor.sqf (found in the system folder), your server_functions.sqf (found in the init folder), your server_publishVehicle2.sqf and your server_publishVehicle3.sqf (both are in the compile folder)
- Copy the fnc_remWepSG.sqf into the compile folder of your server.pbo
- Go to your server_functions.sqf and add this right after the fnc_plyrHit......
Code://Fnc for removing weapon by SiothieGaming fnc_remWepSG = compile preprocessFileLineNumbers "\z\addons\dayz_server\compile\fnc_remWepSG.sqf";
- Go to your server_monitor.sqf, server_publishVehicle2.sqf and server_publishVehicle3.sqf and add this
Code://Remove Weapon by SiothieGaming start call fnc_remWepSG; //Remove Weapon by SiothieGaming end
Code:clearWeaponCargoGlobal _object;
- Save everything, pack it upload it and you are good to go
.
The Thermalscript is right now enabled in the files. It is still in beta testing and could screw up your whole Server.
To disable it put // infront of everything related to it in the fnc_remWepSG.sqf.
FAQ -
- Just follow the same scheme for removing/adding weapons i already use in the examples i gave you in the fnc_remWepSG.sqf -- for further Explaination go here: OpenDayzLink
Last edited: