Cluster Pic Weirdness

Ask about editing graphics, sounds, models, music, etc here!
Shaders (GLSL) and SNDINFO questions also go here!

Moderators: GZDoom Developers, Raze 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.
Post Reply
IgnyteZero
Posts: 21
Joined: Thu Jan 16, 2025 12:17 pm
Operating System Version (Optional): Windows 10

Cluster Pic Weirdness

Post by IgnyteZero »

So, in my wad I'm running Doom2 UDMF format and have a total of six clusters defined in my Mapinfo lump.

I'm using the pic command for the clusters to set mission briefing backgrounds for them.
Like this

pic = "SCREEN1"

The pictures are all in PNG and have a resolution of 960x538 pixels (16:9).
Now when I run the wad the first four backgrounds show up perfectly for each cluster, but when you get to the fifth it scales weirdly and only shows the upper left 20-25% of the image ingame.

I can shrink the resolution of the image,and more of it will be shown, but it still doesn't automatically scale with the screen as the previous ones does.

Any idea why this happens? I can't see any logical reason why it won't scale the screen for the fifth cluster just like it does for the previous ones. Is it a bug/limitation in GZDoom or is it something I'm completely mssing here?
Last edited by IgnyteZero on Fri Jun 13, 2025 12:50 pm, edited 1 time in total.
IgnyteZero
Posts: 21
Joined: Thu Jan 16, 2025 12:17 pm
Operating System Version (Optional): Windows 10

Re: Cluster Pic Weirdness

Post by IgnyteZero »

Martyee wrote: Sun Jun 08, 2025 10:24 pm Here’s what to try:
...
Thanks for the reply. I'll try those steps and se if it makes any difference. Crossing fingers, hoping it helps.
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Cluster Pic Weirdness

Post by Enjay »

IgnyteZero wrote: Tue Jun 10, 2025 6:41 am Thanks for the reply. I'll try those steps and se if it makes any difference. Crossing fingers, hoping it helps.
For info, I have split the post that you are referring to. It contained very generic and not particularly useful information. It was probably posted by a bot.


As for your actual problem, could you post your entire mapinfo for people to look at? It's a bit hard to figure out what is wrong from one line.
IgnyteZero
Posts: 21
Joined: Thu Jan 16, 2025 12:17 pm
Operating System Version (Optional): Windows 10

Re: Cluster Pic Weirdness

Post by IgnyteZero »

Enjay wrote: Tue Jun 10, 2025 1:17 pm
IgnyteZero wrote: Tue Jun 10, 2025 6:41 am Thanks for the reply. I'll try those steps and se if it makes any difference. Crossing fingers, hoping it helps.
For info, I have split the post that you are referring to. It contained very generic and not particularly useful information. It was probably posted by a bot.


As for your actual problem, could you post your entire mapinfo for people to look at? It's a bit hard to figure out what is wrong from one line.
Wouldn't you know? As if Googles AI bot wasn't annoying enough.

Sure. Here goes:

Code: Select all

// MAPINFO for RIDDLE OF THE VACANT BARON /////////

map VACANT01 "ENTERING THE BARONS FORTRESS"
{
	next = "VACANT02"
	secretnext = "VACANT02"
	sky1 = "SKY1N"
	cluster = 101
	par = 290
	music = "$MUSIC_STALKS"
	FallingDamage
}

map VACANT02 "WELL OF MADNESS"
{
	next = "VACANT03"
	secretnext = "VACANT03"
	sky1 = "SKY1N"
	sky2 = "SKY2N"
	cluster = 102
	par = 285
	music = "$MUSIC_THE_DA"
	FallingDamage
}

map VACANT03 "INTERDIMENSIONAL SUMMIT"
{
	next = "VACANT04"
	secretnext = "VACANT04"
	sky1 = "SKY3N"
	Sky2 = "SKY2N"
	cluster = 102
	par = 215
	music = "$MUSIC_DOOM"
	FallingDamage
}

map VACANT04 "THE FALLEN REFINERY"
{
	next = "VACANT05"
	secretnext = "VACANT05"
	sky1 = "SKY3N"
	cluster = 103
	par = 475
	music = "$MUSIC_COUNTD"
	FallingDamage
}

map VACANT05 "BASTION OF DESPAIR"
{
	next = "VACANT06"
	secretnext = "VACANT06"
	sky1 = "SKY3N"
	cluster = 103
	par = 333
	music = "$MUSIC_MESSAG"
	FallingDamage
}

map VACANT06 "THE FORSAKEN COMPLEX"
{
	next = "VACANT07"
	secretnext = "VACANT07"
	sky1 = "SKY3N"
	cluster = 104
	par = 225
	music = "$MUSIC_BETWEE"
	FallingDamage
}

map VACANT07 "INFESTED MINE"
{
	next = "VACANT08"
	secretnext = "VACANT08"
	sky1 = "SKY3N"
	cluster = 104
	par = 666
	music = "$MUSIC_SHAWN"
	FallingDamage
}

map VACANT08 "THE BARONS DESCENT"
{
	next = "VACANT09"
	secretnext = "VACSEC01"
	sky1 = "SKY3N"
	cluster = 104
	par = 1065
	music = "$MUSIC_IN_CIT"
	FallingDamage
}

map VACANT09 "FALLEN CITY OF AVERNII"
{
	next = "VACANT10"
	secretnext = "VACANT10"
	sky1 = "OSKY44"
	cluster = 105
	par = 960
	music = "$MUSIC_OPENIN"
	FallingDamage
}

map VACANT10 "TEMPLE OF INFERNAL GIFTS"
{
	next = "VACANT11"
	secretnext = "VACANT11"
	sky1 = "OSKY44"
	cluster = 105
	par = 750
	music = "$MUSIC_DOOM"
	FallingDamage
}

map VACANT11 "AN ABYSSAL BETRAYAL UNLEASHED"
{
	next = "VACANT12"
	secretnext = "VACANT12"
	sky1 = "OSKY30"
	cluster = 106
	par = 300
	music = "$MUSIC_EVIL"
	FallingDamage
}

map VACANT12 "THE HORRIBLE END"
{
	next = "VACANT13"
	secretnext = "VACANT13"
	sky1 = "OSKY30"
	cluster = 107
	par = 666
	music = "$MUSIC_DEAD2"
	FallingDamage
}

map VACSEC1 "TRAIN TO P.A.N."
{
	next = "VACANT09"
	secretnext = "VACANT09"
	sky1 = "SKY3N"
	cluster = 107
	par = 666
	music = "$MUSIC_DEAD2"
	FallingDamage
}


// CLUSTERS ///////////////////////////////////////

cluster 101
{
   pic = "SCREEN1"
   music = D_READ_M
   exittext =
   "* RIDDLE OF THE VACANT BARON *",
   " ",
   "As the last survivor of your platoon of",
   "marines you approached the very ominous",
   "fortress of Baron von Sheissmolk. Though inside",
   "were no traces left of the baron himself.",
   " ",
   "Instead it was overrun by the same demons",
   "that overwhelmed your men as well as showing",
   "proof of the barons pact with infernal powers.",
   " ",
   "You have now followed a vile trail into a",
   "deep mysterious well, leading into the very",
   "cursed undercroft of this cursed fortress.",
   " ",
   "Evil such as this must be stopped at any cost."
}

cluster 102
{
   pic = "SCREEN2"
   music = D_READ_M
   exittext =
   "Delving into the hidden undercroft of the",
   "fortress you found yourself plunging",
   "headfirst into a strange pool that seemed",
   "to shift the very reality around it.",
   " ",
   "Suddenly you were standing below strange",
   "mountain peaks you had never seen before.",
   "Here the barons minions had established",
   "outposts and bases for nefarious purposes.",
   " ",
   "Following this infernal trail you've now",
   "arrived at one of the larger of the",
   "barons outposts.",
   " ",
   "You clench your gun tight, ready for anything."   
}

cluster 103
{
   pic = "SCREEN3"
   music = D_READ_M
   exittext =
   "Having fought your way through this bastion",
   "of despair and vileness, you start to realise that",
   "the barons forces have long since lost control",
   "of these infernal beasts, and are now themselves",
   "just pawns of a greater evil. Slaves themselves to",
   "these shadowlands. These borderlands of hell.",
   " ",
   "Pushing forward you've come across the remains",
   "of what must have been a mining operation complex.",
   "Maybe here you might find the answers you seek,",
   "Or at least a way to stop this seemingly endless",
   "wave of demonical infestation."   
}

cluster 104
{
   pic = "SCREEN4"
   music = D_READ_M
   exittext =
   "Having bested the old mines, the demonic",
   "incursion just seemed to get worse and worse",
   "further down the trails of the barons operations.",
   " ",
   "Behind you are now the spot where the mad baron",
   "once opened a rift into hell, letting the demons",
   "into these shadowlands and our own world.",
   " ",
   "An infernal gate.",
   " ",
   "Weak is your hope of ever getting back as you",
   "once again plunge into the unknown.",
   " ",
   "Hot air and a smell of death greet you as you",
   "step out on the other side the gate. Desolation."   
}

cluster 105
{
   flat = "SCREEN5"
   music = D_READ_M
   exittext =
   "You've survived hell so far, and you've",
   "found the source of the barons powers.",
   "But everythings points towards Baron von",
   "Sheissmolk already having met a fate worse",
   "than death itself.",
   " ",
   "Determined you head down into the darkest",
   "pits of hell. Whatever remains of the baron",
   "must be destroyed. His soul is that which",
   "let hell reach into our own realm.",
   " ",
   "The baron must die his final death."   
}

cluster 106
{
   flat = "SCREEN6"
   music = D_READ_M
   exittext =
   "The riddle of the vacant baron is solved.",
   "Evil has failed and you remain victorious.",
   " ",
   "...",
   "...",
   "...",
   "But the way home is locked for you.",
   "Will you end your life here, or will you",
   "risk delving further into hell, searching",
   "for a way home? If the demons get your soul",
   "all you did will be for naught, and a new",
   "rift will be opened as you suffer eternally."
}

// EPISODES ///////////////////////////////////////
episode VACANT01
{
name = "Riddle of the Vacant Baron"
key= "r"
}	

// CUSTOM NUMBERS ///////////////////////////

DoomEdNums
{
	//Weapons
	20000 = UTNTFlamethrower
	20001 = FreezeRifle
	20002 = Gas
	20003 = BigGas
	20004 = Knife
	
	//Monsters
	20005 = Afrit
	20006 = Tentacle1
	20007 = Tentacle2
	20008 = Azazel
	20009 = BloodDemonClone
	20010 = BruiserDemon
	20011 = FlyKing
	20012 = BadFly
	20013 = Infernal
	20014 = LordofHeresy
	20015 = OverLord
	20016 = Pustule
	20017 = PyroImp
	20018 = D3Wraith
	20019 = SmallRat
	20020 = SuperFlyingImp
	20021 = PyroBoss	
}
User avatar
Enjay
 
 
Posts: 26935
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Cluster Pic Weirdness

Post by Enjay »

I note that clusters 101-104 have pic = "SCREENx"

but clusters 105-106 have flat = "SCREENx"

I suspect that's where the problem lies.
Post Reply

Return to “Assets (and other stuff)”