Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Arco Frio

#1
Help / Multiple texture paths
December 30, 2021, 02:23:06 PM
I'm trying to make a random art type that takes textures from multiple specific folders, so my question is: is it possible to have multiple texPaths for a single Graphic_Random type def? If so, how would I go about doing it? Posting this topic again since I believe last time was in the wrong place, so I got no answers.
#2
Help / Re: A quick tutorial of xpathing and patching
December 30, 2021, 02:20:37 PM
Quote from: benniii on May 27, 2017, 12:34:23 PM
Hi,

Is it possible to use the patching-method to change things added from other mods? I did read somewhere that this process is used before adding the mods.

Just for clarification

Patching comes after reading the defs, but I also believe it depends on load order. So yes, patching is intended exactly to change things added by other mods.
#3
Mods / Multiple texture folders for single def
December 24, 2021, 07:28:23 AM
I'm trying to make a random art type that takes textures from multiple specific folders, so my question is: is it possible to have multiple texPaths for a single Graphic_Random type def? If so, how would I go about doing it?
#4
Help / Re: Texture Paths?
December 24, 2021, 06:25:59 AM
Quote from: Syrchalis on July 22, 2018, 10:24:10 AM
Most of the errors were actually caused by other mods not working and them somehow messing up the textures of the other mods.

Still it doesn't mean I don't generally have trouble with texture paths. What I think I figured out is that the texture path is usually the folder, but in case of Graphic_Single it seems to be the file itself. So Graphic_Random (usually plants) and Graphic_Multi use folders like
/Things/Folder(s)/FolderContainingPNGs
while for Graphic_Single it's
/Things/Folder(s)/FolderContainingPNG/File(without extension).

I'm sorry for necroing, but I've been searching all around for an answer to a question. Since you said "folder(s)", does tha mean it's possible to have a def with multiple texture paths? If so, how can I achieve that? I'm trying to create a Graphic_Random type def that gets random textures from different specific folders.
#5
Help / Re: A quick tutorial of xpathing and patching
December 15, 2021, 10:48:38 AM
Hello, new here. I'm a late beginner at patching and while going ham creating patches, one of them happens to not work at all.

<Operation Class="PatchOperationSequence">
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ResearchProjectDef[defName="Yokai_R_Basic"]/techLevel</xpath>
<value>
<techLevel>Neolithic</techLevel>
</value>
</li>
</operations>
</Operation>


I have absolutely no idea why, but it seems the research will still show up as Spacer, even though I'm trying to change it to Neolithic. Any ideas?