Teardown

Teardown

42 ratings
Destructible robots - Compatible mods
   
Award
Favorite
Favorited
Unfavorite
Description
Every mod in this list had specifically added support for Destructible bots.

Are you a developer yourself and you want to add support too?
Here is all you need.

There are two types of projectile methods usually one uses the vanilla shoot() function and the other uses a combination of Makehole + Raycast.

Adding support for shoot() Methode
If you use shoot() all you need to do is to add the following lines before you execute shoot()

SetString('level.destructible-bot.weapon',"weapon name") SetFloat('level.destructible-bot.damage',damage) SetFloat('level.destructible-bot.hitCounter',hitcounter)

Adding support for Raycast + Makehole

In order do add support for Raycast + makehole you need to add a few more lines

function destructiblerobots(pos,damage,hitcounter) local hit, point, n, shape = QueryClosestPoint(pos, 0.3) if HasTag(shape, "shapeHealth") then if tonumber(GetTagValue(shape,"shapeHealth"))-damage < 0 and not HasTag(shape, "body") then RemoveTag(shape,"unbreakable") end end if hit then SetFloat('level.destructible-bot.hitCounter',hitcounter) SetInt('level.destructible-bot.hitShape',shape) SetString('level.destructible-bot.weapon',"weapon-name") SetFloat('level.destructible-bot.damage',damage) end end

For the function to work you need to pass the hitpos of your bullet or if you use queryraycast just set the hitshape yourself.
Call the destructible robots function once you detect the that the bullet hit a surface.

What does each value do?
Weapon name Can be freely chosen
damage Determins how much damage a shape will get from your gun
hitcounter An internal counter that counts how often the bot was shoot. If the counter reaches 15 the bot will get knocked out but wont die.

Some tip and tricks:
- If you got a fast shooting weapon its recommended to lower the damage value to not just shred every robot same goes for hitcount
- If you need to dial in damage or you need some extra infos you can toggle a debug mode by settings this value before shooting
SetFloat('level.destructible-bot.debug',true)

Items (27)
Destructible robots
Created by DimasVoxel
New wave based challenge mode! Activate it through the options menu. Survive as long as you can while fending off oncoming robot waves. Wave mode based on Robot Rampage, taken with permission from the original creator. https://steamhost.cn/steamcommunity_com/sharedfile...
Realistic Hydration System
Created by DimasVoxel
THE MOD YOU NEEDED Press E / Interact button to wee Dont forget to drink or you die Presnting to you the long avaited Wee MOD 2 (amazing) This mod adds drinking, thirst and a way to relieve your bladder. Subscribe to Wee and add realism to the game you did...
Destructible Helicopter
Created by DimasVoxel
Lets you spawn a destrutible chopper. May contain bugs...
Squirt Gun
Created by DimasVoxel
Makes everything wet and extinguishes fires. rightmouse button increase strength / rightmouse button + shift decrease strength...
Super Man
Created by BattleBob72
Play as Super Man with all of his powers - Version 4.0 Controls Left click: Left and Right Punch Attack Right click: Lunge Attack and Directional Speed Boost Space bar + Up,Down,Right,Left: Directional Flight Shift: Hover in Place "C" Key: Blow Small Thing...
Corno di Marte
Created by Fitne Por
An overpowered Carcano rifle that fires much faster than a bolt action rifle has any right to, has a penetration rating of 6 voxels, AP rated to 16, and a "critical hit" chance (to either make a bigger hole or explode on any penetration). Bayonet can cut t...
K11
Created by Fitne Por
OICW with 5.56 rifle attached under a 20mm smart grenade launcher. Now with dynamic recoil and spread. Tap the trigger carefully for good accuracy. Now features support for Dima's destructible robot framework. Controls V: Toggle grenades C: Switch grenade ...
M1 Garand
Created by My Cresta
Iconic M1 Garand. Press R to reload. Right-Click to go into Iron Sight. Thanks to Jude Johnstone for the idea and helping with the files....
M16A1
Created by Fitne Por
The M16A1 assault rifle. Happens to have some "shock" ammo that can be selected with the "C" key. Although extremely weak (only very tiny holes if any), said ammo makes very loud crackling on impact which may be useful when you're being Hunted (wink nudge)...
AK-47
Created by My Cresta
Standard AK-47. Press R to reload. Options for unlimited ammo. Vox model made by Alagabry....
R93
Created by Fitne Por
High power bolt action rifle. No penetration but builds up power and speed with each successive shot as long as the rifle keeps firing. "B" for left handed mode, projectiles have impact impulse. Camera recoil included but optional. There's an optional "ver...
Ice Gun
Created by BattleBob72
Arctic Avalanche, Blizzard Blaster, Cold Cannon, Freeze Fountain, Glacial Gat, Snow Shooter, Winter Weapon... You get the idea. VERSION 2 Controls Left click: Freeze Objects with Ice Build Up Left click + Right click: Blow Objects Away with a Cold Wind Bla...
Glock-18
Created by MythRillin
Made by stealing creation's code (they let me upload this to workshop), go download his ump-45 mod, it is amazing! Original description: ( Alot Of Development ) thanks to *Please Pick a Name* / inspect with "G" Key Hold "T" to change weapon attachments whi...
SP21
Created by Fitne Por
Gunblade and automatic support weapon (aka an LMG) in one, the weapon of 2061. Increased stability when fired from crouch or the lower blade is rested against a surface. Left handed position. Controls C: Activate blade to cut other objects X: Lunge when bl...
HK-416 By PPAN
Created by Please Pick a Name
HK-416 the famous HK-416 from by Heckler & Koch, Now available in Teardown for you to enjoy NEW Updates: • As popular demand, the Gernade Launcher is now unlocked for everyone • Adjusted the gun position AGAIN (will need to figure something out for this) •...
SPACA
Created by Fitne Por
Oversized high-tech anti-air rifle, 2061 grade. Also a high end sniping system. Features dynamic recoil system and impulse on projectiles. Sweet Dreams of the sweet Dreamer. Now features support for Dima's destructible robot framework. Controls X: Enable/d...
SPzH3000
Created by Fitne Por
Extremely powerful high-tech rocket launcher with auxiliary assault rifle, fresh from 2061. Now features support for Dima's destructible robot framework for the gun. Controls V: Toggle rockets or gun X: Toggle airburst mode (penetrates 6 voxels to break wi...
ST AR-15
Created by Fitne Por
A tactical spike and a pipe hitter, blessed by the STARS. Dual wielded goodness. Full auto despite the name, I didn't listen to the ATF. Tap carefully, for this weapon features "microbursting". Also features dynamic recoil and spread. Projectiles have impa...
Super SASS
Created by Fitne Por
SUPER SASS. SUPER STRONG. XM110 reject. Warning: got some weird attribute to the shots. Now features support for Dima's destructible robot framework. Controls X: Enable/disable scope (if you want to grab things) V: Activate charged shot (MASSIVE bullet hol...
TKB-408
Created by Fitne Por
The Soviets rejected this for the now iconic AK. Now features support for Dima's destructible robot framework. "B" for left handed mode, has dynamic recoil system and spread. Burst fire recommended. Random "crit" chance to make a much bigger hole per shot....
Vector
Created by Fitne Por
Extremely rapid-firing SMG, weak but with big shooty speed. "C" to switch between normal and incendiary ammo. Fitted with suppressor. Tap rapidly to "micro burst" and minimize spread. Left handed mode with "B". Dynamic recoil included. Now features support...
ExoSuit Mod
Created by Zigbert
You can run faster, jump higher, and while you do it, a trail of destruction is left behind! 7 Attachments and counting! Use the Exo-suit tool in the 6th inventory slot. RMB to scroll through spawnables LMB to spawn The mod works with the "Destructable Rob...
Annihilator
Created by Dzage
High-powered, robot-shredding, ultra-shotgun....
Enforcer (UPDATE 4)
Created by Dzage
Enforcer minigun (shells, particles and sprites) 100 rounds per second, loads of shells, explosions at will. LMB - shoot. RMB+LMB for explosive rounds. Ladies and gentlemen, the bad boy is finally out. Meet and greet... The Enforcer. Material-based particl...
Modded Choppers
Created by Fitne Por
Default choppers, heavily modded with stronger guns, modified AI and most importantly, health. Copy to local to get the scripts and then copy paste the data/script folder contents to the game's data/script if you wish to use them in campaign, or enable the...
Transformers Particle Cannon
Created by nubster nugget
BEHOLD! GALVATRON HAS BEEN DISARMED! USE HIS PARTICLE CANNON AT YOUR OWN WHIM!! This is a recreation of the classic G1 Galvatron's iconic Particle Cannon. Credit to KBD2 for allowing me to use his DOOM Plasma Rifle as a base code. This mod is compatible wi...
Transformers Fusion Cannon
Created by nubster nugget
BEHOLD! MEGATRON HAS FALLEN! USE HIS FUSION CANNON AT YOUR OWN WHIM!! This is a recreation of the classic G1 Megatron's iconic Fusion Cannon. Credit to KBD2 for allowing me to use his DOOM Plasma Rifle as a base code. This mod is compatible with the "Destr...