Ludeon Forums

Ludeon Forums

  • December 03, 2022, 11:20:42 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

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.

Messages - benniii

Pages: [1]
1
Releases / Re: [1.1][1.0][Texture] Naked Softness
« on: March 01, 2020, 12:35:38 PM »
Exception was: System.Xml.XmlException: Version number '1.1' is invalid. Line 1, position 16.

Change in About.xml from:

Code: [Select]
<?xml version="1.1" encoding="utf-8"?>to
Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
That worked for me so far,
cheers

2
Help / Re: A quick tutorial of xpathing and patching
« on: May 27, 2017, 04:05:23 PM »
Hey.

Thanks for your concern but don't worry that's for personal use only. I'm more the introvert lurking guy here, i don't plan to publish anything. ^^

I just did some other testings and it does indeed work with other values. Replacing description or label doesn't work so far. I did start testing with these thats why i was questioning it. Kinda wondering why though. But im set now, so thanks for the tip and answering. :)

Edit: I figured out why i couldn't replace description or label. It is because of the provided languages files.

3
Help / Re: A quick tutorial of xpathing and patching
« on: May 27, 2017, 01:17:31 PM »
Hm, so it is. Is there an example out there? It might be possible that i do something wrong. I tried like several hours yesterday and just came to the conclusion that this might not work, lol.

If i change the defName here to "HorseshoesPin" the description would change, but with added items from mods it does not. And i'm loading my mod at the very end after them. So where would be the secret behind that? Thanks for answering and sorry if it doesn't fit in this topic.

Code: [Select]
<Patch>
  <Operation Class="PatchOperationReplace">
    <xpath>*/ThingDef[defName = "PowerConduitInvisible"]/description</xpath>
    <value>
      <description>This is just a test.</description>
    </value>
  </Operation>
</Patch>

4
Help / Re: A quick tutorial of xpathing and patching
« 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

Pages: [1]