RimWorld
Majestic Foliage Framework[HH]
Taggerung 31 JUL 2024 a las 13:50
1.5 Update
So I've been able to update this to 1.5 with very minimal changes but due to the lack of license can't upload the update. If @Hohen you'd approve I'm happy to dump the update on Github for you or anywhere else. I had to work from the DLL so it'd be better to apply the patch to the original code rather than the decompiled version.

Just needed a small tweak to the PlantGraphic harmony patch, the annotations weren't quite sufficient to hit that getter:
[HarmonyPatch(typeof(Plant), nameof(Plant.Graphic), MethodType.Getter)]

And swapping over to MapMeshFlagDefOf.Things instead of casting 1 to MapMeshFlag.

Those are the only changes needed.
< >
Mostrando 1-9 de 9 comentarios
BigJoeSteel 4 AGO 2024 a las 5:50 
Could you tell me where to change this information? I can't find the plantgraphic harmony patch.
Taggerung 4 AGO 2024 a las 8:12 
Assuming you decompile the dll with Dotpeek and save it as a project which is what I did to get a base to work from it makes `Plant_GraphicPatch.cs` which contains `public static class Plant_GraphicPatch` but the annotations are wrong and need to be ` [HarmonyPatch(typeof(Plant), nameof(Plant.Graphic), MethodType.Getter)]`
BigJoeSteel 4 AGO 2024 a las 15:33 
MajesticFramework.dll ya? thanks ill take a crack at it
kmiloesproncedal43 8 AGO 2024 a las 17:58 
Could you point me where to find MapMeshFlag? I canot find It in the PlantGraphicPatch
Taggerung 9 AGO 2024 a las 16:27 
The MapMeshFlag uses aren't in that patch, they're in the MapWorker.cs. If you've got it open in an editor it's just the bits that don't compile old code was like:

(MapMeshFlag) 1
kmiloesproncedal43 14 AGO 2024 a las 21:23 
Thanks for the reply, Will do that.
batatspamavert 21 AGO 2024 a las 13:48 
Can say that the instructions worked. To remove remaining errors you can copy the trees from the tree pack you use with the Framework, append '_Immature' to the name and move the new files to the `Textures/Things/Plant` folder.
Archie 31 AGO 2024 a las 19:00 
How did you resolve the make transparent and make leafless errors? Those do not seem to be fixed by doing that.
batatspamavert 24 SEP 2024 a las 2:16 
Publicado originalmente por Archie:
How did you resolve the make transparent and make leafless errors? Those do not seem to be fixed by doing that.
I didn't, I just never turned the transparency really on. But from what I understand you just need to repeat the process for immature transparent trees and immature leafless by just copying the files yet again and adding the same suffixes?
Última edición por batatspamavert; 24 SEP 2024 a las 2:17
< >
Mostrando 1-9 de 9 comentarios
Por página: 1530 50