GameSetting ConVars not showing

Started by Mister Rodgers' Neighbourhood · 10 months ago · 2 replies · 110 views

#1
Mister Rodgers' Neighbourhood
Member
JoinedAug 2022 Posts6 Score380
Hey gang. I'm trying to add game settings to my game, Physbox, but they don't appear in the main menu. Here is an example of how I define a ConVar in my code.
	[ConVar( "pb_deathmatch_kills_to_win",
		ConVarFlags.GameSetting ),
		Group( "Deathmatch" ),
		Title( "Kills to Win" )]
	public static int DeathmatchKillsToWin { get; set; } = 5;
When I publish the game and try to create a lobby, the groups appear, but no options show up.
I'm unsure whether this is a code issue, a package issue, or a backend issue. Would love some help with this! :)
#2
devultj
Facepunch
JoinedApr 2021 Posts96 Score3,005
Got any errors in the console?
#3
Mister Rodgers' Neighbourhood
Member
JoinedAug 2022 Posts6 Score380
Nope, absolutely nothing.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.