Corpulio_Hun Posted March 27, 2017 Report Share Posted March 27, 2017 hi all, Someone have a script to disable thermal vision in vehicles?Epoch 1.0.6.1 Thx Corpulio_Hun Link to comment Share on other sites More sharing options...
BigEgg Posted March 28, 2017 Report Share Posted March 28, 2017 In your init.sqf, paste the following code: vehsRemoveThermal = []; In your server_monitor.sqf find: [_object,"damage"] call server_updateObject; Below it add: { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; In dayz_server\compile\server_publishVehicle2.sqf, find: clearWeaponCargoGlobal _object; clearMagazineCargoGlobal _object; Below it add: { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; Done - any vehicle you enter into vehsRemoveThermal will not have thermal. Example: vehsRemoveThermal = ["HMMWV_m998_crows_M2_DES_EP1"]; Shawn, looter809 and Corpulio_Hun 3 Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted March 28, 2017 Author Report Share Posted March 28, 2017 Awesome! Thank you!!!!!!!!! I will try it! It was a big help ! BigEgg 1 Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted March 28, 2017 Author Report Share Posted March 28, 2017 Work fine! Tank u! BigEgg 1 Link to comment Share on other sites More sharing options...
DieTanx Posted March 28, 2017 Report Share Posted March 28, 2017 can also confirm you can add { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; to infistar, and also removed thermal when spawning vehicle also confirmed, you can remove from Virtual Garage this way :) BigEgg 1 Link to comment Share on other sites More sharing options...
Corpulio_Hun Posted March 29, 2017 Author Report Share Posted March 29, 2017 Okay i have it! Virtual garage work now with remove thermal! DePbo dayz_server dayz_server/compile/garage/server_spawnVehicle.sqf open with notepad++ server_spawnVehicle.sqf and find: clearWeaponCargoGlobal _object; clearMagazineCargoGlobal _object; Below it add: { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; and save it and done! P.s.: First u need install virtual garage and upper things put in , this --> In your init.sqf, paste the following code: vehsRemoveThermal = []; In your server_monitor.sqf find: [_object,"damage"] call server_updateObject; Below it add: { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; In dayz_server\compile\server_publishVehicle2.sqf, find: clearWeaponCargoGlobal _object; clearMagazineCargoGlobal _object; Below it add: { if (_object isKindOf _x) then { _object disableTIEquipment true; }; } forEach vehsRemoveThermal; Done - any vehicle you enter into vehsRemoveThermal will not have thermal. Example: vehsRemoveThermal = ["HMMWV_m998_crows_M2_DES_EP1"]; And thx for BigEgg!!! BigEgg 1 Link to comment Share on other sites More sharing options...
gamefail Posted October 8, 2018 Report Share Posted October 8, 2018 Example: vehsRemoveThermal = ["HMMWV_m998_crows_M2_DES_EP1"]; this part can this also be like vehsRemoveThermal = ["Land","Air"]; edit: Nvm it also work like this XD Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now