[SW] Improved weapons FOV

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [SW] Improved weapons FOV

Re: [SW] Improved weapons FOV

by Graf Zahl » Mon Mar 16, 2020 6:01 am

Generally speaking, the weapon sprite implementation is rather messed up in all the Build games - not one of them has such a clean and transparent system as the Doom engine and as you might guess, once people started to expand the Duke 3D engine, all this got scripting hooks as well, making things even more complicated and hard to follow.

Re: [SW] Improved weapons FOV

by sinisterseed » Mon Mar 16, 2020 4:56 am

Graf Zahl wrote:And in SW it gets even more complex because the weapon and status bar are done with the same logic.
Aaaaaaand that's not the optimal way of doing it, isn't it :v ?

I think Blood suffered from a similar issue with drawing stuff in older builds.

Re: [SW] Improved weapons FOV

by Graf Zahl » Mon Mar 16, 2020 2:05 am

Not much. They use totally different approaches to do these things. And in SW it gets even more complex because the weapon and status bar are done with the same logic.

Re: [SW] Improved weapons FOV

by mjr4077au » Sun Mar 15, 2020 2:41 pm

I wonder how much of that stuff between the games can be unified, like HUD and player input code, etc?

Re: [SW] Improved weapons FOV

by sinisterseed » Sun Mar 15, 2020 2:34 pm

mjr4077au wrote:This might be something better suggested upstream? Hendricks266 and others are working hard on getting VoidSW ready for proper usage and it's probably right it's fixed there.
Perhaps, doesn't sound like a bad idea.

But Duke should also be brought to attention because it suffers from the same issue.

Re: [SW] Improved weapons FOV

by mjr4077au » Sun Mar 15, 2020 2:29 pm

This might be something better suggested upstream? Hendricks266 and others are working hard on getting VoidSW ready for proper usage and it's probably right it's fixed there.

[SW] Improved weapons FOV

by sinisterseed » Sun Mar 15, 2020 2:00 pm

This is basically something I suggested quite a while ago, but I figured I should finally make a topic for it so it's not forgotten.

Something that always bothers me in SW - and Duke, to be frank - is that the weapons FOV is atrocious with the full status bar enabled as it covers too big a portion of the sprites. Some ports such as Redux (and I think Megaton and WT as well) changed something here so that the weapons go much farther away from the screen than they do in the other ports, including Raze, although I cannot even begin to guess what. It would be so good to have this changed in the future.

For comparison's sake, this is how the Riot Gun looks like in Raze: https://i.imgur.com/XKidRBZ.png
And this is how it looks in Redux: https://i.imgur.com/Qa0WgHT.png

The same sprite is used in Raze, I borrowed it from Redux, and as it can be seen, the distance of the weapon from the screen with the full status bar drawn is different.

Redux actually has its own .def file where some offsets are mentioned for the altered weapons, which made me think it simply hacked their offsets, but other weapons that are not mentioned in its custom .def file, such as the Uzis, are also drawn farther from the screen there, so this is probably not it.

Top