Garry's Mod

Garry's Mod

456 个评价
[PR]Star Wars Medical Sweps [Bacta Grenade, Bacta Injector, Force Heal]
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
1.554 MB
2016 年 7 月 19 日 下午 4:03
2016 年 11 月 29 日 下午 9:50
17 项改动说明 ( 查看 )

订阅以下载
[PR]Star Wars Medical Sweps [Bacta Grenade, Bacta Injector, Force Heal]

在 |⁧⁧Riddick 的 5 个合集中
[TG] Clonewars RP
131 件物品
[CDX Imperial RP Collection
70 件物品
[PR] Galaxy RP
71 件物品
DEUS VULT RP
40 件物品
Project Renegade CWRP Collection v2
231 件物品
描述
UPDATE 1/10/2017: New additions are coming out, including a Bacta Grenade that does not reset an event character's health, overhealing bacta injectors(they were too outshined by bacta grenades!), and a medscanner to provide health AND armor!


I highly suggest using only this version of the addon, as it is updated frequently to improve various aspects


Other servers are welcome to use this addon :)

These sweps heal to people's darkrp job health. I will continue expanding this pack as time goes on.


The newly added bacta grenade uses a custom model and heals people in its blast radius by up to 50% of their maximum health. It can only be thrown once every thirty seconds to balance it out.



Based on the Medkit SWEP included with GMOD, this Bacta Injector was designed to accomodate custom player health provided by DarkRP jobs, and to provide pulse ammo to other players as a secondary support function.

This is a more powerful version of the Medkit, as it recharges more quickly, provides more health per heal, has more range, and has a higher maximum charge. These are to accomodate hectic combat situations, as well as extreme amounts of health.

The viewmodel present in the icon is now implemented.
热门讨论 查看全部(2)
0
2019 年 5 月 9 日 下午 4:35
How to make Bacta Injector not regenerate ammo automatically?
Kindred Kara
0
2016 年 10 月 9 日 下午 7:13
Sneak Peek
|⁧⁧Riddick
43 条留言
Raphael 7 月 22 日 上午 11:55 
I'm not sure if you still update, but I looked into a minor issue. Whenever the max HP of a player is changed, like for an event character, the bacta injector and nade treat the player's max HP as the original, with the nade reducing the HP to the original amount (this is where event characters with 1000 HP would be brought back to 200) and the injector capping at the original max HP.

In the code, it seems the max HP that's used to calculate healing is determined when the player spawns or changes jobs, which could be good for performance, since you wouldn't need to call the ent:GetMaxHealth() method every time you try to heal someone, but it has no way of updating if the max HP does ever change. Setting up events with that in mind could just involve having someone respawn with a desired max HP, so I guess there's a way around the issue even without changing the code.

Setting ent.var to ent:GetMaxHealth() in the functions does fix this.

Thanks for the great addon!
Lunneth Arc 6 月 30 日 下午 2:28 
Bacta particles missing textures. Definitely one of the source data packs from CS:S. Any chance anyone knows what its called?
Onion 2024 年 12 月 7 日 下午 11:32 
[[PR]Star Wars Medical Sweps [Bacta Grenade, Bacta Injector, Force Heal]] lua/weapons/weapon_forceheal.lua:117: attempt to perform arithmetic on field 'var' (a nil value)
1. unknown - lua/weapons/weapon_forceheal.lua:117
|⁧⁧Riddick  [作者] 2024 年 4 月 20 日 下午 4:08 
Yeah if it's just a content pack go for it
Nagisa 2024 年 4 月 18 日 下午 12:40 
Good day,
Can I create my own add-on from your add-on? By that I mean I can take the sounds, models, materials and particles from your add-ons and put it all into an unlisted content pack. Of course without the Lua files @|⁧⁧Riddick
kamiowo 2022 年 10 月 19 日 下午 2:29 
my bacta dont have the texture
|⁧⁧Riddick  [作者] 2022 年 8 月 10 日 下午 12:04 
yeah sure
Sentinel 2022 年 8 月 9 日 下午 8:38 
Hey Riddick, Do I have permission to re-upload this for my server and to credit this addon with the link going to it and you as the author.
|⁧⁧Riddick  [作者] 2021 年 12 月 13 日 下午 8:06 
oof lol
D4KiR 2021 年 12 月 10 日 上午 1:39 
[[PR]Star Wars Medical Sweps [Bacta Grenade, Bacta Injector, Force Heal]] lua/autorun/server/storevar.lua:16: Tried to use a NULL entity!
1. Health - [C]:-1
2. unknown - lua/autorun/server/storevar.lua:16