Page 1 of 1

Outlaws's zooming aim in DooM, possible?

PostPosted: Sun Apr 08, 2018 9:34 pm
by Ravick
Hi there.

Please, take a look at 2:42 of this video:

Spoiler:


is there a way to create this in-sprite zooming effect?

(If possible, zscript-free?)

Thanks in advanced.

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sun Apr 08, 2018 10:02 pm
by Caligari87
Yes. Hideous Destructor does this with scopes. I believe it's using camera textures and a weapon/hud overlay.

Ravick wrote:(If possible, zscript-free?)


I think so? But you're really limiting the possibility space by avoiding ZScript.

8-)

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Mon Apr 09, 2018 1:10 am
by Matt
Can be done in ACS (HudMessage) or ZScript (status bar) and cameratextures.

I have never had the bother to try to include the bobbing since I have no idea how that's calculated. EDIT: This discussion is relevant.

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sat Apr 14, 2018 8:17 am
by Pixel Eater
Scope.pk3
ZombieScope.jpg
Here's a scope made with a shader that you can use. If you can find someone with the know-how to help, they might be able to set it to toggle along with the weapon of your choice (something I'm curious to learn as well). There's a test menu included to show what it can do.

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sat Apr 14, 2018 12:19 pm
by Caligari87
Lord have mercy, it's beautiful

8-)

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sat Apr 14, 2018 2:18 pm
by Apeirogon
Pixel Eater wrote:
Scope.pk3
ZombieScope.jpg
Here's a scope made with a shader that you can use. If you can find someone with the know-how to help, they might be able to set it to toggle along with the weapon of your choice (something I'm curious to learn as well). There's a test menu included to show what it can do.

Can you comment every line in "scope.fp"? I dont know where find meaning of functions.

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sat Apr 14, 2018 8:17 pm
by Pixel Eater
Scope1.1.pk3
I hope these comments are helpful. I also made some performance improvements and added a focus control.

This is a good link for functions, though I don't know if all are supported: GLSL Functions

Re: Outlaws's zooming aim in DooM, possible?

PostPosted: Sat Apr 14, 2018 10:00 pm
by Ravick
I guess it is time to learn Zscript then. =/

I'm avoiding it by now because I'm making maps for a mod that must be Zandronum-compatible. But I know it is much more powerful then DECORATE+ACS.

Also, my version of Hideous Destructor must be rly old... It does not have scopes! I'll download it again...

Oh, and BTW, thanks for all the help, guys!