Outlaws's zooming aim in DooM, possible?

Ask about ACS, DECORATE, ZScript, or any other scripting questions here!

Moderator: GZDoom Developers

Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.

Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
Post Reply
User avatar
Ravick
Posts: 2046
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil
Contact:

Outlaws's zooming aim in DooM, possible?

Post 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.
User avatar
Caligari87
Admin
Posts: 6229
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

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

Post 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-)
User avatar
Matt
Posts: 9696
Joined: Sun Jan 04, 2004 5:37 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Debian Bullseye
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia
Contact:

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

Post 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.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

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

Post by Pixel Eater »

Scope.pk3
(1.96 KiB) Downloaded 110 times
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.
User avatar
Caligari87
Admin
Posts: 6229
Joined: Thu Feb 26, 2004 3:02 pm
Preferred Pronouns: He/Him
Contact:

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

Post by Caligari87 »

Lord have mercy, it's beautiful

8-)
User avatar
Apeirogon
Posts: 1606
Joined: Mon Jun 12, 2017 12:57 am

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

Post 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.
User avatar
Pixel Eater
 
 
Posts: 667
Joined: Wed Aug 02, 2017 12:31 am
Location: In between the Moon and you, between the buried and me.

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

Post by Pixel Eater »

Scope1.1.pk3
(2.41 KiB) Downloaded 115 times
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
User avatar
Ravick
Posts: 2046
Joined: Sun Aug 22, 2010 10:59 pm
Location: Tubarão, Brasil
Contact:

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

Post 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!
Post Reply

Return to “Scripting”