Garry's Mod

Garry's Mod

31 ratings
Destructible Tool
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
5.118 KB
2 Sep @ 2:31am
1 Change Note ( view )

Subscribe to download
Destructible Tool

Description
(in English)
supported in mod

Description of the “Destruction Tool”

Controls

LMB on the prop: marks it as destructible and it can be broken.
After marking this object, you can deal damage in any way (shooting, physics, etc.) - when the HP reaches zero, it explodes. (In the settings, you need to set the HP to the prop, for example, a crowbar deals 10, and if you set that much, the crowbar will break it right away)

Settings panel
Drop model paths (up to 20): enter the paths to the prop models that can drop.
Object durability: sets the amount of damage required for destruction.
Drop amount: how many random props specified will be spawned upon destruction.
Drops without collision (turn off collision like for debris near a box).
Auto-delete drops after 5 sec.

How it works If you specified, for example, 10 different paths in the model list, but set “Drop amount” to 3, then when destroyed, exactly 3 props will drop, randomly selected from your list. They will respawn in random directions around the destruction point and behave according to the options you specified.






(на русском)
в моде не поддерживается

Описание инструмента “Инструмент Разрушения”

Управление

ЛКМ по пропу: помечает его как разрушаемый и его можно будет сломать.
После пометки на этот объект можно наносить урон любым способом (стрельба, физика и т. д.) — при достижении нуля хп прочности он взрывается. (хп пропу в настройках надо поставить например лом наносит 10 и если поставить столько то лом сразу сломает)

Панель настроек
Пути моделей дропа (до 20): введите пути к моделям пропов, которые могут выпадать.
Прочность объекта: задаёт количество урона, необходимое для разрушения.
Количество дропа: сколько рандомных пропов указаных будет заспавнено при разрушении.
Дропы без коллизии (выключить столкновение как у обломков у коробке).
Автоудаление дропов через 5 сек.

Как это работает Если вы в списке моделей указали, например, 10 разных путей, но в “Количество дропа” установили 3,
то при разрушении выпадут ровно 3 пропа, случайно выбранных из вашего списка.
Они будут респауниться в случайных направлениях вокруг точки разрушения и вести себя по указанным вами опциям.

3 Comments
CARCAT 8 Sep @ 7:33am 
i've used it a bit, i have a few suggestions that i think can make this better. maybe an option to play a selected sound whenever the prop breaks or a way to have it so the props that it spawns don't spawn right in the center and instead in like a chosen area or multiple chosen areas of the prop
CARCAT 7 Sep @ 7:32am 
holy crap i've always wanted an addon that does this exact thing THANK YOU
Electric Kool-Aid 4 Sep @ 5:24pm 
this is cool, I like destructible props. A feature I would love (if possible) would be able to assign and save a specific prop with destructible properties which affects that specific prop anytime it's spawned/already present in the map. The addon is still in beta so I have hopes. Still very cool tool for set building for combat :6face: