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.

Outlaws's zooming aim in DooM, possible?

Postby Ravick » Sun Apr 08, 2018 10:34 pm

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
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil

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

Postby Caligari87 » Sun Apr 08, 2018 11:02 pm

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
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

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

Postby Matt » Mon Apr 09, 2018 2:10 am

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
Matt
Putting the XD into *xdeath since 2007
 
Joined: 04 Jan 2004
Location: Gotham City SAR, Wyld-Lands of the Lotus People, Dominionist PetroConfederacy of Saudi Canadia

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

Postby Pixel Eater » Sat Apr 14, 2018 9:17 am

Scope.pk3
(1.96 KiB) Downloaded 45 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
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: Outlaws's zooming aim in DooM, possible?

Postby Caligari87 » Sat Apr 14, 2018 1:19 pm

Lord have mercy, it's beautiful

8-)
User avatar
Caligari87
I'm just here for the community
User Accounts Assistant
 
Joined: 26 Feb 2004
Location: Salt Lake City, Utah, USA
Discord: Caligari87#3089

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

Postby Apeirogon » Sat Apr 14, 2018 3:18 pm

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.
Apeirogon
I have a strange sense of humour
 
Joined: 12 Jun 2017

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

Postby Pixel Eater » Sat Apr 14, 2018 9:17 pm

Scope1.1.pk3
(2.41 KiB) Downloaded 45 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
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: Outlaws's zooming aim in DooM, possible?

Postby Ravick » Sat Apr 14, 2018 11:00 pm

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!
User avatar
Ravick
Do what thou wilt, since you don't bug the hell out of me!
 
Joined: 22 Aug 2010
Location: Tubarão, Brasil


Return to Scripting

Who is online

Users browsing this forum: No registered users and 2 guests