Jump to content
TeardownMods

Bomb Hammer + Expandable Debug Viewer 1.0.0

   (2 reviews)

6 Screenshots

About This File

Bomb Hammer is a mod I built for fun and coding practice, and was written with new programmers in mind. Other mods might have fancy custom debug menus, but I'm hoping that my commented code will be easy to follow and teach something to beginners.

Also included is an expandable, beginner friendly structured debug viewer for general or customized use. I've commented the code, and did my best to make this mod friendly and straight forward for new or inexperienced programmers.

The Expandable Debug Viewer will automatically expand its formatting for new entries. Simply define your new line and add it to the table of lines.

This code was made to be expanded and tinkered with, so if you want more bombs, or larger explosions, please read bomb_hammer.lua and mess around! 🙂

How to Use:

1. Place 'explosive wisps' by clicking on a voxel with the Hammer drawn.

  1b. Note, the 'wisps' will only be placed with the hammer drawn, and while the player is not too close to the target area. This was a safety feature I left in when the mod originally just     exploded, even at the player's feet.

2. The number of wisps that can be placed, and their strength, is editable in the bomb_hammer.lua file

3. To explode any placed wisps, click while the Extinguisher is drawn. Exploding wisps will delete them, freeing up room for more wisps!

 

------------------ readme.txt ------------------

This mod uses: 
    (a) Antipolo's Teardown ModLoader utility
    (b) Data Dumper table from lua-users wiki. 

If this mod stops working, try seeing if either your ModLoader's included ui/hud.lua file isn't out of date, or for some reason your inclusion of Data Dumper is misbehaving.

Installation:

1. Back up any files that might be replaced at the installer's discretion.
2. Extract the folders 'mods' and 'ui' to your C:/...<Steam Installation>.../Teardown/data folder
3. In Teardown/data/ui is modloader.lua, use this to toggle mods on or off through comments.

Sources:

(a) 
   https://github.com/antopilo/TeardownModLoader
(b) 
   http://lua-users.org/wiki/DataDumper

Edited by geeko55


User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

How to Disable AdBlock - And why you should do it?

I have disabled AdBlocker. Refresh the page.