Garry's Mod

Garry's Mod

118 个评价
Simple Contraption Damage
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 工具
插件标签: 建筑, 快乐, 写实
文件大小
发表于
更新日期
20.733 KB
2024 年 5 月 3 日 上午 9:24
2024 年 5 月 25 日 上午 9:14
7 项改动说明 ( 查看 )

订阅以下载
Simple Contraption Damage

描述
About
Do you like fighting your friends on your own custom-made death machine? Do you want to add some actual stakes to that but using E2/Starfall health chips is way too inconvenient? Well, this is a tool exactly for that.

This tool allows you to make any contraption destructible. Unlike addons like Simple Prop Damage/Prop Destruction this addon will not affect every prop. Also all props in a contraption share a single health pool which depends on their total weight.

After not receiving damage for a certain amount of time (120 seconds by default) a contraption will begin to heal slowly.
Usage
Click on your contraption with 'Contraption Core' tool. All attached props will be added automatically. Please note that this process will occure only once so if you add/remove props after spawning a Contraption Core they will not be detected. However, you can manually cause a recalculation by either updating the Contraption Core with the respective tool or by clicking 'Recalculate Health' in the Contraption Core's property menu.
Features
  • Numerous effects for when a contraption gets destroyed/badly damaged
  • AoE damage counts only once
  • Wire compatibility
  • Can be duped with Duplicator/Adv Dupe 2
  • CPPI compatibility
Server commands
  • 'scd_max_health' - Maximum amount of health a contraption can have (50000)
  • 'scd_health_multiplier' - The total weight of props in a contraption will be multiplied by this number to get its total health (2.25)
  • 'scd_allow_health_override' - If set to 1 players will be able to enter their own amount of health
  • 'scd_regen_delay' - Time in seconds before contraption will start regenerating health after it took damage. Set to -1 to disable regeneration entirely (120)
  • 'scd_regen_amount' - Amount of health the contraption will restore per second relative to max health (0.02)
  • 'scd_force_friendly_fire' - If set to 1 players will always be able to damage their contraptions (0)
热门讨论 查看全部(1)
0
2024 年 5 月 9 日 下午 6:54
Incompatible addons
Exotetere
24 条留言
chicken nugget gaming 1 月 8 日 下午 4:43 
amazeing!!!1!!111!1
doctor dala 2024 年 8 月 25 日 下午 2:34 
wait what the fuck you made this?
Spaceman Spiff 2024 年 8 月 22 日 下午 2:16 
idea: have a setting that makes the destruction effects appear on random parts of the contraption instead of just on the core
.kkrill  [作者] 2024 年 7 月 6 日 上午 1:58 
@HECU Soldier make sure that scd_allow_health_override is set to 1
The Courier 2024 年 7 月 5 日 下午 9:49 
if I use the health override, the health will not decrease.
.kkrill  [作者] 2024 年 6 月 29 日 上午 1:15 
@DeceasedBrain (trueidiot_YT) can't you just use the thing on an existing dupe?
DeceasedBrain (trueidiot_YT) 2024 年 6 月 28 日 下午 3:15 
im trying to find dupes using this addon how can I find dupes using this addon
burntfrenchfries 2024 年 6 月 9 日 下午 3:14 
something about "bobs guns" assumedly or m9k
random beans 2024 年 6 月 9 日 下午 3:01 
[Simple Contraption Damage] lua/weapons/gmod_tool/stools/contraption_core.lua:264: Tried to use a NULL entity!
1. SetMaterial - [C]:-1
2. fx - lua/weapons/gmod_tool/stools/contraption_core.lua:264
3. Destroy - lua/entities/gmod_contraptioncore.lua:179
4. ProcessDamage - lua/entities/gmod_contraptioncore.lua:163
5. v - lua/entities/gmod_contraptioncore.lua:137
6. unknown - lua/autorun/hook_inspector.lua:229
7. FireBullets - [C]:-1
8. ShootBullet - lua/weapons/bobs_gun_base/shared.lua:350
9. ShootBulletInformation - lua/weapons/bobs_gun_base/shared.lua:306
10. unknown - lua/weapons/m9k_dbarrel/shared.lua:140

i have no idea what's causing this problem
burntfrenchfries 2024 年 6 月 4 日 下午 6:46 
please unweld plz plz puhleaaase!