ruined VHS tape filter during gameplay

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Lolo_is_cool
Posts: 399
Joined: Sun Oct 19, 2008 12:07 pm
Location: italy
Contact:

ruined VHS tape filter during gameplay

Post by Lolo_is_cool »

Hey guys! i need some help on a thing i'm testing.
I'm trying to mimick a VHS tape filter to use on a gameplay mod. The given effect should look like this while playing:
Image

Problem is, i have done all the animation screens ready to be added. i set them as fonts in FONTDEFS and set them as "printbold" messages on ACS
in order to appear to the screen, but they only appear in a way smaller scale than the video resolution.
any tips on how i could make it look bigger that it could at least cover the entire screen??
Attachments
PNG'd vhs filter
PNG'd vhs filter
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: ruined VHS tape filter during gameplay

Post by wildweasel »

Would [wiki]SetHudSize[/wiki] do what you want?
User avatar
Jaxxoon R
Posts: 772
Joined: Sun May 04, 2014 7:22 pm

Re: ruined VHS tape filter during gameplay

Post by Jaxxoon R »

Using SetHudSize and defining it as whatever resolution the VHS font is should help, I think maybe.
User avatar
Lolo_is_cool
Posts: 399
Joined: Sun Oct 19, 2008 12:07 pm
Location: italy
Contact:

Re: ruined VHS tape filter during gameplay

Post by Lolo_is_cool »

wildweasel wrote:Would [wiki]SetHudSize[/wiki] do what you want?
wether i put (5000,5000) or (0,0) the size doesn't change
EDIT: here's the code.
Spoiler:
and here how it appears ingame:
Spoiler:
i'll leave the template wad just in case
Attachments
VHS.wad
(138.67 KiB) Downloaded 432 times
User avatar
wildweasel
Posts: 21706
Joined: Tue Jul 15, 2003 7:33 pm
Preferred Pronouns: He/Him
Operating System Version (Optional): A lot of them
Graphics Processor: Not Listed
Contact:

Re: ruined VHS tape filter during gameplay

Post by wildweasel »

As far as I can glean from the Wiki article, SetHudSize does not affect Print statements. Try [wiki]HudMessage[/wiki] instead.
User avatar
Ral22
Posts: 531
Joined: Sun Sep 05, 2010 12:09 pm
Preferred Pronouns: He/Him
Location: The Fortress of Dr. Radiaki
Contact:

Re: ruined VHS tape filter during gameplay

Post by Ral22 »

Took a quick second aside to get it working. I went from a font to an animated texture, then applied it as a HudMessageBold. This removes the need to have a repeating script and I defined the SetHudSize to accomodate both 16:9 and 4:3 resolutions. You can find the updated file here: https://www.mediafire.com/?ys1jk4dwzgb6zvj

It's a lovely effect, by the way.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: ruined VHS tape filter during gameplay

Post by Ed the Bat »

I like this. And just in time for Halloween, too. Hmm, now I'm wondering how your Lasting Light project would look with this, Ral. =)
User avatar
zrrion the insect
Posts: 2432
Joined: Thu Jun 25, 2009 1:58 pm
Location: Time Station 1: Moon of Glendale

Re: ruined VHS tape filter during gameplay

Post by zrrion the insect »

This is pretty cool.
User avatar
IMX
Posts: 791
Joined: Sat May 11, 2013 9:20 am
Location: Frogland, Mexico
Contact:

Re: ruined VHS tape filter during gameplay

Post by IMX »

Ral22 wrote:Took a quick second aside to get it working. I went from a font to an animated texture, then applied it as a HudMessageBold. This removes the need to have a repeating script and I defined the SetHudSize to accomodate both 16:9 and 4:3 resolutions. You can find the updated file here: https://www.mediafire.com/?ys1jk4dwzgb6zvj

It's a lovely effect, by the way.
Oh man this is incredible
User avatar
Ral22
Posts: 531
Joined: Sun Sep 05, 2010 12:09 pm
Preferred Pronouns: He/Him
Location: The Fortress of Dr. Radiaki
Contact:

Re: ruined VHS tape filter during gameplay

Post by Ral22 »

Ed the Bat wrote:I like this. And just in time for Halloween, too. Hmm, now I'm wondering how your Lasting Light project would look with this, Ral. =)
Yeah, it's a great look! Could definitely add that Slender video camera effect, but since I never wanted the "look through the video camera" effect and LoLo came up with the effect, I'll leave it to them. I am curious to see what they will be doing with it though.
User avatar
TiberiumSoul
Posts: 1066
Joined: Fri Jan 20, 2012 11:29 pm
Graphics Processor: nVidia (Modern GZDoom)
Location: My Computer...

Re: ruined VHS tape filter during gameplay

Post by TiberiumSoul »

if someone adds a little red "REC" dot to the upper corner you could have a creepy found footage filter to use when making lets plays for lasting light
User avatar
Nash
 
 
Posts: 17487
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia
Contact:

Re: ruined VHS tape filter during gameplay

Post by Nash »

Cool filter, be sure to make it widescreen compatible!
User avatar
IMX
Posts: 791
Joined: Sat May 11, 2013 9:20 am
Location: Frogland, Mexico
Contact:

Re: ruined VHS tape filter during gameplay

Post by IMX »

Is there a chance to add more VHS frames?
User avatar
ibm5155
Posts: 1268
Joined: Wed Jul 20, 2011 4:24 pm
Contact:

Re: ruined VHS tape filter during gameplay

Post by ibm5155 »

Widescreen support Always look Weird for me, there should be some simple printfullscreenimage function, and the problem would be solved (I already did a function like that that outputs the image in the right size to 4:3, 16:9, 16:10 aspect ratios, the only draw side was it's just limited to fixed image sizes (320x240, 640x480, 640x640, 800x600, 1200x720 and there were some more on it...)

It Always looked weid to me to use string functions to display actually pictures, maybe some classes to only deal with images would be nice too
Locked

Return to “Editing (Archive)”