0 of 0

File information

Last updated

Original upload

Created by

peopleonmodworkshop

Uploaded by

zappypantz

Virus scan

Some suspicious files

Tags for this mod

About this mod

Old version of mod that removes turrets because the new version may or may not work for people.

Requirements
Permissions and credits
A while ago this mod https://modworkshop.net/mod/24776 was updated for some reason, and after that the turrets started spawning anyways. So it seems the new version doesn't really actually work (at least for some, including me). But in the old version the turrets still get removed. So I felt like I'd upload the old version here since this would probably get deleted on MWS or something.

Anyways, enjoy, cause turrets are stupid anyways, lol.


Update:
Since virus total doesn't seem to like the lua file code, just make an lua file named sentrygunbase.lua and paste this code below in it (or overwrite the current version's lua with the code below):

local STOPTURRETFROMSPAWNPRODUCE = SentryGunBase.activate_as_module
function SentryGunBase:activate_as_module(team_type, tweak_table_id, ...)
STOPTURRETFROMSPAWNPRODUCE(self, team_type, tweak_table_id, ...)
if tostring(team_type) == "combatant" or tostring(tweak_table_id) == "swat_van_turret_module" then
self._unit:character_damage():disable(nil, "explosion")
end
end