Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam Rich Presence #310

Open
TotallyMehis opened this issue Apr 9, 2020 · 3 comments
Open

Steam Rich Presence #310

TotallyMehis opened this issue Apr 9, 2020 · 3 comments
Labels

Comments

@TotallyMehis
Copy link
Member

https://partner.steamgames.com/doc/features/enhancedrichpresence

@dch-GH
Copy link

dch-GH commented May 12, 2022

I'm guessing this one is just a reminder for yourself? One would need access to the Steamworks API backend for ZMR to add this. Otherwise, I would like to implement it.

@TotallyMehis
Copy link
Member Author

IIRC, Source SDK Base 2013 comes with an older version of Steam API library that doesn't have rich presence feature. I think we'll have to wait for Steam release.

@dch-GH
Copy link

dch-GH commented May 13, 2022

image

Yeah we'll have to wait regardless because for rich presence to work (things like: "In the main menu", "Playing as the Zombie Master", "Playing as Survivor", "On map:{map} 16/20 players") you need to set the language token files on the Steamworks back-end, and reference those keys from the C++ gamecode.

"First you will need to set up your localization file in the Steamworks back-end. Obviously without this step the rich presence text does not really work as it has nothing to reference. You will need to set up your text file like this:"

"lang" {
	"language" {
		"english" {
			"tokens" {
				"#In_Main_Menu"	"In the Menu"
				"#Playing_Zombie_Master"	"Playing as the Zombie Master"
				"#On_Map_Players"	"{On map: %input%...."
			}
		}
	}
}

(from a tutorial about setting this up for Godot: https://gramps.github.io/GodotSteam/tutorials-rich-presence.html)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants