Ignite or extinguish(Cease Fire Script+)

If you liked this item, please rate it up on Steam Workshop page.

Author: Nicolai SeveN

Last revision: 18 Feb, 2025 at 10:25 UTC

File size: 4.2 KB

On Steam Workshop

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.