Garry's Mod

Garry's Mod

594 个评价
Hands & Fists SWEP
2
   
奖励
收藏
已收藏
取消收藏
素材类型: 插件
插件类型: 武器
插件标签: 角色扮演, 写实
文件大小
发表于
更新日期
949.891 KB
2021 年 11 月 15 日 上午 7:56
2023 年 10 月 27 日 下午 5:01
33 项改动说明 ( 查看 )

订阅以下载
Hands & Fists SWEP

描述
NEW: PICK UP OBJECTS BY PRESSING YOUR RELOAD KEY WITH THE FISTS LOWERED!!

A combination of a hands SWEP and fists SWEP. Does everything that a typical hands swep does, but can also act as a highly customizable weapon if needed, as well as being capable of picking up small objects if the reload key is pressed while the fists are down.

Use: Every time the fists are equipped, the fists start lowered, and you will appear neutral in third person. To raise them, you can either left/right click or hold your reload key for a quarter of a second (like a Fallout game). This will also change your third person stance to the fist animation set. To lower them again, press your reload key. To pick up objects, press your reload key on the object with the fists lowered.

The swep is in the "Other" category in weapons.

Features:

Standard Hands: When not being used as a weapon, the swep will not show a viewmodel and give your character a neutral stance.

Standard Fists: Quickly defend yourself or battle it out with other players/enemies by using the customizable fists.

Hold Things: Want to pick up a prop, but your E key is broken? Kidding, the real purpose of this is to be able to hold entities that have an E key functionality without picking them up (ex. ArcCW weapons with manual pickup can be carried around with this). Press your reload key (default R) on an object with the fists lowered to pick it up like a small prop, as long as it is small enough. The weight limit is changeable (see CVars), but is the same as the default limit for E key interactions (40 kilograms), and the range of it is the range of the fists (see CVars) multiplied by 2.

Combo system: Every third successful hit will be a critical attack, showing an uppercut animation and dealing 4x damage. This can be kept and saved, but unequipping the fists, lowering them, or missing a target (hit nothing or hit object) will cancel it.

Random damage: Using options, the fists can deal random amounts of damage in between 2 values, giving the fists a somewhat interesting combat quirk. This can be "disabled" by setting the minimum and maximum to the same value.

Spawn on spawn: If the command is enabled, the fists will be given to every player on spawn, giving them a neutral/defensive item along with their toolkit without needing to spawn it in.

Simple and non-conflicting: The addon is simple by design. The code is self-contained, it will not conflict with other addons, and contains only 3 texture files for icons.

VManip Compatible*: As of a recent update, the SWEP will show VManip actions, even if the fists are lowered!

Customizable!: There are 9 commands which allow you to change the properties of the fists very easily. Just navigate to the options panel to the right of the spawnmenu, and navigate down to "Fists/Hands". There, you can easily change the options.


To change them with the console instead, enter the text along with the given variable (or use the options menu).


pfists_damagemin <number> (Default: 8)
The minimum amount of damage an attack deals. This is the minimum damage that can be randomly selected for attacks.

pfists_damagemax <number> (Default: 16)
The maximum amount of damage an attack deals. When dealing damage, a number between this and the minimum is selected randomly as a base damage value, which can then be multiplied by the crit multiplier if it is a crit attack.

pfists_nocombo <0/1> (Default: 1)
Whether or not the fists can do a combo attack. Set to 1 to disable the combo system, which makes every attack a regular one.

pfists_combonum <number> (Default: 3)
The amount of successful hits needed to do a combo attack. For example, if it is 3, then the third successful hit will be critical.

pfists_range <number> (Default: 50)
The distance (in Source units, which is inches) that the fists can reach and hit something. This default is 4 feet and 2 inches. This also determines the reach of the grab function (multiplied by 2).

pfists_critchance <number> (Default: 10)
The chance, in percentage, that the fists will deal a random crit. Set to 0 to disable random crits.

pfists_critmult <number> (Default: 4)
The number by which the damage is multiplied when a critical attack is done.

pfists_delay <number> (Default: 0.8)
The time in seconds before the fists can swing again.

pfists_force <number> (Default: 5000)
The force that is exerted upon an entity when hit, or the force exerted on a death ragdoll when killed. Ensure your value is high for there to be any noticable effect.

pfists_spawn <0/1> (Default: 0)
Whether or not the fists will be given to players when they spawn. 1 will give them to players upon spawning, and 0 will not give it to them.

pfists_strength <number> (Default: 40)
How much the pickup feature can lift, in kilograms. The iconic steel barrel is 30 kg, for reference.

If you have an issue while using this, report it in the bugs discussion!


NOTES:

- You may NOT reupload this addon without my permission.

- *Since VManip halts reloading actions while an animation is occuring for ALL weapons, you will not be able to lower your fists at all, or raise them with your reload key if there is one occuring. You can still raise them with your attack keys, though.
热门讨论 查看全部(2)
7
9 月 12 日 下午 5:51
置顶: Suggestions
keaka
4
2023 年 3 月 6 日 下午 3:32
置顶: Bugs/Issues
keaka
27 条留言
yuvrajrpandya2003 2024 年 9 月 7 日 上午 9:24 
can u improve or send a link for better third person animations?
Commando 2024 年 7 月 28 日 下午 1:40 
Best mod
adamkim2007 2024 年 7 月 12 日 下午 4:00 
can you make mod like this but for npc
2024 年 5 月 18 日 上午 10:48 
S
2024 年 2 月 11 日 上午 7:08 
is there a way to disable left click raising the fists and make it so only the R key raises them?
EXE 2024 年 1 月 15 日 上午 2:19 
ima punch some hunters with this
EntranceJew 2023 年 10 月 28 日 上午 12:50 
I like this.
12sep 2023 年 10 月 27 日 下午 4:46 
[Hands & Fists SWEP] lua/weapons/p_fists.lua:306: attempt to call method 'IsPlayerHolding' (a nil value)
1. PickUp - lua/weapons/p_fists.lua:306
2. unknown - lua/weapons/p_fists.lua:379 (x107)
yodamaster738 2023 年 2 月 7 日 上午 10:44 
I consider this addon to be essential to gmod
BλdλBoom 2022 年 9 月 17 日 上午 4:31 
oh my, finally customizable fists! just what I needed, thank you.