Garry's Mod

Garry's Mod

442 个评价
Arctic's Vehicle Damage v1 (Obsolete)
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 载具
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
33.470 KB
2016 年 1 月 9 日 上午 9:10
2016 年 6 月 11 日 下午 12:14
32 项改动说明 ( 查看 )

订阅以下载
Arctic's Vehicle Damage v1 (Obsolete)

描述
This is an obsolete addon, kept up for the sake of history. Please use Vehicle Damage 2, instead.

New! Join the OFFICIAL Discord server here: https://discord.gg/gaHXusZ

A vehicle damage mod that allows damaged vehicles to explode, made from scratch but partially inspired by SonofBrim's script (Here[facepunch.com])

At 1/3 health, vehicles will begin to smoke. At 1/4 health, they will catch fire. By default, vehicles have HP assigned based on their weight. Heavy vehicles have more health on spawning. This means that trucks and tanks have more health than airport baggage handlers. The default HP can be altered to change the amount that vehicles recieve.
Vehicles have a damage threshold, and any damage that is less than this will be completely absorbed by armor and do nothing. By default, this is 5, but it can be increased by using items - these will also increase the vehicle's resistance to damage. When a vehicle is destroyed, it will be unenterable and catch fire. After 1-10 seconds, it will explode, leaving behind a wreck. After a little longer, the wreck will remove itself.

FAQ:

- Will this work with (X) vehicle?: Chances are, yes, unless the vehicle uses some weird custom Lua base. Obviously this will not work with dupes or prop vehicles. However, certain vehicles may not work at all with the base due to causing crashes. Notably, any vehicle that seems to have multiple physics parts, such as Sligwolf's X12. I am working on a fix that will allow explosives to damage them in select circumstances.
- Where do I spawn everything in?: My entities can be found under the tab "Arctic's Vehicle Damage". The pack does not include vehicles, you'll have to get a pack.
- What vehicles are you using?: Doc's drivable CS:S vehicles.
- When I take damage in a car, the health doesn't decrease.: This seems to be a problem with Garrysmod. Play in a Listen server (Select 2 players when you choose a map) for now, as the problem doesn't exist in multiplayer. No, I don't think I can fix it. Sorry.
- How do I use the horn?: Press "R".

Configurable Variables:

These values are configurable in console.
- ArcticVehicleDamage_DefaultHP: Integer, how much health vehicles start with.
- ArcticVehicleDamage_DefaultDT: Integer, how much damage vehicles can shrug off - any damage equal to or below it will be ignored totally.
- ArcticVehicleDamage_Wrecktime: Integer, how long (In seconds) destroyed vehicle wrecks stay for.
- ArcticVehicleDamage_Smokethreshold: Integer, maxHP/Smokethreshold is the point past which vehicles will smoke.
- ArcticVehicleDamage_Flamethreshold: Integer, maxHP/Flamethreshold is the point past which vehicles will be on fire (Cosmetic).
- ArcticVehicleDamage_CanResurrect: 1 or 0, determines if wrecks can be "Resurrected" with the repair wrench. A high Wrecktime value is recommended.
- ArcticVehicleDamage_HudEnabled: 1 or 0, determines if the HUD is on.
- ArcticVehicleDamage_CrashDMGEnabled: 1 or 0, determines if the vehicles take collision damage.
- ArcticVehicleDamage_WrecksNeverDespawn: 1 or 0, determines if destroyed vehicles ever despawn.
- ArcticVehicleDamage_HornEnabled: 1 or 0, determines if the horn works.
- ArcticVehicleDamage_MinSmoke: Time in seconds, minimum time for how long a vehicle can burn.
- ArcticVehicleDamage_MaxSmoke: Time in seconds, maximum time for how long a vehicle can burn.

Items Included:

- Repair Wrench: Touch the car with this in order to fully repair it.
- Improvised Armor: Simple vehicle armor.
- Improved Improvised Armor: A simple vehicle armor with extra additions to make it thicker and tougher.
- Police Armor: Police-grade vehicle armor, professionally manufactured for better protection while maintaining lightness.
- Military Armor: A top-secret blend of military-grade alloys. Extremely resistant to damage.
- Admin Armor: Cheat admin armor. Makes a vehicle totally resistance to damage.

Credits:

- Arctic: Yours truly. Code was made from scratch. Support me on Patreon for as little as $3![www.patreon.com]
- SonofBrim: Inspiration for the addon.
- Nixel: Idea for weight-based health system

For Vehicle Creators:
- The values AVDHealth (Int) and CrashResist(Int) control health and crash resistance. Setting a value in the vehicle code will override default values.
243 条留言
Mr. Companion Cube 1 月 13 日 上午 9:37 
is this better than V2? (excluding the bugs from being an old addon)
Патриот Дона 2023 年 5 月 7 日 下午 7:07 
ВДВ, С неба привет!
76561199159592375 2022 年 2 月 15 日 下午 4:01 
[Arctic's Vehicle Damage v1 (Obsolete)] lua/autorun/vehicledamage_init.lua:170: attempt to call method 'EnableEngine' (a nil value)
1. v - lua/autorun/vehicledamage_init.lua:170
2. unknown - lua/includes/modules/hook.lua:96
VILIλNλD 2021 年 1 月 18 日 上午 6:22 
gimmie a link to the cs;source vehicles
Polskie Radyjko 2019 年 10 月 30 日 下午 2:18 
do the wrecks stay for long?
Spooky 2019 年 1 月 6 日 下午 12:22 
Ok so i was looking through the comments and i found this comment made by Chains is in a pickle: is this a glitch or not? My car explodes, then I can already drive the ALREADY exploded car. Is there a problem with that, or can it be fixed? that was the coment and this is for arctic so don,t repeat what i said
Spooky 2019 年 1 月 6 日 下午 12:13 
thanks arctic your the man
Spooky 2019 年 1 月 6 日 下午 12:09 
also i rlly want vc mod but i only have 0.02 i cri everytime
howdy-ho 2019 年 1 月 1 日 上午 8:25 
The HL2 airboat doesn't take damage
Arctic  [作者] 2018 年 12 月 31 日 下午 5:52 
@me smart pepe Good suggestion. It isn't one that's at all possible to implement but I appreciate that you care.