EpochModTeam / Epoch

Epoch Survival Game Mode for ARMA 3
http://epochmod.com/
Other
91 stars 82 forks source link

Add code to handle enable/disable vehicle TIE #940

Closed morgoth0 closed 6 years ago

morgoth0 commented 6 years ago

Many server owners, including myself, run militarized servers and some of us enable Thermal Imaging Equipment each time that there is a new version of Epoch by going in and changing the server side code.

This change adds a server side variable in CfgEpochServer.hpp called disableVehicleTIE which defaults to true. If left at the default then vehicles will spawn and load with TIE turned off, otherwise they will be turned on.

I have tested both the true and false cases for vehicle spawns and loads and for spawns via the standard Epoch anti-hack. Hopefully did not miss anything.

morgoth0 commented 6 years ago

P.S. If this pull request is accepted and I sincerely hope it is since I do believe that things like this should be configurable by server devs/owners, could someone who has a relationship with Chris reach out to him to ask whether he can mod infiSTAR to use the new variable (not sure whether he will since he disables TIE but does not have code to check CfgEpochServer.hpp at all).