A quick guide to manipulate some of the game files to change or delete time limits, make alarm boxes detachable, view mission object outlines across the whole map, save multiple times and mod some other parts of the game.
Guide to Change and Delete Time Limits
Remove or Alter the Heist Time Limit
To alter the 60 Seconds time limit do this:
- Open SteamsteamappscommonTeardowndatascriptheist.lua
- Go to line 20 or search for
SetFloat(“level.alarmtimer”, 60) - Replace the 60 by any number of seconds you like to have for your heist before you loose.
- Save the heist.lua and start the game
- Have fun!
To freeze the time limit do this:
- Open SteamsteamappscommonTeardowndatascriptheist.lua
- Go to line 125 or search for this:
if GetBool(“level.alarm”) then - Replace it with:
if false then - Save the heist.lua and start the game.
- Alarms still start to sound but the timer is now frozen.
- Have fun!
Save Multiple Times
To save multiple times do this:
- Quicksave whenever you want.
- Tab out of the game and find:
C:Users(Your Username)DocumentsTeardownquicksave.bin - Copy the quicksave.bin, paste it and rename it to something meaningfull, like:
marina_1.save - Tab back into game and repeat at 1) for more saves.
To load one of your copied savegames do this:
- Start Teardown and start any level where you can quicksave.
- Quicksave the game.
- Tab out of the game.
- Replace/Overwrite C:Users(Your Username)DocumentsTeardownquicksave.bin with any of your previously saved games (like the marina_1.save ) by copying it and renaming it back to quicksave.bin
- Tab back into the game and quickload.
- Have fun!
Remove Fire Alrams
- Open the SteamsteamappscommonTeardowndatascriptheist.lua file
- Find
if pFireAlarm and GetFireCount() >= 100 then - Replace it with
if false and GetFireCount() >= 100 then - To get rid of fire alarms.
- Save the file.
- Start Teardown.
- Have fun!
Make Alarm Boxes Detachable/Carryable
- Open the file SteamsteamappscommonTeardowndatascriptalarmbox.lua
- Find these lines at the bottom of the file:
if type == FIXED_STATIC then
if IsShapeDynamic(box) then
triggerAlarm = true
end
elseif type == FIXED_DYNAMIC then
local currentMass = GetBodyMass(GetShapeBody(box))
if currentMass < 0.5 * initialMass then
triggerAlarm = true
end
elseif type == JOINTED_STATIC then
if IsJointBroken(joint) then
triggerAlarm = true
else
local s = GetOtherJointShape(joint, box)
if IsShapeDynamic(s) then
triggerAlarm = true
end
end
elseif type == JOINTED_DYNAMIC then
if IsJointBroken(joint) then
triggerAlarm = true
else
local s = GetOtherJointShape(joint, box)
local currentMass = GetBodyMass(GetShapeBody(s))
if currentMass < 0.5 * initialMass then
triggerAlarm = true
end
end
end
- Either delete them or change each triggerAlarm = true to triggerAlarm = false
- Start the game and have fun with detachable alarm boxes.
Show Mission Targets Across the Whole Map
- Open SteamsteamappscommonTeardowndatascriptheist.lua
- Find this lines:
if dist < 8 then
if IsBodyInteractable(targets[i]) then
DrawBodyOutline(targets[i], 1.0)
else
DrawBodyOutline(targets[i], 0.6*(1-dist/8))
end
end
- Replace them with
if dist < 10000 then
if IsBodyInteractable(targets[i]) then
DrawBodyOutline(targets[i], 1.0)
else
DrawBodyOutline(targets[i], 1.0)
end
end
- Save the file.
- Start Teardown and have fun!
Be the first to comment