Мини-новости
Наш сайт создан 30 августа 2021 года. Он совсем молодой, поэтому просим вас не уходить так быстро! Добавьте нас в закладки!
Обновлена версия сайта v1.5 🎉 С предложениями по улучшению сайта, пишите в телеграм: @Razilator
Последние комментарии
Razilator
@Razilator Devious Desires

babaBuceta, honestly, I don't know, I haven't played this mod)

23 часа, 26 минут назад
babaBuceta
@babaBuceta Devious Desires

how make rape interaction?

2 дня, 6 часов назад
Razilator
@Razilator

I added at your request fashion. Noir's Rifle Slings Katanas and Machetes on Back or Belt

1 месяц назад
Razilator
@Razilator

Ximerius, steam has disabled my account with download support... My automatic mod version control system has stopped working. I'll try to figure out what's wrong, so the mods will be delayed in downloading for now.

1 месяц, 1 неделя назад
Ximerius
@Ximerius

hey man, hope all is well with you. if you could add these when you'll have time would be much appreciated. Noir's Rilfe Slings, Katanas and Machetes on Back or Belt. thanks

1 месяц, 1 неделя назад
Razilator
@Razilator Authentic Z

Ximerius, good. I was away. All added what you asked for.

1 месяц, 2 недели назад

XML Extensions
1

  • Rimworld -> Mods -> Core and Framework
  • Добавлен: 8 месяцев, 1 неделя назад
  • Обновлен: 1 месяц назад
  • Просмотров: 424
    Автор(ы): Imranfish
  • Версия: 2022-05-25
    Загрузок: 43
Ссылка Инфо Язык Версия Загрузок Загружен Добавил
Перейти к загрузке 350.2 KB Мультиязычный 2022-05-25 2 26/05/2022 в 01:17 PyWorker
Перейти к загрузке 349.7 KB Мультиязычный 2022-05-14 0 20/05/2022 в 09:26 PyWorker
Перейти к загрузке 349.2 KB Мультиязычный 2022-05-13 1 14/05/2022 в 01:07 PyWorker
Описание

Read the change notes for the latest news.

XML Extensions is a framework and modding tool that is focused on extending the general functionality of XML mods. This includes adding more patch operations, allowing for the easy creation of mod settings, and allowing access to C# variables in XML.

In addition, debugging tools such as improved XML error reporting are also included.

More Patch Operations

XML Extensions includes an extensive library of patch operations to allow the modder more flexibility in writing patches. These patch operations can make writing XML patches more similar to programming, as you now have the ability to use If-statements, For-loops, compute values, and even write custom methods.

Create Mod Settings in XML

Create mod settings for your mod, only through XML! XML Extensions allows you to implement mod settings extremely easily, and customize your own mod settings menu. You can use these settings to customize values in your patches, toggle patches, or use them in your C# code to do anything else you want.

Settings for mods using XML Extensions are located under "More Mod Settings".

Enhanced Error Reporting for XML Patches

With XML Extensions active, all XML patch errors will now generate a stack trace as well! This means that you can figure out exactly which patch failed, and in some cases, it will even tell you what part of the patch failed. All you need to do is have XML Extensions activated in your modlist while testing your mod.

Here is an example of a trace for a broken patch (you can easily figure out the error is that the letter "N" should be capital in defName):



The vanilla error message for the exact same patch (only reports the parent patch, not the one that actually failed; no clue as to what went wrong):

How to Use

To use this mod as a user, just load this mod after core but before all other mods that depend on it. As a modder, you need to mark this mod as a dependency in Steam Workshop, and include the dependency in your About.xml.

Languages:

  • English
Комментарии