Main manue fade overlay customisable

Moderator: GZDoom Developers

User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: Main manue fade overlay customisable

Post by Ryan Cordell »

Kinsie wrote:.. but I don't know what that reason is.
Stupidity.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49245
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Main manue fade overlay customisable

Post by Graf Zahl »

Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Main manue fade overlay customisable

Post by Kinsie »

Graf Zahl wrote:
Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.
I just went searching and saw a post where you said it was like that for a reason. *shrug* It was from last year so I assume attitudes have changed since then.

It would be nice for it to be changed to a string - not because it would be some super-amazing feature everyone wants, but because it's simply strange and inconsistent for one text string out of hundreds* to be treated so differently from the others for no noticable reason.

(* I'm not counting the automap "MONSTERS" "ITEMS" etc. just because there's no need to ever change that)
Last edited by Kinsie on Thu Sep 03, 2009 9:19 am, edited 1 time in total.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Re: Main manue fade overlay customisable

Post by Xaser »

I'm all for having them modder-customizable, really. I just figured it wouldn't be considered when I posted earlier. It's good to be wrong, sometimes. :P
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49245
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Main manue fade overlay customisable

Post by Graf Zahl »

Kinsie wrote:
Graf Zahl wrote:
Kinsie wrote: On the subject of user settings, does anyone remember why the "You Found A Secret!" text is a CVAR instead of a language string? I know it's like that on purpose and for a reason, but I don't know what that reason is.
The typical for such kind of change. It was a quick addition to satisfy a specific need but wasn't really thought through. I wouldn't mind changing it to a language string if there's no objections. AFAIK nobody has ever used it to change the secret message.
I just went searching and saw a post where you said it was like that for a reason. *shrug* It was from last year so I assume attitudes have changed since then.[/size]

Back when I made the change LANGUAGE was a compiled binary lump that had no decent customizability - and I really hated that 'A secret is revealed' message.
User avatar
Kinsie
Posts: 7402
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Main manue fade overlay customisable

Post by Kinsie »

Ahh, that'd explain it then.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Main manue fade overlay customisable

Post by Tormentor667 »

Cutmanmike wrote:I wasn't even aware you could change the color. Scary, what else don't I know about this thing I use pretty much almost every day of my life?
I didn't kniw this as well until now :P
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: Main manue fade overlay customisable

Post by wildweasel »

Graf Zahl wrote:If would be part of the gameinfo for the standard modes, too. Hands up, please, who doesn't use the standard values, I personally would prefer to see this become a mapping option instead of a user option. It would make much more sense.
I currently have my dimcolor set to 00 00 00, with an amount of 0.5.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49245
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Main manue fade overlay customisable

Post by Graf Zahl »

Added. Here's the rules:

By default the gameinfo setting is used. This is controlled by the dimamount CVAR. If that is -1 the dimcolor is taken from the gameinfo.
If dimamount is >= 0 the dimamount/dimcolor CVARs are used.

The next ZDoom will automatically reset dimamount to -1 if it loads an old config to ensure that custom gameinfos work by default so anyone using custom settings will have to respecify them. User overrides are unconditional, i.e. they also override any PWAD's setting.

This was all done under the assumption that most people who change these values are doing so to switch dimming off,not changing its color.
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Main manue fade overlay customisable

Post by Tormentor667 »

Great, thank you :)

So, what woul I have to add to which lump to specify a dimcolor in rgb settings?
User avatar
Enjay
 
 
Posts: 27145
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Main manue fade overlay customisable

Post by Enjay »

The gameinfo section in MAPINFO

eg, here is the Doom one (the last two entries):

Code: Select all

gameinfo
{
	titlepage = "TITLEPIC"
	creditpage = "CREDIT"
	titlemusic = "$MUSIC_DM2TTL"
	titletime = 11
	advisorytime = 0
	pagetime = 5
	chatsound = "misc/chat"
	finalemusic = "$MUSIC_READ_M"
	finaleflat = "SLIME16"
	finalepage = "CREDIT"
	infopage = "HELP", "CREDIT"
	quitsound = "menu/quit2"
	borderflat = "GRNROCK"
	border = DoomBorder
	telefogheight = 0
	defkickback = 100
	skyflatname = "F_SKY1"
	translator = "xlat/doom.txt"
	mapinfo = "mapinfo/doom2.txt"
	defaultbloodcolor = "68 00 00"
	defaultbloodparticlecolor = "ff 00 00"
	backpacktype = "Backpack"
	statusbar = "sbarinfo/doom.txt"
	intermissionmusic = "$MUSIC_DM2INT"
	intermissioncounter = true
	weaponslot = 1, "Fist", "Chainsaw"
	weaponslot = 2, "Pistol"
	weaponslot = 3, "Shotgun", "SuperShotgun"
	weaponslot = 4, "Chaingun"
	weaponslot = 5, "RocketLauncher"
	weaponslot = 6, "PlasmaRifle"
	weaponslot = 7, "BFG9000"
	dimcolor = "ff d7 00"
	dimamount = 0.2
}
User avatar
Tormentor667
Posts: 13556
Joined: Wed Jul 16, 2003 3:52 am
Preferred Pronouns: He/Him
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia (Modern GZDoom)
Location: Germany
Contact:

Re: Main manue fade overlay customisable

Post by Tormentor667 »

Thanks Enjay :)
Post Reply

Return to “Closed Feature Suggestions [GZDoom]”