Stardew Valley
Springy Duck Replacement

Image information

Added on

Uploaded by

Lycanthropire

About this image

I have always disliked the creepy springy duck in the playground, so I threw this together and edited it into my Starblue files, but for some reason I can still see the original duck hiding behind my new pony? It's haunting me...

Anyways, if someone could advise me what the heck I did wrong, I'd greatly appreciate it!







Also, if you would like the little horsey to use for your own mods, you can nab it HERE

No need to credit me or ask permission or anything. I modeled it loosely off of this rocking horse image, so I don't think I have much right in keeping it to myself!

3 comments

  1. waterice888
    waterice888
    • member
    • 9 kudos
    Are you using "PatchMode": "Overlay" ?
    1. Lycanthropire
      Lycanthropire
      • supporter
      • 5 kudos
      I honestly have no clue? ^^' I just changed the png that was included in the mod.
    2. waterice888
      waterice888
      • member
      • 9 kudos
      I see. The reason for the duck behind the horse is probably because the mod that you're editing the picture is using overlay mode to edit image. The overlay module does not replace the texture, but overlays the new texture on top of the original texture. This visual error occurs when the texture shape changes.

      You can look at the content file of that mod,  and check to see if the code for editing "spring_town" or "{{season}}_town" looks like this:
      {
      "LogName": "Town",
      "Action": "EditImage",
      "Target": "Maps/{{season}}_town",
      "FromFile": "assets/{{season}}_town.png",
      "PatchMode": "Overlay"
      },
      If the answer is yes, then the overlay pattern is responsible for the visual error.

      The solution is to rewrite the code without using overlay mode for the duck texture.
      If you are not good at modular coding, maybe I can help you, please leave an email for communication and sending files (I don't have a dropbox account, sorry).

      I'm not a native English speaker, so I hope I made myself clear! Please forgive me if I have been impolite.