The "How do I..." Thread

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.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

AFAIK it's not possible in ZDoom. I suppose you could try to hack it with a skybox and changing the sky viewpoint's pitch and angle to compensate for the player's own pitch and angle, but it might not work right with uncapped FPS as the player's viewpoint will update more often than the scripting logic.
User avatar
Zeberpal
Posts: 191
Joined: Sun Apr 28, 2013 2:06 am
Location: RU

Re: The "How do I..." Thread

Post by Zeberpal »

Gez wrote:AFAIK it's not possible in ZDoom. I suppose you could try to hack it with a skybox and changing the sky viewpoint's pitch and angle to compensate for the player's own pitch and angle, but it might not work right with uncapped FPS as the player's viewpoint will update more often than the scripting logic.
Hm that's what I thought of too.
User avatar
xenoxols
Posts: 2134
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: The "How do I..." Thread

Post by xenoxols »

Is it possible to play back actual videos in (G)Zdoom? In any format?
User avatar
Ozymandias81
Posts: 2068
Joined: Thu Jul 04, 2013 8:01 am
Graphics Processor: nVidia with Vulkan support
Location: Mount Olympus, Mars
Contact:

Re: The "How do I..." Thread

Post by Ozymandias81 »

I didn't realized that was a ZDoom request... sorry :-(
User avatar
Enjay
 
 
Posts: 27089
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: The "How do I..." Thread

Post by Enjay »

xenoxols wrote:Is it possible to play back actual videos in (G)Zdoom? In any format?
No. ZDoom used to have a video playback feature but it was problematic for a variety of reasons and was removed.
User avatar
xenoxols
Posts: 2134
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: The "How do I..." Thread

Post by xenoxols »

Enjay wrote:
xenoxols wrote:Is it possible to play back actual videos in (G)Zdoom? In any format?
No. ZDoom used to have a video playback feature but it was problematic for a variety of reasons and was removed.
Well nuts, I can't use the ending from Duke Nukem Manhatten Project as the intro for my mod.
User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

Re: The "How do I..." Thread

Post by amv2k9 »

Is there a way through ACS to open/close Strife's logs for acquired keys, communicator message, and status?
User avatar
xenoxols
Posts: 2134
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: The "How do I..." Thread

Post by xenoxols »

How do you replace strife's intro intermission?
User avatar
xenoxols
Posts: 2134
Joined: Mon Mar 18, 2013 6:08 pm
Preferred Pronouns: She/Her
Location: Behind you

Re: The "How do I..." Thread

Post by xenoxols »

Better question, how do you use a slideshow in a titlemap?
thesleeve
Posts: 38
Joined: Tue Feb 21, 2012 10:57 am

Re: The "How do I..." Thread

Post by thesleeve »

I am trying to do something really basic using glowing flats. I like the added atmosphere that glowing floors can create, but I don't like the fact that they brighten the actor sprites that are sitting on top of them.

In my tests, GLDEFS Glowing Flats appear to make sprites go to their full brightness.
(See here for details: http://zdoom.org/wiki/GLDEFS#Glowing_flats)

As a simple example, if I do this...

Code: Select all

Glow
{
	Flats
	{
		FWATER1
	}
	Texture "FWATER1", 0001BB , 48
}
...then a ZombieMan standing in the water (even in an extremely dark sector) will be lit to full brightness.

I there a way to prevent that from happening? I would like to have the floors glow, but I want the sprites of the actors to stay dark in dark sectors.

A simple test is Doom 2's MAP02, which has many dark corridors and rooms with enemies standing in the water.

Thanks!
User avatar
Sandro
Posts: 183
Joined: Sat Oct 05, 2013 8:03 am
Location: Erathia

Re: The "How do I..." Thread

Post by Sandro »

I have a trouble with a custom monster.
The sound of him attacking is ~2 sec length. But he is also able to fire faster (<2sec) ; in that case, the sound is not played.
I searched in the Wiki (probably badly) but found nothing... How can I solve this ?

If needed :
Spoiler:
User avatar
MetroidJunkie
Posts: 709
Joined: Fri Aug 19, 2011 7:27 am

Re: The "How do I..." Thread

Post by MetroidJunkie »

Sandro wrote:I have a trouble with a custom monster.
The sound of him attacking is ~2 sec length. But he is also able to fire faster (<2sec) ; in that case, the sound is not played.
I searched in the Wiki (probably badly) but found nothing... How can I solve this ?

If needed :
Spoiler:

Is the sound defined in SNDINFO?
User avatar
edward850
Posts: 5890
Joined: Tue Jul 19, 2005 9:06 pm
Location: New Zealand
Contact:

Re: The "How do I..." Thread

Post by edward850 »

An actor can only play one sound on one channel at a time. Such a setup suggests you are attaching the sound to the wrong thing (should it be on the projectile instead?), if it's playing for far longer than the supposed action.
Gez
 
 
Posts: 17946
Joined: Fri Jul 06, 2007 3:22 pm

Re: The "How do I..." Thread

Post by Gez »

You can use CHAN_AUTO so that the actor will try to assign the sound to a free channel. See [wiki]A_PlaySound[/wiki] parameters.
User avatar
Sandro
Posts: 183
Joined: Sat Oct 05, 2013 8:03 am
Location: Erathia

Re: The "How do I..." Thread

Post by Sandro »

Well, the lines are copied from the ZombieMan attack as written on the Wiki. I just wanted to change the sound. I used CHAN_AUTO, but it still doesn't work all the time ; it is played very often but not always... :|
Locked

Return to “Editing (Archive)”