Garry's Mod

Garry's Mod

[VRMod] Melee System - C.A.H.P
43 Comments
thetiredgamer1234 25 Mar @ 7:36am 
yo does this work with regular vrmod?
Lavitical 15 Mar @ 5:06pm 
Yo! thanks for adding the block mod to the VR collection.
Could blocking have an option where its done viva a specific pose/position instead of a general angle?
Lavitical 13 Mar @ 7:30pm 
Question, how do you block?
Pescorr  [author] 10 Mar @ 10:39pm 
2025-03-11
We are making some fairly extensive changes. Hopefully this won't cause any problems...

1. changed the processing of melee attacks, making them more similar to crowber attacks. This allows VR melee attacks to react to mods that do special processing with crowber attacks.
(e.g. DrGBase SNPCs will now be normally frightened by VR melee attacks and will be able to guard against them).

2. removed ragdoll_pickup, as the load was too much and could easily be replaced by other mods related to VRpickup.
:> 20 Feb @ 1:00pm 
may i make a suggestion? PC comparability so that i can swing my mouse around to preform corresponding moves (my vr is stupid and starts screaming when i play gmod with it) :>
Who_ci 4 Feb @ 9:11am 
I think you didn't understand, i mean run, like when you press Shift key on Gmod.
bubby 4 Feb @ 3:43am 
Who_ci

to run on vrmod, make sure you have steamvr opened and ready
open the console and type in "vrmod" then enter
Who_ci 3 Feb @ 3:21pm 
I have a few questions related to VR:

I can't make this mod work. It's installed but i punch a npc but can't make any damage.

How do i run on Vrmod? I can only walk.

Where is the Weapons HUD? i can't find it on my game. So i can't change from phys gun to any weapon i used.

Thanks you.
blofer the sky guy 20 Jan @ 4:45am 
same question as crab. if not, MAKE IT WORK THEN
shuroeb 7 Oct, 2024 @ 7:14am 
BEST MOD!!!!!!!:steamthumbsup:
evil foll ginlan davbrer witer 7 Sep, 2024 @ 5:17pm 
does this work with the normal version
Иван Алюминий 1 Sep, 2024 @ 10:42pm 
Ъ
Vauk 1 Sep, 2024 @ 9:51pm 
is it possible to make so the hands "collide" with walls? like u cant get ur hand through a wall, i know there is a mod to make them collide with objects and push em around and stuff but i want to see my own hands NOT go through a wall
crolaa 1 Sep, 2024 @ 5:38pm 
@Pescorr Thank you, I saw that other mod and was disappointed he didn't release, I assumed it was pretty hard to make considering that no one is else has made it, if you ever make a breakthrough let me know!
Pescorr  [author] 1 Sep, 2024 @ 5:28pm 
@crolaa:
I know that people want a mod for gmodVR to grab the wall and climb up.

But it's already made by an awesome guy who made a parkour mod. But the release is undecided.

I tried to make something similar myself, but it's so meh and advanced that I can't make it at all.

I've made about 6 failed ones that don't grab the wall and stop functioning, and I'm throwing them away.
Vauk 5 Aug, 2024 @ 2:14pm 
yay the function to block is added
Иван Алюминий 2 Aug, 2024 @ 12:03am 
виар для богатвх
crolaa 20 Jul, 2024 @ 1:41pm 
Hi pescorr, do you plan on making a vr climbing system?
AriStykes 15 Jul, 2024 @ 2:30pm 
@this person no longer exists IM TALKING ABOUT THE GREEN SPHERES ON THE PLAYERS ARMS AND LEGS
OceanKing 12 Jul, 2024 @ 5:00pm 
it really sucks this cant be done with the og mod, because quest 2 cant do the simioffcicalversion so i cant do these amazing mods
AriStykes 2 Jul, 2024 @ 3:10pm 
How do i turn off the "Balls" that are on the player
Russell 29 Jun, 2024 @ 5:27pm 
what map?
Pescorr  [author] 8 Jun, 2024 @ 9:42pm 
@Doom Slayer:
Thank you.
We have referred to the specification that the attack power changes depending on the swing speed.
Pescorr  [author] 8 Jun, 2024 @ 9:34pm 
2024/06/08
Multiple functions added.
1⃣. Added the ability to execute a specified convar when the hand is tilted to a specified angle.
2⃣. Added functionality to generate a specified convar when a fight occurs for each part.
3⃣. Added functionality to allow a cool time to be set when a melee attack hits, apart from the frequency of melee attacks.

All functions can be changed from the vrmod menu.
Doom Slayer 29 May, 2024 @ 2:37am 
I added dynamic damage based on how fast you swing and how fast you move.
If you sprint and hit, that's gonna hurt :D


Feel free to use
Doom Slayer 29 May, 2024 @ 2:37am 
if SERVER then
util.AddNetworkString("VRMod_MeleeAttack")
... skipped
src[3] = net.ReadFloat()
local vel = net.ReadVector()
local player_speed = (ply:GetVelocity():Length()/100)
local fist_speed = (vel:Length()/2)
local damage = cv_meleeDamage:GetFloat()
local total = damage*(player_speed+fist_speed)
print("hit -")
print(total)
ply:LagCompensation(true)

ply:FireBullets(
{
Attacker = ply,
Damage = total,
Force = 1,
Num = 1,
Tracer = 0,
Dir = vel,
Src = src
}
)
Pescorr  [author] 26 May, 2024 @ 9:10pm 
2024/05/27
Sorry, I rolled back because I accidentally updated something that was being adjusted.
Grub 21 May, 2024 @ 5:55am 
finally something new for vrmod, its been quite a while since i saw anything
Pescorr  [author] 19 May, 2024 @ 9:08pm 
@Nikitaf93:
I like the idea of executing commands by angling the weapon at a specific angle.
If I can solve the problem of the hand and weapon position being overridden by the melee weapon animation, I will try to create such a spec.
Vauk 19 May, 2024 @ 6:36am 
is it possible to add an option to emulate a button press or somthing when ur hand is rotated about 70-100 degrees (as if u are blocking)
Pescorr  [author] 19 May, 2024 @ 6:33am 
@Nikitaf93:
[TacRP] Brute Force Melee Pack
If you are using melee weapons from this mod,
1⃣. Add [Guard] to the weapon custom that opens with the +menu_context key (C key on the keyboard).
2⃣. Press the [secondary_attack] key while holding a melee weapon with Guard on VR (default setting, set to the A key on Oculus).
3⃣If the weapon is pointed in the direction of the enemy and there is enough stamina in the TacRP, the guard is established.
4⃣If it is difficult, change [Locomotion] to [HMD] from the VRMod menu, and the guard will be established regardless of the direction of the weapon as long as you are looking directly at the direction you want to guard when guarding.

(Even if you are using another melee weapon mod, as long as the weapon is capable of guarding, you can guard in a similar way.)
Vauk 19 May, 2024 @ 5:27am 
how do i parry
Vauk 19 May, 2024 @ 3:33am 
wait a second, does not that mean, *grabs a raiden playermodel and a mgrr enemies vj pack on gmod* MEMORIES BROKEN THE TRUTH GOES UNSPOKEN IN VR!
Napoleon Bonaparte 18 May, 2024 @ 5:25am 
I want VR that works with gmod now
Tums® 17 May, 2024 @ 7:33am 
FUCK YEAH
ʞritzo 17 May, 2024 @ 4:46am 
bsmod kill moves but you need to actually do it instead of pressing a button
Newman 17 May, 2024 @ 3:16am 
make a version without vr
TaZzman 16 May, 2024 @ 11:11am 
investing at 0 stars, expecting return to be 5 stars
joe 16 May, 2024 @ 10:46am 
makes me wish i had vr
ChenPonChen 16 May, 2024 @ 4:44am 
me
fork 15 May, 2024 @ 11:40am 
whats that player model
Doom Slayer 11 May, 2024 @ 12:15pm 
Thanks :)