Scripts
102 files
-
Boot to Mission
By geeko55
This is a rewrite of splash.lua to automatically load into a given mission when the game is booted.
To load to a given mission, find it's name in missions.lua and overwrite the current mission name, or follow the example in the file for custom levels.
Installation
1. Back up your splash.lua file, located at C:\...\Steam\steamapps\common\Teardown\data\ui
2. Replace your splash.lua with the included file.
3. Make adjustments to the level being loaded if desired.
Features
- Cut down on waiting for menus to load for a fresh boot!
- Shorten iteration time while testing mods!
- Load to your favorite level right when you start the game!
10 downloads
0 comments
Submitted
-
Quick Save Saver
By MrAdhit
Installation
There's no installation, just double click it What is this?
This application will save your current quicksave, so you can have multiple quicksave
Original Mod Idea
Question and answer
Help i can't quick load, the button disabled! You need to quick save first then load from the application
Can i have the source code please? Of course you can, it open source! GitHub67 downloads
0 comments
Updated
-
working sniper scope zoom
By noob.
so i made a working sniper zoom but it kinda sucks lol
you will need to put the file to the teardown file and it should work
oh yea it uses the gun and you can download a sniper model from someone else lol
137 downloads
0 comments
Updated
-
Timed Heists
By TheBand
Can I play this fresh in the campaign?
It would not be possible to complete these missions in the set times if you do not have your tools unlocked and possibly upgraded as well.
What is this mod?
Timed Heists is a mod that re-works the objective of the campaign missions.
Missions start with the alarm started as you load in, your goal is to complete the game objectives as quickly as possible with no preparation time and make it within the possible time constraints. Each mission in the campaign has a pre-determined timer that we have tested to be possible. It is balanced to full objective completion and was tested with infinite ammo. A toggle-able Infinite ammo will be included in this mod as I support another mod that allows infinite ammo and it is how this mod supposed to be played. If you do not wish to have the Infinite Ammo included just remove the main.lua within the script folder of the zip.
How do I enable Timed Heists?
Go to Options > Graphics and look for Timed Heists. Enable that and start a campaign mission!
How To Install
Drag the folders within the zip into the Teardown/Data directory.
Credits:
NotInTheBand#6666: Scripter
ognianov#3839: Helped test most of the maps for time-frames possible for completion.
104 downloads
0 comments
Submitted
-
Unlock Weapons and Free Weapon Upgrades
By TheBand
How To Use
Navigate to Teardown Scripts folder and place the wanted game.lua file in the directory and reboot the game.
This is a pretty basic script which really just involved editing a few lines in the stored tables and setting a few bools to true which determine if the weapon is unlocked or not.
1,062 downloads
-
Extended Alarms
By TheBand
How To Use
Replace heist.lua with the corresponding heist.lua file that you prefer in the scripts directory of Teardown.
This mod is currently just a small script edit on line 20 of heist.lua and can be done by anybody themselves without downloading the file if they wish by modifying the level.alarmtimer. I may add a way to modify the timer in-game later when I study the games code a bit more.
220 downloads
0 comments
Submitted
-
Flamethrower: The Mod!
NEW VERSION-----------------------------------------------------------------
Now has its own tool, model made by Sqildo! (F I had to squish the model to 1/2 size.)
Needs sounds.
Also has more fire because new Teardown can handle more.
OLD VERSION-----------------------------------------------------------------
Get rid of that pleb blowtorch, it blows. Get a flamethrower, it's just better.
Once again I'm too lazy to add screenshots. Have a video.
Haha rip people who want me to use MyCresta's weapon system lol.
2,678 downloads
-
Timed Explosions
Based on original script by jackson (https://teardownmods.com/index.php?/file/847-remote-explosive-mod/)
There are 3 improvements:
1) You can use 'H' key to hide placed explosion markers
2) You can set timer between explosions.
3) Another sound file
414 downloads
- explosion
- remote explosives
- (and 1 more)
0 comments
Updated
-
Slow Motion
By YuLun
just made a tiny change on build-in slow motion, change 'Holding T to Enable' to 'Press T to Enable/ Reset'
remember this is for 0.6 only
1,394 downloads
-
Snowy Weather (require 0.50 Experimental)
By Trisek79
A cold weather type for your Teardown maps.
Functions: Draws falling snow across screen if player is outside
78 downloads
0 comments
Updated
-
Custom Weather Mod
Custom Weather Mod
A module to add customizable snow to your map
By Andrew Pratt
(andrewpratt64)
License info in LICENSE.txt
Use the "custom_weather" folder to add this mod to your map
Use the "custom_weather_example_map" folder for an example of how to use this mod
IMPORTANT: This mod is for the experimental 0.5.0 build!
Support for pre-0.5.0 versions MIGHT happen, but not guaranteed
Feel free to use this in any of your maps, and change the files any way you like.
If you upload any maps/mods with this mod in them, please give credit on your mod page/readme/etc.
Options can be changed in custom_weather.lua
Hopefully these can be configured in your map xml file in the future
=HOW TO USE EXPERIMENTAL VERSION FOR TEARDOWN=
1) Navigate to Teardown in your steam libraray
2) Either click the gear icon and hit "Properties..." or right-click Teardown on the left side
of the screen and hit properties from the drop-down list
3) A properties window should now have opened. Click the "Betas" tab
4) Click under where it says, "Select the beta you would like to opt into:"
5) Select experimental in the drop-down menu
6) Close the properties window and start Teardown
=LINKS=
Github: https://github.com/andrewpratt64/TeardownCustomWeather
=INSTALLATION INSTRUCTIONS=
For the mod:
1) Copy the contents of the "custom_weather" folder to your map folder (snow_debug.png is optional, it's only there for debugging)
2) To customize the mod, change the "SNOW_" variables in custom_weather.lua
3) In your lua code, include custom_weather.lua
4) Initialize the mod by calling ()
5) Call CustomWeatherModTick() each frame (use tick() not update()!)
Example file directory:
\Documents\Teardown\mods\my_map
map\my_map.vox
info.txt
main.lua
main.xml
snow.png
snow_debug.png
custom_weather.lua
Example main.lua:
#include "custom_weather.lua" function init() CustomWeatherModInit(); end function tick() CustomWeatherModTick(); end
For the example map:
1) Copy the "custom_weather_example_map" folder into your mods directory (\Documents\Teardown\mods\)
2) From the main menu in-game, click Play->Mods, scroll to "custom_weather" under Local files, then click Play
455 downloads
-
Extra Custom Slots
By The_Wolfian
Extra Custom Map Slots!
This mod simply adds more custom map slots for you to put your maps into and freely swap between
them without having to move files around all the time!
Guide:
To add a map to one of the other custom slots simply drag and drop the map .vox and place it into one of the other folders
For example you download a map called "minecraft.vox" so you place it into the custom2 folder then rename "minecraft.vox" to "custom2.vox"
After that simply load up the game, click create then click on "Custom 2"
Installation:
Extract the zip folder and drag and drop the data and create folders into your Teardown game folder
("C:\Program Files (x86)\Steam\steamapps\common\Teardown")
1,671 downloads
-
Hyperaggressive Security Helicopter
By specman17
A script mod that makes the helicopter's pilot much more trigger happy, ready to fire his missiles, and even more of a prick than he was before. Looks like his contacts came in too, because now he can spot you much faster than before (unless you're hiding in water).
Works for both An Assortment of Dishes and The Chase!
794 downloads
-
0 comments
Submitted
-
OBSOLETE Speedometer
It is a speedometer above the vehicle condition that you can enable in the settings
230 downloads
-
Skip Splash Screen
By MrAdhit
Instruction
Just extract the file to your Teardown folder
191 downloads
-
Sample of Controlled Lights on Vehicles
By YuLun
A sample for how to make vehicle lights controlled by player while driving
Feel free to use in your own mods, no credit required😉
21 downloads
-
elboydos vehicle and mounted gun Script - script only
By elboydo
A mod that enables player controlled turrets through both physics based control and in vehicle control - includes extensions to change fire rate, type, and ammo capacities.
Excerpt from Readme:
ELBOYDOS MOUNTED GUN AND PLAYER CONTROLLED TURRET SCRIPT
Author : elboydo
published 11-11-2020
i dunno, i may extend this readme later.
____________________________________________________________
To install::
Place files within create folder here to your create folder in teardown/create
To enable weapon usage, copy the hud.lua file to teardown/data/ui
IF YOU DON'T WANT TO MESS WITH YOUR HUD.LUA DUE TO OTHER MODS:
copy this line into the "draw()" method in hud.lua
if UiIsMousePressed() then
SetBool("mouse.pressed",true)
else
SetBool("mouse.pressed",false)
end
SetInt("mouse.wheel", UiGetMouseWheel())
if you have these methods already in your hud.lua then happy days, the mods should work fine.
FAILURE TO COPY THE HUD.LUA FILE WILL MEAN WEAPONS WON'T WORK AND ASKING WHY WEAPONS WON'T WORK DUE TO NOT DOING THIS
MAY RESULT IN PANDAS HAVING THEIR FAVOURITE TOYS TAKEN AWAY FROM THEM
Setting configs:
A default config for a mounted gun has been included in this script. description to modify for your vehicular setups as follows:
Always include "#include mountedGun.lua" to enable mounted gun functionality.
config values:
--[[
Vehicle config
]]
vehicle = {
mainName = <VEHICLE NAME> ,
Vehiclename = <VEHICLE BODY NAME>,
CannonName = <VEHICLE TURRET / GUN NAME> ,
CannonJointName = <VEHICLE TURRET JOINT NAME>,
Create = "elboydo",
barrelOffset = <Y OFFSET FROM TURRET TO SPAWN MUNITIONS>
manualControl = <ONLY ENABLE PHYSICS BASED CONTROL - FALSE BY DEFAULT, SET TO TRUE TO BLOCK IN VEHICLE TURRET CONTROL>
}
--[[
Mounted gun config
]]
weaponFeatures = {
armed = <TRUE/FALSE - VEHICLE CAN USE WEAPONS>
timeToFire = <INT - PERIOD OVER WHICH TO FIRE A BURST>,
magazineCapacity = <INT - TOTAL NUMBER OF SHOTS PER BURST>,
reloadTime = <INT - TIME AFTER BURST TO RELOAD WEAPON>,
hasRockets = <BOOL - CAN THE GUN FIRE ROCKETS>,
hasRocketCapacity = <BOOL - DOES THE GUN HAVE A FINITE ROCKET SUPPLY,
rocketCapacity = <INT - TOTAL NUMBER OF ROCKETS THE VEHICLE CAN HAVE>,
rocketStartingAmmo = <INT - NUMBER OF ROCKETS THE GUN SPAWNS WITH>,
startRockets = <BOOL - DOES THE GUN SPAWN WITH ROCKETS LOADED>,
hasMG = <BOOL - CAN THE GUN USE AN MG>,
hasMGCapacity = <BOOL - DOES THE MG HAVE A FINITE MG ROUND SUPPLY>,
MGCapacity = <INT - TOTAL NUMBER OF MG ROUNDS THE GUN CAN HAVE>,
MGStartingAmmo = <INT - NUMBER OF MG ROUNDS THE GUN SPAWNS WITH>,
displayWeaponDetails = <BOOL - DISPLAY EXTRA WEAPON DETAILS ABOUT AMMO LEFT SHOWS ON THE GUN ITSELF>,
rocketExtraconsumption = <INT - DOES FIRING ROCKETS USE EXTRA MUNITIONS (ONLY IMPACTS BURST LENGTH NOT ROCKET AMMMO)>,
rocketReloadPenalty = <INT - EXTRA TIME ADDED TO RELOAD TIME PER ROCKET FIRED>,
ammoBoxMGName = <STRING - NAME OF PROP ACTING AS MG AMMO BOX FOR CHOOSING MUNITION>,
ammoBoxRocketName = <STRING - NAME OF PROP ACTING AS ROCKET AMMO BOX FOR CHOOSING MUNITIONS>
}
733 downloads
0 comments
Updated
-
Elboydo's Armed Vehicle Framework (AVF)
By elboydo
Description:
A framework that enables people to create their own armed vehicles with ease and minimal configuration.
Vehicles will be able to mount an array of weapons from simple machine guns to artillery launchers with ease, each with their own weapon zoom, ammo capacities, and ammo types. Including penetration mechanics.
This will work with any AVF compatible vehicle in any loaded map, provided that they are configured correctly.
Player enabled overrides allow users to modify almost any available weapon parameter to their needs.
INSTALLATION:
ensure you have the latest experimental version of teardown (5.5 at this time), this will not work on any version <5.1. copy the AVF folder into your documents/teardown/mods/ folder. ensure that you activate it as a global mod in the mod tree, this will ensure any AVF compatible vehicle will function as intended. See fig below A demo map is included, called "AVF DEMO" this map has a template tank to help you in making your own vehicles / testing AVF.
quick install video:
CONTROLS:
fire = "lmb", sniper Mode = "rmb", elevate Gun = "c", depress Gun = "x", change Weapons = "r", change Ammunition = "f", deploy Smoke = "g", lock Angle = "j", lock Rotation = "k",
Demo video of functionality:
A demo map is now included to help you in making vehicles with a custom tank setup with its own custom lua script.
Simple vehicle config:
To prepare your armed vehicle, this framework follows this simple concept: A vehicle has a body, a body has a chassis, and a body also may have a turret joint connected to a turret.
A vehicle body and / or a turret may then be connected to a gun joint, so long as a gunjoint is connected to your guns barrel then this script can find it.
a gun joint typically being a vertical hinge that goes up and down.
Quick config for a vehicle is as follows:
add inside tags=""
vehicle -> cfg=vehicle
body -> component=body
vox (for vehicle body) -> component=chassis
vox (for turret) -> component=turret turretGroup=mainTurret
joint (for turret joint) ->component=turretJoint
vox (for gun) -> component=gun weaponType=2A46M group=primary
vox (for gun joint) -> component=gunJoint
This will define a simple tank using a 2A46M tank gun.
The logic for this mod is as follows: You have a vehicle with a body. That body would have a main chassis, this chassis then may have joints connecting to guns, called gunJoints, and then joints connected to turrets, called "turretJoints", these "turretJoints" then may have further "turretJoints" and more importantly "gunJoints".
In theory, you would never need to edit any lua with this code. It is purely XML configs on any compatible vehicle. Through simple XML tags.
While Custom gun sights and sounds may be needed but it's best to embed them within the LEVEL and have a pointer to them in your xml tags.
If you have any custom sights, or sounds, or pre-configed weapons you would like added to the base mod then i would happily include them if you give me the basic info / files, provided you can ensure they would work in normal situations through xml config.
There also is included a custom lua config file which you can utilize by wrapping an editor instance of your vehicle in the script and then modifying the values in there with named keywords to add extra weapons to fit your vehicle.
This was largely made in a day, i may still be hungover, a better description of using this will be provided with potential video application later on when i get round to it. If you have an questions or notice any issues then please don't hesitate t contact me.
CUSTOM MAPS USING AVF
3,909 downloads
-
lights Controllable Vehicle Lights
By MyCresta
This mod allows you to toggle any vehicle lights by pressing 'F'. From normal lights, extra strong lights to off.
Simply add the extracted folder to: Documents/Teardown/mods.
Then enable the mod from the mod menu ingame.
424 downloads
-
super bomb with detonator[Not work]
By dima101130
lay down (i) detonate (k) smoke(u)
a nuclear bomb with a detonator will appear in front of you. move away from the place of laying to a safe distance and detonate
installation to the specified path, unpack the archive: steam \ steamapps \ common \ Teardown \ mods
2,956 downloads
-
endless alarm[Not work]
By dima101130
this makes the signaling time infinite.
Do not be intimidated by the inscription. I'm trying to delete this inscription.
This is my first scenario.
installation: go to steam \ steamapps \ common \ Teardown \ data \ script and replace the file.
for developers:
SetFloat ("level.alarmtimer", 60)
470 downloads
-
performance Performance Mod
By CoolJWB
Moved to https://steamcommunity.com/sharedfiles/filedetails/?id=2419552682
7,207 downloads
-
Teardown Lua Tester
By The_Sink
This mod is a development tool that allows you to execute Lua code inside "Teardown/data/run.lua" while in-game without needing to restart. The most useful feature of this mod is the ability for it to display print() messages and errors, which makes debugging certain code easier, and the ability to easily hook and un-hook functions to the hud.lua's draw() function (which lets you do stuff like draw UI on the screen without modifying any 'core' files).
If you'd like more detailed information on how to use this, visit it's GitHub repository here:
https://github.com/AStainlessSteelSink/TeardownLuaTester
140 downloads
-
Show Player Coordinates
By MrAdhit
Installation
Just drag and drop to your Teardown directory Saving Coordinates
Pause your game Click Save Coords Button Check your last line of savegame.xml file (Normally in your documents/Teardown folder)79 downloads