Garry's Mod

Garry's Mod

27 ratings
Ignite or extinguish(Cease Fire Script+)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Realism
File Size
Posted
4.199 KB
18 Feb @ 3:25am
1 Change Note ( view )

Subscribe to download
Ignite or extinguish(Cease Fire Script+)

Description
I'm back.

And I want to share one improved script, with the help of Chat GPT 4o, which is based on this addon.

What was changed?

The original hooks that scan for prop ignition after taking explosion damage(DMG_BLAST) and the sudden extinguishing timer are still used, BUT:

The player (host) has access to several console variables, where you can optionally add and remove the prop material you need.

How to use?
Just check demo
or textual absorption:

After loaded on the any map, open game Console by pressing "~" key(if not, check Options -> Keyboard -> Advanced -> mark checkbox Enable Console), then Ctrl+C, Ctrl+V from here:

Console Variable
Description
flammable_add
Literally adds your material to the list that will ignite after taking explosion / fire damage, example: floating_metal_barrel(default hl2 red oildrums)
flammable_list
Show in Console current list of materials that set as flammable
flammable_remove
Delete prop material from list(prop will not burning after taking explosion / fire damage)

WORKS ONLY WITH BREAKABLE PROPS! ! !

Note 1: On first launch script will protecting ALL props from igniting!
You will need to add the materials you need yourself through the console!

Note 2: Only host / admin can change these CVars.

Note 3: All your entered materials will be permanently saved(until you delete them yourself via the command "flammable_remove") and will work even after restarting the game.

Note 4: To get prop material name try this addon, it will show you on monitor selected material.

I'm not so sure that this script can and most likely will conflict with other scripts of similar topics. Unfortunately I don't have time for full conflict testing, so if you have any errors, let me know in the comments or start a discussion thread.


Credits:
Original script
improve ideas
script creator[chat.openai.com]

If the original author request to remove it, the addon will be removed and sent for internal revision.
3 Comments
General Malcolm Granger 20 Feb @ 12:54am 
ngl having AI make mods would be nice cause i could have a mod made specifically for me and before any one says anything every addon dev here on the steam workshop DOES NOT GET PAIDED
Nicolai SeveN  [author] 19 Feb @ 4:12pm 
xd
NextKurome76TheSoldier 19 Feb @ 4:04pm 
pog