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

Did you remember to install Counter-Strike Source? Adds emergency fallbacks for the most commonly edited DMIs that get icon states programmatically to help with development and bug reporting. #50788

Merged
merged 1 commit into from May 4, 2020

Conversation

Iamgoofball
Copy link
Contributor

About The Pull Request

unknown

If you equip clothing without correct icons, the game will now inform you that the clothing is broken. Please file bug reports if you see missing textures or error models.

ERROR

Added the error model to the DMIs with the highest likelihood of people accidentally doing minor misspellings to icon_state names, so that issues with missing icons get reported more often.

Why It's Good For The Game

I got really annoyed when dealing with dmi issues during Families 3.0 development, and it's honestly a huge pet peeve of mine that so many things just default to invisible if the icon breaks. This allows you to still interact with the item in game as it'll at least have an icon to click.

Players also report broken assets more when they look like the source engine broken asset visuals. Like, I ain't even kidding, when I was doing development on a project people reported missing textures and shit way more when I made missing textures do the source engine purple/black checkerboard. Same with the error model.

Everyone and their mom knows what these visuals mean, it's crazy.

Changelog

🆑 FuryMcFlurry, Yeeye
imageadd: Missing textures and error models are now visible if an item has a broken icon. If you see broken assets in game, report it!
/:cl:

…lbacks for the most commonly edited DMIs that get icon states programmatically to help with development and bug reporting.
@tgstation-server tgstation-server added the Sprites A bikeshed full of soulless bikes. label May 1, 2020
@Iamgoofball
Copy link
Contributor Author

lmao icon diff couldn't handle it

@Fikou
Copy link
Member

Fikou commented May 1, 2020

this is epic but won't this increase the codebase size a bunch by adding something to all the icon files

@81Denton
Copy link
Member

81Denton commented May 1, 2020

Is there a way to handle this without manually adding error textures to a lot of DMIs?
I can see this get really annoying when 1) people assume that all DMIs have the error texture fallback (but they don't) and 2) people add new DMI files and someone has to check that all of them contain error textures.

@ghost
Copy link

ghost commented May 1, 2020

adding a icon to like 100 files is not a good implementation for this

@Iamgoofball
Copy link
Contributor Author

@81Denton I only added the error texture to DMIs that

  1. determine the used icon_state programmatically
  2. has a ton of icons in it
  3. is edited pretty often

i can scrap the action button stuff but I figured they could use it the most

the clothing and stuff is staying though cuz that's what this was made for originally

this is also not dmi bloat, this is maybe 100 kilobytes, tops, for what is an extremely useful tool to prevent us dealing with missing icons that nobody ever reports

@Iamgoofball
Copy link
Contributor Author

like, to clarify i did not put this in every single dmi file we own

@Shadowflame909
Copy link
Contributor

We already have floortiles. Now we just need walls.

@actioninja actioninja merged commit 1b05698 into tgstation:master May 4, 2020
@81Denton
Copy link
Member

81Denton commented May 4, 2020

@actioninja I'd prefer for this to be reverted and test merged on a single server so the whole playerbase doesn't have to deal with dozens of huge blinking ERROR signs until someone fixes them a couple of weeks later. Once those are taken care of, we can full merge.
What do you think about it?

@Iamgoofball
Copy link
Contributor Author

@81Denton The point of the merge is for the players to find the blinking error signs for us. If you make a revert, I will revert your revert.

@81Denton
Copy link
Member

81Denton commented May 4, 2020

@Iamgoofball Odd, I don't recall you being a maintainer.

@PKPenguin321
Copy link
Contributor

PKPenguin321 commented May 6, 2020

Seems broken? Players are walking around with small pink dots everywhere where there is no sprite to be missing

image
weird pink earring looking this, floating white pixel at the bottom left only on my south sprite, for example (all seem to be tied to radio headset?). others have belts of pink on only some directions?

@Iamgoofball
Copy link
Contributor Author

a bugfix was made and merged for the floating white pixel, servers just need to update

@actioninja
Copy link
Member

@81Denton most of the more egregious issues are already being corrected, it's just cosmetic anyways.

@pireamaineach
Copy link
Contributor

This PR fails to take into account that many things are unsprited intentionally.

actioninja added a commit to actioninja/tgstation that referenced this pull request May 26, 2020
…ency fallbacks for the most commonly edited DMIs that get icon states programmatically to help with development and bug reporting. (tgstation#50788)"

This reverts commit 1b05698.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Sprites A bikeshed full of soulless bikes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants