Weapon Sway - ZScript Edition! [dead]

Projects that have specifically been abandoned or considered "dead" get moved here, so people will quit bumping them. If your project has wound up here and it should not be, contact a moderator to have it moved back to the land of the living.

Weapon Sway - ZScript Edition! [dead]

Postby Nash » Wed Nov 21, 2018 9:31 am

Abandoned, go use that other mod
Last edited by Nash on Thu Apr 23, 2020 3:26 am, edited 6 times in total.
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby Pompous Seed » Wed Nov 21, 2018 3:01 pm

Awesome, thanks for this! Also, could you possibly consider adding a slider to adjust the intensity of the sway? To me, it seems a bit more intense than the non-zscript version.
Pompous Seed
 
Joined: 05 Aug 2016

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby Enjay » Wed Nov 21, 2018 3:38 pm

While this is cool and clever and all (and, as usual, well done to Nash for doing it) I think it has also helped me identify exactly what that "sloppy" "weapons lagging behind the mouse movement" effect in modern games that I was moaning about some time ago is caused by.

viewtopic.php?f=12&t=61392&p=1065036#p1065036

:lol:
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby StroggVorbis » Wed Nov 21, 2018 4:30 pm

Enjay wrote:While this is cool and clever and all (and, as usual, well done to Nash for doing it) I think it has also helped me identify exactly what that "sloppy" "weapons lagging behind the mouse movement" effect in modern games that I was moaning about some time ago is caused by.

viewtopic.php?f=12&t=61392&p=1065036#p1065036

:lol:


Also known as inertia :P
User avatar
StroggVorbis
Donut eat me pls!
 
Joined: 08 Nov 2017
Location: Germany
Discord: StroggVorbis#2466
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby Enjay » Wed Nov 21, 2018 5:03 pm

Indeed, but when I'm holding something in front of me and I move around, it tends not to fall behind in such a pronounced or "I'll catch up with you later" manner.

Anyway, sorry for the slight derail. The mod is cool, even if it's not really to my taste. :)
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby Cherno » Wed Nov 21, 2018 6:35 pm

I wonder, wouldn't it look better if the weapon lagged behind the turning motion instead?
User avatar
Cherno
 
Joined: 06 Dec 2016

Re: Weapon Sway - ZScript Edition! (0.9b)

Postby Pixel Eater » Wed Nov 21, 2018 6:43 pm

That's what the inverse option does. I like it, it seems more realistic because eyes are faster to turn.
How long before we get independent neck movement though? :wink:
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Nash » Thu Nov 22, 2018 9:25 am

Small update: 0.91b

- Fixed chainsaw bug
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Agitatio » Tue Nov 27, 2018 3:51 pm

Is it possible to make weapons center when firing from your end? Some mods don't have problem with that, but some do. Looks especially weird with tracers.
User avatar
Agitatio
 
Joined: 05 Sep 2011
Discord: Agitatio#4183
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Nash » Tue Nov 27, 2018 10:33 pm

Grigori wrote:Is it possible to make weapons center when firing from your end? Some mods don't have problem with that, but some do. Looks especially weird with tracers.


It should already be doing that. Have you downloaded the latest version in the OP?
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Agitatio » Wed Nov 28, 2018 1:23 am

Nash wrote:It should already be doing that. Have you downloaded the latest version in the OP?

Yep. I downloaded it the same day I wrote that. I can't test all my mods right now, but the ones I remember to encounter that issue in were Faspons and Brutal Doom.
User avatar
Agitatio
 
Joined: 05 Sep 2011
Discord: Agitatio#4183
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Trusty McLegit » Wed Nov 28, 2018 9:40 am

Actually I was just going to ask the opposite of that, would it be possible to have an option for the weapon not to snap to center when firing? Right now it looks like the weapon can't decide where it wants to be. Also, not sure how hard this would be to implement but it would be cool if the sway slowed down the farther from center it gets (kinda like most source games) as I feel that would look and feel more natural and would fix the weapon just stopping on a dime when you hit the edge of the sway range.
User avatar
Trusty McLegit
 
Joined: 08 Feb 2016

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby BROS_ETT_311 » Wed Nov 28, 2018 5:15 pm

Love that this has finally been zscriptified! The former ACS version required a bit too much trickery to be worth using all that often, but this...well, "it just works". This is especially true with just about any weapon mod that uses 3d models for the weapons, which definitely makes this a go to for me. Unfortunately, when it comes to the world of sprites, there doesn't seem to be a lot of mods with extended sprite hands to make the vertical sway option worth it. Maybe I'm just unaware of said mods, but the only one I can think of is Vanilla as Fuck by JoeyTD. Shame too, because I love the jumping inertia effect when using that option! Don't suppose there's a way to not have that effect tied to the vertical sway option, is there?

*EDIT
Just noticed a weird kind of stutter effect with weapons that use "offset" functions, though not sure if this is specific to any particular axis. I know this mod isn't exactly high priority at the moment, what with your release of nashgore ve and all, but might be worth looking into. Perhaps finding some way to have the script ignore offset commands through a check system.
User avatar
BROS_ETT_311
 
Joined: 04 Nov 2017

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby Nash » Sat Dec 01, 2018 2:50 am

BROS_ETT_311 wrote:Don't suppose there's a way to not have that effect tied to the vertical sway option, is there?

*EDIT
Just noticed a weird kind of stutter effect with weapons that use "offset" functions, though not sure if this is specific to any particular axis. I know this mod isn't exactly high priority at the moment, what with your release of nashgore ve and all, but might be worth looking into. Perhaps finding some way to have the script ignore offset commands through a check system.


The problem with the vertical option is, even if I enable it ONLY for the jump inertia, you will start to see glitchy graphics as some weapon sprites literally cut off as soon as it touches the status bar.

About the weapon offset issue, can you recommend me an example mod where I can test this issue?
User avatar
Nash
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia
Github ID: nashmuhandes

Re: Weapon Sway - ZScript Edition! (0.91b)

Postby BROS_ETT_311 » Sat Dec 01, 2018 4:07 am

Sure! Check out: QCDE; Trailblazer; Led's Generic Weapon Mod

The tribolt from QCDE is a good place to start. Should reproduce the issue just fine.

Nash wrote:The problem with the vertical option is, even if I enable it ONLY for the jump inertia, you will start to see glitchy graphics as some weapon sprites literally cut off as soon as it touches the status bar.


That makes sense. I actually did a work around for the cut off by lowering the Y sensitivity along with changing the "Vel.z *" value within the script. The effect is more subtle than I like, but it's there and technically functional...I think. Mind you, I'm no coder and have no idea what I'm doing, so there's that. I'll PM an example you can check out or here works too https://www.dropbox.com/s/lrim5j83r4kqn ... 1.pk3?dl=0
User avatar
BROS_ETT_311
 
Joined: 04 Nov 2017

Next

Return to Abandoned/Dead Projects

Who is online

Users browsing this forum: No registered users and 1 guest