Garry's Mod

Garry's Mod

TTT VR - VRMod Support
119 Comments
gavinboy96 Mar 10 @ 3:20pm 
does it work with ttt bots?
nicky Dec 17, 2024 @ 11:04am 
oh my god wait yes, please do make a Murder version! or maybe a Homicide version instead. homicide has more weapons aka, probably more content to make it work for vr
Pie Jun 8, 2024 @ 8:42pm 
Make a murder mystery version
DegroZ Apr 1, 2024 @ 8:32am 
im on quest 3 and the controls are not working 100% can you help me set them up smt like sprinting/droping weapons
Malivil Mar 6, 2024 @ 3:24pm 
Amazing! Thanks for taking care of that so quickly
Beverly  [author] Mar 6, 2024 @ 2:09pm 
@Malivil Good catch, should be fixed! Let me know if you are still having problems or run into any other issues :SpRad_ThumbsUp:
Malivil Mar 6, 2024 @ 12:46pm 
Hi, would it be possible to remove the 4 net message receives you have at the end of buymenuui.lua (TTT_Equipment, TTT_Credits, TTT_Bought, TTT_BoughtItem)?

This is currently overwriting those net messages so any changes made to them by other mods (such as Custom Roles for TTT) do not take effect, resulting in errors.

It doesn't look like you've changed anything in them from original TTT so simply removing them should not affect this mod at all.

Thanks in advance!
Grub Apr 8, 2023 @ 6:13am 
This comment is awaiting analysis by our automated content check system. It will be temporarily hidden until we verify that it does not contain harmful content (e.g. links to websites that attempt to steal information).
Dead Planets and Live TV Sep 16, 2022 @ 11:32am 
Read the discussion thread, Jubli
Jubliani Sep 16, 2022 @ 1:53am 
port it to ttt2 loser
76561198197928863 Jun 28, 2022 @ 3:42pm 
flori, get reported, bleach
Beverly  [author] Jun 28, 2022 @ 2:36pm 
@Gamey SEALs Sorry I still couldn't reproduce it... If you're sure it's happening consistently, you can try googling how to turn on GMOD console logging and report back with that I should be able to help. Otherwise, I apologize I don't think there's much I can do =(
76561198197928863 Jun 27, 2022 @ 2:11pm 
I don't know how to access crashlogs, but I can tell you which addons I used just today testing: this addon, VRMod HUD, VRMod, https://steamcommunity.com/sharedfiles/filedetails/?id=1256344426 (TTT Bots), and https://steamcommunity.com/sharedfiles/filedetails/?id=2526382660 (the map i used). First time I picked up a rifle, it worked just fine, albeit a bit of lag on the first shot, second time I pulled one out the game froze again
Beverly  [author] Jun 26, 2022 @ 8:58pm 
@Gamey SEALs Just tested and unfortunately couldn't reproduce your issue. If you could provide any errors from vrmod or tttvr in your console or perhaps a crash log I should be able to help!
76561198197928863 Jun 26, 2022 @ 8:42pm 
i have an issue where pulling out the Rifle causes my game to freeze up and die. might be an issue on my end, but any fixes?
MissingTextureMan101 Dec 19, 2021 @ 11:06pm 
I've coded in Lua before, I just have a lot of projects of my own, but I guess I see your point. I'll look into making a port myself, and if I do manage it I'll be sure to tell you!
MissingTextureMan101 Dec 18, 2021 @ 3:42pm 
That and "s&box" won't come out for a long while
MissingTextureMan101 Dec 18, 2021 @ 3:42pm 
@Beverly "s&box" is not "gmod 2", along with that, people will still play GMOD, so It'd still be really cool if you added TTT2 support.
Beverly  [author] Nov 27, 2021 @ 1:08pm 
@DarthKiller google "s&box"
DarthKiller Nov 27, 2021 @ 1:06pm 
gmod 2?
Beverly  [author] Nov 27, 2021 @ 1:05pm 
@Mannytko Sorry, it doesn't work for TTT2. It is something I looked into, but decided against because it would require a lot of work that would ultimately end up being a waste since GMod 2 is coming out sometime soon.
Mannytko Nov 27, 2021 @ 11:02am 
its works for ttt2?
Beverly  [author] Nov 1, 2021 @ 6:29pm 
@DarthKiller Yeah try setting the console command "tttvr_suicide 0" - The code to detect when you are trying to shoot yourself in the head is pretty buggy for some people and will just randomly trigger when you shoot - sorry about that, the console command will fix it though 👌
DarthKiller Nov 1, 2021 @ 2:49pm 
I always kill myself when shooting? Anyone know why?
Beverly  [author] Aug 14, 2021 @ 5:12am 
@CAT3D You can play with non-vr people!
CAT3D Aug 14, 2021 @ 4:26am 
Everyone must have vr or you can play with non vr people?
Fentmaster Jul 7, 2021 @ 8:38am 
Could you suggest me a server with the addon
Fentmaster Jul 7, 2021 @ 7:52am 
my bad it was just really hard to find a server with the VRMod addon
Beverly  [author] Jul 6, 2021 @ 6:03pm 
@Canada If you have SteamVR working already, go to the VRMod addon page and read all the directions to get that working and then come back here and follow the instructions I put in the "usage" tab of the description
Fentmaster Jul 6, 2021 @ 5:17pm 
use*
Fentmaster Jul 6, 2021 @ 5:17pm 
How do you sue it in TTT?
Beverly  [author] Apr 21, 2021 @ 2:12pm 
@internet cyberwarrior I'm not getting any issues using the awp as it is on the workshop right now, it replaces and the gun works fine without any crashing. If you have any console errors getting logged before your game crashes that could be very useful! You could also try overriding the functions having to do with scoping in and just having them do/return nothing if you think that is part of the problem.
Beverly  [author] Apr 19, 2021 @ 2:48pm 
@internet cyberwarrior I know that that was definitely not the case when I originally uploaded the awp, so I'll definitely look into that asap!
internet cyberwarrior Apr 18, 2021 @ 10:39pm 
tttvr replacement doesnt seem to work with guns with scopes, it crashes the game. this includes the awp in the custom weapons guide
Beverly  [author] Apr 15, 2021 @ 6:57pm 
@internet cyberwarrior Ah I see what you are saying, the offset is fine, but the angle is off. I never had to implement code to adjust the angle so there isn't a way to fix that right now besides adjusting the weapon model's angle, but I'll see what I can do!
internet cyberwarrior Apr 15, 2021 @ 6:22pm 
yes i followed the guide and got the muzzle offset directly at the tip of the barrel of my guns but the line isnt straight with the barrel and ironsights of the viewmodel
Beverly  [author] Apr 15, 2021 @ 6:03pm 
@internet cyberwarrior If you haven't already, I suggest you take a look at my guide about making TTTVR weapons for info about that, as I never had any trouble lining up the gun's muzzle such that the iron sights work well using the methods I explained in the guide.
internet cyberwarrior Apr 15, 2021 @ 5:45pm 
is there also a way to correct the alignment of the muzzle offset and gun so that the ironsights can be somewhat usable in vr
internet cyberwarrior Apr 15, 2021 @ 5:42pm 
an ingame menu to help change weapon muzzle offsets for tttvr weapons would be helpful because alt tabbing and editing is so poverty
internet cyberwarrior Apr 15, 2021 @ 5:38pm 
@claxtastic I dont have alot of addons and its mostly vanilla TTT. It seems to work for the most part for me but it does crash sometimes when a player in vr dies or drops a weapon
claxtastic Apr 15, 2021 @ 4:03pm 
@bennyd87708 no worries about the crash. This is a great addon and I understand you're doing this just for fun.

I tried full reinstall of everything on client and server, using -condebug to see if anything was spit out there, but it's just identical to what is logged in console, nothing of note coming up at all. As far as not using crowbar/grenades goes, I tried that as well but it would still just crash whenever it feels like it, not using crowbar or grenades.

@internet cyberwarrior, what if anything did you do to get it working? You aren't experiencing any crashes when players are in VR mode?
Beverly  [author] Apr 15, 2021 @ 3:52pm 
@internet cyberwarrior I looked into it more and unfortunately it turns out that the arctic vr guns are significantly more complicated than I thought. They overwrite a lot of the functions that the TTT base gamemode and my addon require with custom stuff, so it would take quite a bit of meticulous work by someone who understands them very well to make them work properly with TTTVR and I unfortunately don't have the understanding or time to do so. My apologies!
internet cyberwarrior Apr 13, 2021 @ 9:52pm 
that would be epic. thanks and amazing work
Beverly  [author] Apr 13, 2021 @ 8:50pm 
@internet cyberwarrior I think that it shouldn't be too hard to do this by looking at how I've set up the "TTTVRWeaponReplacements" global and editing it with your own lua script. If you don't mind waiting a day or two, I can definitely look into it myself and maybe make it a toggleable option.
internet cyberwarrior Apr 13, 2021 @ 8:28pm 
is it possible when in vr mode to replace picked up weapons with arcticvr instead of tttvr
Beverly  [author] Apr 13, 2021 @ 9:43am 
@internet cyberwarrioer I believe "vrmod_allow_teleport 0" should do the trick
internet cyberwarrior Apr 13, 2021 @ 6:18am 
is there a way to disable/remove teleporting serverside?
Beverly  [author] Apr 8, 2021 @ 9:57pm 
(2/2) If the problem still happens with a completely fresh client and server, another possibility is that you could try adding the "-condebug" launch option to force the server to create a "console.log" file in the /garrysmod/ folder to see if the server is logging anything at all before the crash. If both of those ideas fail, I can only suggest that you try to play without swinging the crowbar or throwing any grenades, as I have a hunch that those are at fault, but without any error logs, there is unfortunately virtually nothing that I can do to track the issue down and fix it, which I apologize greatly for.
Beverly  [author] Apr 8, 2021 @ 9:57pm 
@claxtastic (1/2) I'm terribly sorry that it isn't working properly and commend you for going to such lengths to try to isolate the issue! I don't at all doubt that there is something wrong with the plugin that is causing this. I did, at one point, run into something very similar during development where the person in VR throwing a grenade or swinging their crowbar would force crash the server in the same way that you described. However, I was never able to figure out what the problem was because it never happened again after I completely reinstalled my dedicated server (not just uninstalling and reinstalling addons) and completely reinstalled my client and VRMod module files.
claxtastic Apr 8, 2021 @ 8:00pm 
@bennyd87708 I am trying to host the mod on my server and it randomly "crashes" after a few rounds usually. At first I was convinced that this was because of incompatibility with mods on my server, but as a test I created a new collection with just the barebones (https://steamcommunity.com/sharedfiles/filedetails/?id=2451039571) and it still crashes...

After a few rounds in VR mode, all players lose connection to the server. It usually happens at the end of a round, suddenly I stop moving and lose connection. The server console prints no logs at all, and it doesn't close, it just sort of breaks. I can't type anything in the console window once this crash happens too.

I also tried playing on the server with the addon enabled but not entering VR mode, and I haven't gotten a crash; it's only when at least one player is in VR mode.

That is to say I think this addon is broken with the current GMOD version or something, if you have any insight on this that would be awesome, thanks