If anyone's having trouble on Linux with the animations not loading, you can fix this by renaming the files in "assets" to all be lowercase. For example, "default_Spring" becomes "default_spring", etc.
Hi there, the animation content.json set up changed for animations, therefore it doesnt work anymore.
This one here changed: "FromArea": { "X": , "Y": , "Width": , "Height": }, "ToArea": { "X":, "Y": , "Width": , "Height": },
I paste it fully in here, so people who are a bit scared to fiddle around in those can simply copy paste. :) Please open the content.json in the mod folder with an editor(editor or notepad++) and overwrite it with this:
Hope I'm not butting in or causing trouble, but I was frustrated for a little bit cause the trees wouldn't load in on regular sunny days! I'm not great at coding but I think if you want it to activate on sunny days as well, you'll have to add 'sun' to all the weather areas on @magoozor 's code to fix it. I haven't gotten the chance to try it out but I do love this lil mod a lot and hope it helps someone
It seems to work just fine for me, other than the fact that saplings with seasonal colors revert to their original colors during their swaying animation.
52 comments
This one here changed:
"FromArea": {
"X": ,
"Y": ,
"Width": ,
"Height":
},
"ToArea": {
"X":,
"Y": ,
"Width": ,
"Height":
},
I paste it fully in here, so people who are a bit scared to fiddle around in those can simply copy paste. :)
Please open the content.json in the mod folder with an editor(editor or notepad++) and overwrite it with this:
{
"Format": "1.7",
"ConfigSchema":
{
"Recolor_Option": {
"AllowValues": "default, AWNR, Starblue, Untitled",
"Default": "default"
},
"Animated_Oak": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Maple": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Pine": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Festival": {
"AllowValues": "true, false",
"Default": "true"
},
},
"Changes": [
{
"LogName": "Animated Oak",
"Action": "EditImage",
"Target": "TerrainFeatures/tree1_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}.png",
"FromArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 100,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Oak": "true"
}
},
{
"LogName": "Animated Oak Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree1_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 30,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Festival": "true"
}
},
{
"LogName": "Animated Maple",
"Action": "EditImage",
"Target": "TerrainFeatures/tree2_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}.png",
"FromArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Oak": "true" }
},
{
"LogName": "Animated Maple Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree2_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 30,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Festival": "true" }
},
{
"LogName": "Animated Pine Spring and Summer",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_spring",
"FromFile": "assets/{{Recolor_Option}}_spring.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 90,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season": "spring, summer",
"Animated_Pine": "true" }
},
{
"LogName": "Animated Pine Fall",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_fall",
"FromFile": "assets/{{Recolor_Option}}_fall.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 90,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season" : "fall",
"Animated_Pine": "true" }
},
{
"LogName": "Animated Pine Winter",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_winter",
"FromFile": "assets/{{Recolor_Option}}_winter.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 90,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season": "winter",
"Animated_Pine": "true" }
},
{
"LogName": "Animated Pine Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 30,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Animated_Festival": "true" }
},
]
}
Use this text for all trees:
{
"Format": "1.7",
"ConfigSchema":
{
"Recolor_Option": {
"AllowValues": "default, AWNR, Starblue, Untitled",
"Default": "default"
},
"Animated_Oak": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Maple": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Pine": {
"AllowValues": "true, false",
"Default": "true"
},
"Animated_Festival": {
"AllowValues": "true, false",
"Default": "true"
},
},
"Changes": [
{
"LogName": "Animated Oak",
"Action": "EditImage",
"Target": "TerrainFeatures/tree1_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}.png",
"FromArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Oak": "true"
},
},
{
"LogName": "Animated Oak Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree1_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Festival": "true"
},
},
{
"LogName": "Animated Maple",
"Action": "EditImage",
"Target": "TerrainFeatures/tree2_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}.png",
"FromArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Maple": "true"
},
},
{
"LogName": "Animated Maple Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree2_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 160,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Recolor_Option": "default, AWNR, Untitled, Starblue",
"Animated_Festival": "true"
},
},
{
"LogName": "Animated Pine Spring and Summer",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_spring",
"FromFile": "assets/{{Recolor_Option}}_spring.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season": "spring, summer",
"Animated_Pine": "true"
},
},
{
"LogName": "Animated Pine Fall",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_fall",
"FromFile": "assets/{{Recolor_Option}}_fall.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season" : "fall",
"Animated_Pine": "true"
},
},
{
"LogName": "Animated Pine Winter",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_winter",
"FromFile": "assets/{{Recolor_Option}}_winter.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"weather": "wind, storm, rain, snow",
"Season": "winter",
"Animated_Pine": "true"
},
},
{
"LogName": "Animated Pine Festival",
"Action": "EditImage",
"Target": "TerrainFeatures/tree3_{{season}}",
"FromFile": "assets/{{Recolor_Option}}_{{season}}_festival.png",
"FromArea": {
"X": 0,
"Y": 320,
"Width": 48,
"Height": 160
},
"ToArea": {
"X": 0,
"Y": 0,
"Width": 48,
"Height": 160
},
"AnimationFrameTime": 80,
"AnimationFrameCount": 2,
"When": {
"HasValue:{{DayEvent}}": "true",
"Animated_Festival": "true"
},
},
]
}