RimWorld

RimWorld

Faux Rock Floor
26 Comments
Toby  [author] 13 Jul @ 2:37am 
Should work now, didn't check if 1.6 added new stuff for floors to consider
Toby  [author] 13 Jul @ 12:55am 
going through my workshop atm
✪Kurosendo 13 Jul @ 12:51am 
1.6 please
Toby  [author] 20 Jun, 2024 @ 10:33am 
It seems I forgot about that ^^; done
G-Fiti 15 May, 2024 @ 2:15pm 
Hello, could you please make the smoothed faux floors paintable? :)
Birblord 31 Jan, 2022 @ 1:00pm 
Sorry, that was messy wasn't it! Thanks for letting me know, I'll use pastebin in future. Appreciate the fast response :)
Toby  [author] 31 Jan, 2022 @ 9:43am 
For future reference, something like hastebin or a gist is way better for legibility.
I'll push an update for Biomes! Islands coral compatibility
Birblord 31 Jan, 2022 @ 4:04am 
at Verse.Graphic_Terrain.Init (Verse.GraphicRequest req) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.GraphicDatabase.GetInner[T] (Verse.GraphicRequest req) [0x00072] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.GraphicDatabase.Get[T] (System.String path, UnityEngine.Shader shader, UnityEngine.Vector2 drawSize, UnityEngine.Color color, System.Int32 renderQueue) [0x0001d] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.TerrainDef.<PostLoad>b__48_0 () [0x0004c] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007c] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
Birblord 31 Jan, 2022 @ 4:04am 
Could not execute post-long-event action. Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <eae584ce26bc40229c1b1aa476bfa589>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryGetValue (TKey key, TValue& value) [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.ModContentHolder`1[T].Get (System.String path) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.ContentFinder`1[T].Get (System.String itemPath, System.Boolean reportFailure) [0x0004b] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at Verse.Graphic_Single.Init (Verse.GraphicRequest req) [0x00050] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
Birblord 31 Jan, 2022 @ 4:04am 
System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor(intptr)
at System.Runtime.CompilerServices.RuntimeHelpers.RunClassConstructor (System.RuntimeTypeHandle type) [0x0002a] in <eae584ce26bc40229c1b1aa476bfa589>:0
at Verse.StaticConstructorOnStartupUtility.CallAll () [0x0001a] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
Birblord 31 Jan, 2022 @ 4:04am 
Error in static constructor of GenerateFauxStoneFloors.FauxStoneFloors: System.TypeInitializationException: The type initializer for 'GenerateFauxStoneFloors.FauxStoneFloors' threw an exception. ---> System.NullReferenceException: Object reference not set to an instance of an object
at RimWorld.DefGenerator.AddImpliedDef[T] (T def) [0x00000] in <cdbd0ed5089a418da09b9a259f9dbd8f>:0
at GenerateFauxStoneFloors.FauxStoneFloors.AddImpliedFauxFloors () [0x00023] in <519c48f92c384a419fc5e5bfb1208ac9>:0
at GenerateFauxStoneFloors.FauxStoneFloors..cctor () [0x0003f] in <519c48f92c384a419fc5e5bfb1208ac9>:0
--- End of inner exception stack trace ---
at (wrapper managed-to-native)
Birblord 31 Jan, 2022 @ 4:03am 
[FauxStoneFloors] Couldn't find stone blocks for ThingDef (BiomesIslands_CoralRock)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.Log:Error (string,bool)
GenerateFauxStoneFloors.FauxStoneFloors/FauxRoughStone:.ctor (Verse.ThingDef,Verse.ModContentPack)
GenerateFauxStoneFloors.FauxStoneFloors:GenerateFauxStoneFloors (Verse.ModContentPack)
GenerateFauxStoneFloors.FauxStoneFloors:AddImpliedFauxFloors ()
GenerateFauxStoneFloors.FauxStoneFloors:.cctor ()
System.Runtime.CompilerServices.RuntimeHelpers:RunClassConstructor (System.RuntimeTypeHandle)
Verse.StaticConstructorOnStartupUtility:CallAll ()
Verse.PlayDataLoader/<>c:<DoPlayLoad>b__4_3 ()
Verse.LongEventHandler:ExecuteToExecuteWhenFinished ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) Verse.Root:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
Birblord 31 Jan, 2022 @ 4:03am 
I play with way too many mods, and I think that they may not be playing nice with this mod. I pasted a bunch of error logs above, and I think it might be a Biomes thing (I disabled all the Biomes mods and the below errors stopped appearing at launch).

Basically, if I play with Biomes enabled, I get the above errors on launch and the faux floors disappear from my construction menu. They return to the construction menu and work just fine when I disable Biomes. I can't read the code, but it looks like the Coral type rock created by Biomes-Islands seems to cause trouble?

It's not urgent at all, just thought I'd post here. Thanks for a very cool and underrated mod!
Toby  [author] 25 Aug, 2021 @ 9:43am 
:p
Bucketsmith 25 Aug, 2021 @ 9:23am 
Woah, that is super weird. For me that comment appeared on my mod page, Toby! Man my previous windows install was so messed up, all sorts of things were going wrong. What the hell!
Sorry for the confusion man!
Toby  [author] 24 Aug, 2021 @ 1:08pm 
since when is there a bugs thread, lol
Added compat for Apha Biomes (should be extensible for other mods that prefix their rock defs)
No smoothed ancient metal floor tho, cuz I had the choice of making the cost variable for just one thing, or just not doing anything for now
Zandyr_Kayne 24 Aug, 2021 @ 11:01am 
Several red flags for Alpha Biomes' stone.
Bucketsmith 20 Jul, 2021 @ 9:42am 
I don't think I've said this before, but good job!
T/Waterproof_Bubbles 14 Apr, 2021 @ 9:12pm 
Thanks so much!
Toby  [author] 14 Apr, 2021 @ 8:34am 
I'm looking at it again and now I see the error, I was just kinda blind before
I was using the text label instead of the defName to find rocks
Fix should be up in a few minutes
T/Waterproof_Bubbles 10 Apr, 2021 @ 7:09pm 
Still get the same errors popping up. :(
Toby  [author] 10 Apr, 2021 @ 7:23am 
I've updated the mod... not sure if I actually *changed* anything, but I updated it.
Might fix stuff, if not.... uhhh... ask again?
T/Waterproof_Bubbles 7 Apr, 2021 @ 1:54pm 
Hi, I am wondering if you could help me with some errors that pop up when using this mod.

https://drive.google.com/file/d/1qaKCOJJtAuEqQkmjgzjaM_g4TUfROC72/view?usp=sharing
Bam4000 29 Jan, 2021 @ 10:27am 
nice! Its really good for killboxes!
Toby  [author] 29 Jan, 2021 @ 3:04am 
They should have the same statistics as normal rock floor
Bam4000 28 Jan, 2021 @ 12:33pm 
Do the floors still remove movement speed? I hope so!