Modding Help Making texture replacements seasonal

Discussion in 'Mods' started by Necrons, Feb 7, 2020.

  1. Necrons

    Necrons Void-Bound Voyager

    I'm using a CP mod that replaces the texture of the horse. There are several options for the texture you want to use. Is there a way I can rotate four of them seasonally, i.e one texture is used for summer, another for fall, etc.
     
    • Wingyl

      Wingyl Void-Bound Voyager

      I think you do that by putting all four in the Assets folder and naming them spring_horse, summer_horse, fall_horse, and winter_horse

      you may want to check out the seasonal leafeon mod to see if you need to do anything to the content.json
       
      • Pathoschild

        Pathoschild Cosmos Killer

        Yep, put the season in the filenames and then change the content.json to use them like this (adjust filename as needed):
        Code:
        "FromFile": "assets/{{season}}_horse.png"
        
        That {{season}} bit is a token that'll be replaced with the current season name automatically.
         

        Share This Page