-
Notifications
You must be signed in to change notification settings - Fork 852
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
Party Information Panel #7877
base: master
Are you sure you want to change the base?
Party Information Panel #7877
Conversation
Allows the player to toggle on/off a party info display on the top left hand side of the game screen. This display will show all connected players current health and mana. The option to toggle it on/off is found in the Gameplay settings underneath Show Mana Values
This has potential for a native feature, but will probably end up as a lua mod as will most things in the future. I would like to see character portraits on the left with healthbar/name which can be toggled in and out of view, and then a character panel showing name/class/level etc. Good starting point for an idea though! |
Would you suggest that I keep from working on it until lua modding support is functioning in that case?
Is there a way to scale a CLX sprite? I wasn't able to find a way to do so. |
We do it with the optional store item graphics |
Awesome, I'll have to take a look at that. Thank you for the reply! |
Instead of generic class sprites being used for players on the party panel the players current character sprite is now being used.
Originally the party panel was being drawn before the cursor so if the player hovered over it the cursor would be behind.
This method functions similarly to the LoadPlrGFX but only ever retrieves the player_graphic::Stand sprite sheet. It also only ever loads the sprites if it changes based on the characters currently equipped items as to not constantly call LoadCl2Sheet
There was no way to draw a HalfTransparentRect with any color so I made an Override that accepts a color.
…main panel portraits
Also shifted the starting position of the panel if the automap is open so you can see game info.
…g to inspect when hovering over a portrait
…DevilutionX into PartyInformationPanel
Allows the player to toggle on/off a simple party info display on the top left hand side of the game screen. This display will show all connected players current health and mana. The option to toggle it on/off is found in the Gameplay settings underneath Show Mana Values