Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Weapon sway / bobbing missing #311

Open
Skorpjun161 opened this issue Mar 18, 2024 · 10 comments
Open

Weapon sway / bobbing missing #311

Skorpjun161 opened this issue Mar 18, 2024 · 10 comments
Labels
enhancement New feature or request

Comments

@Skorpjun161
Copy link

The weapon sway / bobbing while moving is missing. You can see how the weapon sways in the original at the URL below:
https://youtu.be/9pvk_BWKXtU?t=720
In OpenJKDF2 it doesn't sway at all:
https://youtu.be/rMqioXVxAd0?t=1689

@shinyquagsire23
Copy link
Owner

That might be the fault of a high-res mod which tried to fix the bobbing being too fast -- as part of my high framerate fixes, I fixed the bobbing w/o needing to use a mod.

@Skorpjun161
Copy link
Author

Ok interesting. Which mod could it be I wonder? I haven't installed a mod myself (besides the JK Remastered) and I just tried disabling hd mod from JK2 advanced graphics settings (made no difference) and then tried removing two .gob files in the mods folder (except EnhancementMod.gob otherwise it CTD's), but the issue persists. Also: keep in mind that even if I set the FPS limiter to 30 fps the weapon bob is still not visible. It seems to very, very, VERY slightly bob somewhat (also on high fps), but nowhere like the original. Pity, would be nice if that worked, would make the mod even greater :)

@GeneralTantor
Copy link

@shinyquagsire23 Yeah if you can let us know which mod is causing it we can remove it from the next release. Thanks Max!

@shinyquagsire23
Copy link
Owner

Actually, I apparently can recreate this, it seems to be jknupgfx.gob. They must have bundled it into their mod for whatever reason.

I could probably try and clamp the sway or detect the fixup mods, but then there's the risk that some mod intentionally sets values that makes it not sway.

See also: jdmclark/jkgfxmod#71 (comment)

@GeneralTantor
Copy link

Ok thanks ill see if I can edit that Gob file and remove whatever is stopping it from swaying

@GeneralTantor
Copy link

Strange I set the code in the weap_bryar_m.cog file to jkSetWaggle(player, '10.0 7.0 0.0', 350); but it didnt change anything not sure what I did wrong... Testing in MOTS version.

@GeneralTantor
Copy link

I will reach out to the creator of that mod see what is up

@nikumubeki
Copy link

The weapon COGs in my EMJK/EMSITH compilation mods (https://www.moddb.com/mods/todoa/downloads) were made for JkGfxMod, so their jksetwaggle values have been minimized quite a bit to accommodate for how insanely fast the weapon waggle was with that mod. With openjkdf2, if you revert all the jksetwaggle values to what they were in the original COGs from JKMRES.goo or Res2.gob, they should be as fast as they were originally meant to be.

As a test, if you have EMSITH installed on an OpenJKDF2 MotS directory and extract this zip file to the root directory, the bryar and blastech pistols should now waggle properly, so the rest of the weapon COGs can be edited in the same way (just make sure that you match all the waggle values with the original and that there are no conflicting cog files of the same name being loaded).

Resource.zip

@GeneralTantor
Copy link

Awesome Man! Fastgamerr does it again! You Rock Man!

@GeneralTantor
Copy link

The weapon sway / bobbing while moving is missing. You can see how the weapon sways in the original at the URL below: https://youtu.be/9pvk_BWKXtU?t=720 In OpenJKDF2 it doesn't sway at all: https://youtu.be/rMqioXVxAd0?t=1689

Hey man Using Fastgamerr's example above I was able to fix this! It will be in the next release of remastered mod

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants