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

Show equipped titan as "small image" #18

Closed
IncPlusPlus opened this issue Aug 20, 2021 · 2 comments · Fixed by #70
Closed

Show equipped titan as "small image" #18

IncPlusPlus opened this issue Aug 20, 2021 · 2 comments · Fixed by #70
Assignees
Milestone

Comments

@IncPlusPlus
Copy link
Owner

IncPlusPlus commented Aug 20, 2021

#14 accidentally added some partially-complete titan icons. These were ripped from the game's textures. Ideally I'd figure out whether they look fine as-is or whether they need the black parts replaced with white. If I can determine which titan the current user has equipped, I could potentially show it as the "small image" in the Rich Presence.

Since some were already merged accidentally, a new branch will have to be made to finish trimming the rest of the icons.

@IncPlusPlus IncPlusPlus self-assigned this Aug 20, 2021
@IncPlusPlus IncPlusPlus changed the title Add titan icons Show equipped titan as "small image" Aug 21, 2021
@IncPlusPlus
Copy link
Owner Author

IncPlusPlus commented Aug 22, 2021

This looks promising!

switch ( titanClass )
	{
		case "ion":
			return $"rui/menu/store/prime_ion_bg"
		case "scorch":
			return $"rui/menu/store/prime_scorch_bg"
		case "northstar":
			return $"rui/menu/store/prime_northstar_bg"
		case "ronin":
			return $"rui/menu/store/prime_ronin_bg"
		case "tone":
			return $"rui/menu/store/prime_tone_bg"
		case "legion":
			return $"rui/menu/store/prime_legion_bg"
		case "monarch":
			return $"rui/menu/store/prime_legion_bg"
	}

Seems the titanClass might be stored in a string???

@IncPlusPlus
Copy link
Owner Author

IncPlusPlus commented Sep 6, 2021

I think I found the enum values at engine.dll+7A7429 so I'm going to leave the list of titans here for ordering reference.
image

This was referenced Sep 6, 2021
@IncPlusPlus IncPlusPlus added this to the 2.0.0 milestone Oct 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant