RimWorld

RimWorld

Uniform Vanilla Walls
19 Comments
Ontheheavens 27 May, 2023 @ 2:02am 
Can we get an update, even if it's only a change of a number in XML?
Malicious_Fetus 1 Nov, 2022 @ 2:04am 
works fine on 1.4
ГАНКУЛ 13 Jun, 2021 @ 8:38am 
I did not understand what this mod was doing, the marble walls were both in the form of bricks, and the rest were in the form of bricks.
K'Braid  [author] 31 May, 2021 @ 12:42pm 
thanks for informing me! i'll fix my updated mods
5katz 31 May, 2021 @ 8:57am 
hey there, you changed the PackageID by accident, it has a "_copy" at the end of it and as such is kicked out of any active modlist, would be nice if you could revert that
K'Braid  [author] 11 Mar, 2020 @ 9:42am 
@AerosAtar thanks! worked like a charm!
AerosAtar 11 Mar, 2020 @ 6:38am 
@K'Braid Oh. Whoops. Just realised I missed something from my earlier instructions (adding the /graphicData/texPath to the end of the xpath designator on both operations). Maybe that is why your walls vanished?
AerosAtar 11 Mar, 2020 @ 6:37am 
@pinbuck Good plan! (Why am I too stupid to think of things like that for myself?) Anyway... I checked and those changes I made worked perfectly - the wall visuals are updated to the ones with the uniform central divide.

@K'Braid No idea why your walls vanished. It works for me. The entire thing looks like this:

<?xml version="1.0" encoding="utf-8" ?>
<Patch>
<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[defName = "Wall"]/graphicData/texPath</xpath>
<value>
<texPath>Things/Building/Linked/Wall</texPath>
</value>
</Operation>

<Operation Class="PatchOperationReplace">
<xpath>/Defs/ThingDef[thingClass = "Mineable"]/graphicData/texPath</xpath>
<value>
<texPath>Things/Building/Linked/Rock_Atlas</texPath>
</value>
</Operation>
</Patch>
K'Braid  [author] 10 Mar, 2020 @ 5:26pm 
@AerosAtar while it did remove the errors, it also deleted walls form the game entirely. I still can barely grasp how patching is supposed to work most of the time.
pinbuck 10 Mar, 2020 @ 1:38pm 
@AerosAtar use camera+ and make a comparison
AerosAtar 10 Mar, 2020 @ 12:15pm 
This seemed to work after about 20 minutes of playing around and testing a few different things, though since this is my first real look "under the hood" in a Rimworld mod, I make no guarantees I am correct:

1) Change both Patch Operations to "Replace" instead of "Add".
2) Remove the <li> and </li> tags from both operations.
3) Change the second operation's xpath designator from thingDef = "RockBase" to thingClass = "Mineable".

After making those changes, I no longer receive errors in the debug log. However, without knowing exactly what to look for (comparison screenshots would be really useful here), I am not 100% sure it is actually doing anything. Hope the above helps though, or at least ends up pointing you in the right direction. :fhappy:
K'Braid  [author] 10 Mar, 2020 @ 8:27am 
or how to "fix" it
K'Braid  [author] 10 Mar, 2020 @ 8:27am 
i am aware of the error log. for all intents and purposes this mod should not function. but it does. I have no idea why or how.
pinbuck 9 Mar, 2020 @ 6:43pm 
https://gist.github.com/3b320c51be05b54db9f77fb4c126c731
@AerosAtar there's the full github paste, hopefully the author reads it
AerosAtar 9 Mar, 2020 @ 4:36pm 
Getting the following debug errors:
[Uniform Vanilla Walls] Patch operation Verse.PatchOperationAdd(/Defs/ThingDef[defName = "RockBase"]) failed
file: C:\Steam\steamapps\workshop\content\294100\2008101277\Patches\Patch_UVW.xml

XML error: <li><texPath>Things/Building/Linked/Wall</texPath></li> doesn't correspond to any field in type ThingDef. Context: <ThingDef ParentName="BuildingBase" Name="Wall"><category>Building</category>...(xml continues with the additional wall parameters, but it is much too long to post here)
K'Braid  [author] 4 Mar, 2020 @ 9:27pm 
@zeke Rakken only if the mods use the vanilla wall textures.
RyanRigormortis 4 Mar, 2020 @ 5:45pm 
Does this work for modded stones and stuff? I'm going to try it out and see if I like it :)
Wolfwood1316 4 Mar, 2020 @ 12:26pm 
I second the need for pictures!
NECEROS 28 Feb, 2020 @ 10:36pm 
You need pictures. Show the before and after. Convince people to get your mod :)