Teardown

Teardown

66 ratings
Upgraded C4
2
   
Award
Favorite
Favorited
Unfavorite
Type: Global
Category: Tool
File Size
Posted
Updated
179.799 KB
16 Sep, 2021 @ 3:00pm
7 May, 2022 @ 1:41am
7 Change Notes ( view )

Subscribe to download
Upgraded C4

Description
Edit of Punished Bernadetta's C4 mod
(All credits go to them, original mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2415643616).

Remote detonated explosives. Left mouse button to plant, K to detonate, P and L to change explosion size, O to change delay between explosions, Z to remove last placed bomb.

Planted bombs will use the explosion size and delay that were active when the bomb was planted, allowing a mix of sizes and delays to be used at the same time. The first/next bomb that will detonate has a red LCD screen, allowing users to easily follow a chain of explosions.

Update 07/05/2022:
- Added a model for the tool.

I probably won't do much else for this mod as I feel like it's in a decent spot right now.
The only thing I might do sometime later is making the bombs actual voxels instead of sprites, however this may need a significant rewrite of the mod to support this..
(And of course I'll be fixing bugs when they arise and listening to community feedback)


Important config options: Global vs own size/delay toggle and sprite level. Setting the size/delay toggle to 'global' makes the C4 behave like the original mod where they all share the same size and delay.
Setting it to 'own' makes bombs remember the size and delay that were active when placed. This takes a tiny bit more memory and therefore may lag the game sooner than if you were to use 'global'.

The sprite level ranges from 0 to 4 and are as follows:
0 = Invisible bombs, draws 0 sprites (fastest)
1 = Simple 2D bomb, draws 1 sprite (slightly slower)
2 = Simple 3D bomb, draws 6 sprites, no bomb info is shown (slower)
3 = Simple 3D bomb, draws 8 sprites, shows bomb size, bomb delay and first bomb in line for each stage (slowest).

If you have a relativly weak PC/Laptop or you simple want to place a ridiculous amount of C4, then using global size/delay and a sprite level of 0 may yield better performance.
Here are some rough stats from tests on my gaming laptop:
- Global vs local size/delay seems to differ only a little bit, so the performance drop for using local is minimal. I used global for the sprite tests.
- A sprite level of 0 allowed me to place over 1000 C4 charges without dropping below 60 FPS.
- A sprite level of 1 allowed me to place about 250 C4 charges before I started to drop below 60 FPS
- A sprite level of 3 allowed me to place between 40 and 70 C4 charges before I started to drop below 60 FPS

Note about the above tests: These were done on my own laptop with some other programs still running (because I needed them for other things), so results may vary.

(To Punished Bernadetta: If you want to include parts of this edit in your official version, feel free to do so. If you want this mod removed, please let me know.)
22 Comments
Tal'Raziid 21 Dec, 2024 @ 10:06am 
Cool, cool
SlimeAttack07  [author] 21 Dec, 2024 @ 3:20am 
@Tal'Raziid I haven't made any changes to this mod in a long time and as far as I'm aware there haven't been any Teardown updates that could break it. I know this mod still worked last month since I used it a bit myself, so I assume it still works. Could be that the original mod pushed an update that contains a bug that broke it, you'd have to check their change notes page to find out when it last updated.
Tal'Raziid 19 Dec, 2024 @ 4:21pm 
This mod still work? Apparently the OG has some problems nowadays?
Hitman850 4 Jun, 2024 @ 9:41am 
:)
Hitman850 4 Jun, 2024 @ 9:40am 
i.ve been subed to!
Hitman850 4 Jun, 2024 @ 9:36am 
i fricking sreached dog and this poped up like bro and more C4 did to >:(
SlimeAttack07  [author] 23 Apr, 2023 @ 9:01am 
@dying spy Not sure what you mean exactly, but sounds to me like you have a performance mod active in conjunction with this mod (aka explosion -> makes small pieces -> other mod deletes small pieces). You might want to check your active mods (or disable all other mods and see if the problem persists. If the problem disappears, then its definitely another mod causing it.)
Sarris Milk Chocolate Pretzels 22 Apr, 2023 @ 7:29pm 
Why do my C4s just delete whatever it explodes afterwards?
CheerioMonst3r 29 Sep, 2022 @ 3:37pm 
way better than the original
sim19 28 Apr, 2022 @ 10:44am 
@SlimeAttack07 that sounds great!