hh79 / gzdoomvr

Classic Doom/Heretic/Hexen games in stereo 3D and VR; modified version of gzdoom.
GNU General Public License v3.0
125 stars 10 forks source link

Multiplayer network just with head aim #9

Open aljupi opened 4 years ago

aljupi commented 4 years ago

Hello: First of all just to say that this is best mod ever!! Playing classic Doom in Vr is a Dream that comes true.

Yesterday we wanted to do some LAN deathmatch just like old times. We were surprised because we could play...but the issue is that we just can shoot with "HEAD AIM"....the shot went were you were looking at, not where your 3dweapon were aiming wich is where the real fun is☺ We tried lot of combinations: Brutalv21+3dweapons, removing 3d wepons mod, removing Brutalv21, we tried even the order of the .wad is loaded wich sometimes is important. All was done using your gz3doom 3.7....we even tried 3.4 version....results was the same...head aim. Of course we play a lot in Singleplayer with lot of .wads and megawads without this problem.

Thanks for reading and continuing this project!!!!.

hh79 commented 4 years ago

Hi, thanks for a report. I am surprised that multiplayer works at all. If the only issue is head aim I hope I will be able to fix it. Of course this means breaking compatibility with non VR players. I used to play a lot LAN deathmatches back in the days, so definitely I am going try to solve this. I cannot promise when, though.

TIE-INTERCEPTOR commented 4 years ago

Hi, Last night me and a friend got direct ip connection to play co-op on gzdoom VR both of us, using brutal doom, and a few plugins, like voxel weapons etc...

And we experienced the same issue @Aljupi had only being able to head aim ( though in the single player it works totally fine, shooting with our motion controlled hand guns )

The SUPER strange thing is, I was messing around with the HUD settings and VR settings in game while connected with my friend, and I turned on and off the cross hair, and played with the hud distance , and somehow I don't know what I did but it got FIXED ! I was shocked that I could now shoot from my gun like in single player... and my friend could not, still shooting from the centre aiming with the head... I loged out and back in 3 times and it remained fixed... Thing is we did all kinds of experiments to see if we could repeat the fluke and have his fixed... and instead I broke mine again. And I don't know how to get it back. Sorry I can't give you any more details, if I manage to repeat the "fix" I will report back.

aljupi commented 4 years ago

Wow!!! Thanks for your info!!! I' ll experiment with that.

TIE-INTERCEPTOR commented 4 years ago

Hi @aljupi and @hh79 so a friend of mine and I did more experiments last night with gzdoom in VR in cooperative mode and we managed to figure out how to fix the 'shoots from the centre' and "not from the hand held weapon" issue.

it's fixed by going to: network options > movement prediction > OFF

if you set it to off it fixes the problem, BUT you will experience visual lag in the headset with it OFF, like if you are drunk... so you can set it back to ON immediately and the gun fix remains! switching it OFF and ON seems to trigger some fix that stays... and the visual lag ( that will make you puke ) is fixed as well ...

BUT :( we experienced "lost sync with player 2" every time we did that... so unfortunately the game can't be played in coop after the gun fix, as we are out of sync every time! so annoying.

I wish gzdoom in vr worked p2p network mode... we can't make it work ... and we wanted so bad to play doom 2 and brutal doom in vr coop... If we could get a fix on the next release it would be amazing.

TheKaizen commented 1 year ago

Any update on this? Disabling movement prediction makes it impossible to play multiplayer as you become out of sync.

This is an amazing port, multiplayer works via cmdline (as does stock gzdoom) but the bug, aiming with head instead of controllers is absolutely crushing. So close to having some epic coop nights through some old wads in VR, but so far until this bug is fixed. It's too bad it's been a few years, It probably isn't a simple fix, but maybe you can revisit it when you get a chance Hari? <3