7 Days To Die

File information

Last updated

Original upload

Created by

DUDSS

Uploaded by

DUDSS

Virus scan

Safe to use

About this mod

This mod adds placable explosive blocks like TNT, C4, IED and dynamite as well as utility blocks that allow connecting explosives together using special explosives or electricity.
The goal of this mod is to make controlled explosions easier to achieve.

Permissions and credits
Mirrors
Note: The mod is somewhat compatible with Alpha 20, there are some details that I'm not happy with that I'll try to change in an update.

Intro
The only meaningful explosive in the game up until now is throwable dynamite that when placed on the ground eventually despawns. This mod aims to change that.
If you like the mod an endorsement/like would be appreciated.

New blocks
Explosives:
  • Dynamite - A placeable version of the throwable dynamite.
  • TNT - A powerful explosive that destroys everything in its path.
  • C4 - A special explosive that doesn't damage dirt.
  • IED - An improvised explosive that only damages zombies and players.
Utility:
  • Detonation cord - Can be used to connect explosives together.
  • Explosion chainer - Device that triggers nearby explosives.
  • Electric detonator - A way to connect explosives to electricity.


Description

Several explosives are added by this mod.
Placable dynamite block that has the same stats as throwable dynamite. For more destruction, there is the TNT block with more range and damage.
C4 is very similar to TNT, only difference is it doesn't damage dirt. This is useful when used as a breaching charge as the ground below a wall won't get damaged. Finally, IED is an explosive purely meant to be used against zombies and players, it deals damage comparable to 3-4 grenades. It doesn't damage terrain/buildings much.

To achieve more control over explosions two new chaining explosives were added. Detcord and explosion chainer.
Both of these do not deal any damage but trigger the bigger explosives when detonated nearby.
Detcord has a tiny range of 1-2 blocks and the explosion chainer is more of a remote solution, with a range of around 10 blocks.

Furthermore to allow hooking up explosives to electricity (and thus stuff like pressure plates / trip wires), there is the detonator block.
This detonator can be connected to a battery and when powered ignites any explosive from this mod that is placed next to it (in the direction the detonator is facing).
Since the detonator may or may not be a modified dart trap, it also requires a detonator fuse item to be inserted into it. Just one is enough.

Overall these blocks enable, for example, controlled building demolitions or some somewhat overpowered traps employing electricity.

Remarks and known issues
All items in the mod are craftable. Placed dynamite can be crafted from regular dynamite in hand so it doesn't need to be unlocked.
TNT is unlocked using the tier 3 demolitionist skill or by finding a schematic.

It should be possible to find TNT in loot, but I haven't tested it.

Note that explosions in this game only "penetrate" one block deep, eg. only blocks directly "visible" from the explosion can be damaged.
Meaning that no matter how powerful, a single explosion won't go through a 2 block wide wall even if it was made out of paper.
Keep this in mind and when needed to blow through multiple block "layers", place multiple explosives down. A single TNT will destroy a steel block, but won't scratch the second layer of a 2 block wide wooden wall. 2 TNT blocks though, thats a different story. Fun pimps, please fix.

All explosions seem to "originate" from the corner of a block rather than the centre, that's usually not noticable but in case of the low range detcord, its pretty clear that the detcord explosion particles (in this case the vomit particle effect), are slightly offset to the left/right forward/back. This also changes what other explosives the detcord can reach. If anyone knows how to fix this, that'd be nice.

Detcord shape variants are purely decorative.

How to install
1. Place the folder containing this file into your 7 Days to die "Mods" folder.
2. Done!

Example of the mod in action can be found here:
https://www.youtube.com/watch?v=4JaX5F2bm24
and here:
https://www.youtube.com/watch?v=YsJf8um8gBY

7 Days to die forums link:
https://community.7daystodie.com/topic/25109-tnt-mod-placeable-explosives/

Changelog
v1.1
  • Added C4 block
  • Added IED block
  • Increased TNT hp from 5 to 20
  • Increased explosives stack sizes from 20 to 50
  • Fixed mod items not showing up in loot
  • Fixed incomplete item descriptions

v1.0
  • Initial version