Garry's Mod

Garry's Mod

38 arvostelua
Ignite or extinguish(Cease Fire Script+)
   
Palkinto
Lisää suosikkeihin
Lisätty suosikkeihin
Poista suosikeista
Content Type: Addon
Addon Type: Tool
Addon Tags: Build, Fun, Realism
Tiedostokoko
Julkaistu
4.199 KB
18.2. klo 3.25
1 muutos ( näytä )

Tilaa ladataksesi
Ignite or extinguish(Cease Fire Script+)

Kuvaus
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 kommenttia
General Malcolm Granger 20.2. klo 0.54 
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  [tekijä] 19.2. klo 16.12 
xd
NextKurome76TheSoldier 19.2. klo 16.04 
pog