Teardown

Teardown

Molotov Cocktail
89 Comments
bingus Sep 26 @ 8:46am 
is this compatable with the playermodel update?
Spy Jun 1 @ 5:25pm 
Niko is about to start another arson spree again~
melon_loves_oil Apr 25 @ 3:17pm 
oh ok
FerdiBerdiii  [author] Apr 25 @ 1:34pm 
Better off asking other modders to be honest. I barely touch Teardown nowadays.
melon_loves_oil Apr 25 @ 12:25pm 
like i mean new ones like rifles guns bombs grenades and stuff
FerdiBerdiii  [author] Apr 25 @ 11:14am 
What do you mean? This tool is only for throwing flame "bottles".
melon_loves_oil Apr 25 @ 10:48am 
ok but can you add more tools?
FerdiBerdiii  [author] Apr 25 @ 8:11am 
If I remember correctly unlimited ammo should fix that.
melon_loves_oil Apr 25 @ 7:12am 
there is a bug that when you use the molotov cocktail in the campaign it does not have ammo
Torc1k Apr 18 @ 3:47am 
░░░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓ spam him to take over steam his name is cheems
Mr. Chest Of Drawers R.Ph. Sep 14, 2024 @ 9:09am 
░░░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓
Wolfycom4 Aug 13, 2024 @ 1:14pm 
░░░░
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█▓▓
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓spam him to take over steam his name is cheems
Slater Apr 23, 2024 @ 5:44am 
░░░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓ spam him to take over steam his name is cheems
GomezX74 Mar 27, 2024 @ 4:05am 
ill try making it my self
MAX Mar 2, 2024 @ 7:13pm 
let us fix that
MAX Mar 2, 2024 @ 7:12pm 
why does this not have 1.8 billion take my points?
GomezX74 Jan 19, 2024 @ 2:32am 
make it look more realistick:steamthis:
Hans the german soldier Jan 12, 2024 @ 2:52pm 
░░░░░░░█▐▓▓░████▄▄▄█▀▄▓▓▓▌█
░░░░░▄█▌▀▄▓▓▄▄▄▄▀▀▀▄▓▓▓▓▓▌█
░░░▄█▀▀▄▓█▓▓▓▓▓▓▓▓▓▓▓▓▀░▓▌█
░░█▀▄▓▓▓███▓▓▓███▓▓▓▄░░▄▓▐█▌
░█▌▓▓▓▀▀▓▓▓▓███▓▓▓▓▓▓▓▄▀▓▓▐█
▐█▐██▐░▄▓▓▓▓▓▀▄░▀▓▓▓▓▓▓▓▓▓▌█
█▌███▓▓▓▓▓▓▓▓▐░░▄▓▓███▓▓▓▄▀▐█
█▐█▓▀░░▀▓▓▓▓▓▓▓▓▓██████▓▓▓▓▐█
▌▓▄▌▀░▀░▐▀█▄▓▓██████████▓▓▓▌
▌▓▓▓▄▄▀▀▓▓▓▀▓▓▓▓▓▓▓▓█▓█▓█▓▓
█▐▓▓▓▓▓▓▄▄▄▓▓▓▓▓▓█▓█▓█▓█▓▓▓ spam him to take over steam his name is cheems
:steamhappy:
someheavyonyoutube Nov 17, 2023 @ 1:26pm 
ferdi ive yet to play teardown in a long time so when i got this noti i thought to my self why am i gettting this. cuz iv been playing gmod alot and making alot of cool things..:demoticon::missing:
FerdiBerdiii  [author] Nov 15, 2023 @ 5:11am 
This was made very early where spawning wasn't possible yet. Originally I wanted to update this mod to spawn an actual bottle after spawning became possible, but I never got around to it.
Surprise Nov 14, 2023 @ 12:57pm 
More like a small fireball
someheavyonyoutube Jul 12, 2023 @ 7:16pm 
this looks like a goodie:aurip:
FerdiBerdiii  [author] Oct 15, 2022 @ 6:30pm 
Thanks :)
frog Oct 15, 2022 @ 9:11am 
i love it this is one of my favorite mods im givvin ya an award
lead Oct 10, 2022 @ 8:05am 
Good mod.
SpaceLavaYT Jul 29, 2022 @ 3:04pm 
Good Mod.
The_BQUICK Jun 11, 2022 @ 8:47am 
Noice.
FerdiBerdiii  [author] May 21, 2022 @ 3:01am 
Good news, that's already possible.
The_BQUICK May 20, 2022 @ 6:56pm 
allow it to break through windows before blowing up...
that would be cool.
Sushi2 May 19, 2022 @ 7:52pm 
more flames?
Broig_Master Mar 27, 2022 @ 6:58pm 
this works great with mods that expands the fire in like seconds
NoIsNo1 Mar 2, 2022 @ 10:45am 
Can you make bottles voxel?
Dale emanuel Wilson Feb 26, 2022 @ 2:01am 
california
Absentx1 Jan 27, 2022 @ 6:14pm 
just like hong kong
Samdaman Jan 25, 2022 @ 5:35pm 
I'm sorry but I'm pretty sure this is not how molotovs work
bumby 106 Jan 4, 2022 @ 11:03am 
arson :steamhappy::steamhappy::steamhappy:
birb Dec 25, 2021 @ 8:27pm 
it would be cool if there was a bit of a throwing animation like the pipebomb, but other than that this is amazing!
FerdiBerdiii  [author] Dec 2, 2021 @ 12:36pm 
Unless I've done something weird, there are three glass sounds that are randomly chosen.
PIPEz5201 Dec 2, 2021 @ 9:07am 
could you make the sounds of the glass more random? id would really give some depth to the mod.
FerdiBerdiii  [author] Nov 19, 2021 @ 2:04pm 
I just saw your message in the discord too. I'll have a look at it tomorrow. I think I know why this is happening.
tacticalyeet Nov 19, 2021 @ 1:47pm 
i love this mod, but i may have found a bug that occured when i opened a maybe 2 day old quicksave for frustrum and as soon as a molotov bursts, some debug text appears, saying string "...tent/a lot of damn numbers lol/main.lua:286: bad argument #2 to 'random' (interval is empty)
Zmcg Oct 1, 2021 @ 11:30am 
I wanted to make a sniper rifle shoot through a wall and fill the room with embers on the other side of the wall. I feel like that would be really effective.
Zmcg Oct 1, 2021 @ 10:53am 
I appreciate the explanation. I like projectiles, I see a lot of potential with that.
FerdiBerdiii  [author] Oct 1, 2021 @ 5:41am 
Oh and deepcopy just means make an original copy of whatever youre deepcopying.

For lua tables are reference types. That means if you give your table to another thing and edit it there. It will edit the table because only one exists.

With deepcopy you can basically a new version of that table. So you don't get a reference to it instead. For that same reason the api recommends the use of VecCopy and such. Because vectors in teardown are just tables too.
FerdiBerdiii  [author] Oct 1, 2021 @ 5:38am 
They're not particles, they do emit particles though.

They're what I'll call projectiles. I basically do all the physics myself. I handle their position and velocity.

The molotovs themselves are also projectiles and are handled similarly.

I just spawn particles on the projectiles position with a relatively short lifetime to make it seem like they're moving along the projectiles path. And use the api spawnfire to burn near embers and the main fire.

Deepcopy isn't a Lua function by the way. Just a way to work OOP in a sense.
Zmcg Oct 1, 2021 @ 2:25am 
I've only done this because I think it's a really fun mod, and I've had a lot of fun with it. I've learned a lot of LUA but the actual thing I want to know keeps escaping me. And I feel like it's RIGHT THERE
Zmcg Oct 1, 2021 @ 1:57am 
I've spent a really long time trying to figure out how to make embers that emit from the hit position and catch things on fire. Or trying to figure out how to deep copy them from this mod. but the lack of information on the internet or the game itself is crazy. Are they particles or bullets? I don't know. I didn't even know what a deepcopy was until last night.
Zmcg Sep 29, 2021 @ 12:07pm 
I found it to be pretty effective if you increase the life of the embers.
WoodenTrainz2009 Sep 21, 2021 @ 6:04am 
heitetää vaa se siitä neuvostoliiton tankkiin!
FerdiBerdiii  [author] Aug 15, 2021 @ 1:43am 
Only wood can be set on fire. Other than that the molotov will just fizzle out. Like I do still believe the conflict shouldn't happen because as far as I know mods can't touch each other except for swapping tools and ammo.

And through registry keys but the mod has to support that.