RimWorld
2,510 평점
XML Extensions
5
5
5
4
2
2
   
어워드
즐겨찾기
즐겨찾기됨
즐겨찾기 해제
Mod, 1.2, 1.3, 1.4, 1.5
파일 크기
게시일
업데이트일
735.862 KB
2021년 8월 13일 오후 6시 55분
2024년 3월 15일 오전 12시 38분
변경 사항 120개 ( 보기 )

다운로드 위해 구독하기
XML Extensions

Imranfish님의 1 모음집
Imranfish's Mods
아이템 5개
설명
Read the wiki at the GitHub page[github.com] to learn more.

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 framework adds many more patch operations, allows for the easy creation of mod settings in XML, and much more.

More Patch Operations
XML Extensions includes many new patch operations for modders to use. These operations are much more powerful and dynamic, and allow you to basically do programming in XML; you have access to if-statements, for-loops, mathematical operations, etc.

Create Mod Settings in XML
With XML Extensions, you can easily create mod settings for your mod, all in XML! You may use these settings to toggle patch operations, change values within your patch operations, or use them in C# to do anything else.

Settings for mods using XML Extensions are located next to the regular Mod Settings button.


Enhanced Error Reporting for XML Errors
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):



In addition, an "Advanced debugging mode" is available which will improve the messages of all XML errors, and will keep track of every Def that gets patched in every patch operation in order to provide you with a list of possibly relevant mods:



Improved Mod Settings UI
A new mod settings menu is added with improved UI. It includes a sidebar with a list of all mods, has a search bar to allow you to search for mods quickly, and has the ability to "pin" mods for quick access.



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
Please contact me if you would like to add a translation.

I am willing to take suggestions for improvements and additions to this framework, and will try to fix any bugs reported.

Join the discord! https://discord.gg/mrrEhHnSQy

Read the wiki at the GitHub page[github.com] to learn more.

Also check out [DN] Custom Tag Maker and PublisherPlus!
인기 토론 모두 보기(3)
62
2024년 7월 11일 오전 2시 39분
고정됨: Bug Reports
Imranfish
8
2023년 9월 16일 오전 5시 25분
고정됨: Suggestions
Imranfish
1
2023년 5월 29일 오전 12시 21분
Getting these kind of errors along with Real Ruins
p20 hammerpoints
댓글 166
WordIsBig 3시간 전 
When I open the page, I can't close it, I just quit the game
PillowKakes♥ 2024년 7월 19일 오후 5시 17분 
This mod's stack trace is so incredibly baller thank you very much for this excellent mod :steamthumbsup:
unluckyew87 2024년 7월 17일 오전 1시 45분 
does this mod still work or does it config with HAR/other mods?
XyTheur 2024년 7월 4일 오전 10시 52분 
Does not work with VFE architect and Fortifications Industrial loaded together. Works with them if one of them is not loaded.
https://docs.google.com/document/d/e/2PACX-1vRgBzSGGPdcgMd60-tBK_O3PNBWfDNw9qFcOA7BeIDfLJxbSX0yfML4XI8P-SbrayGplpJW3_Gi6qEV/pub
BoundCNapalm 2024년 5월 12일 오후 8시 32분 
From what Erdelf has said on discord, load XML Extensions before HAR since he fixed it on his end. Any other issues with XML Extensions have yet to be resolved.
erdelf 2024년 5월 11일 오전 7시 15분 
wonderful assumption you have there... maybe check what this framework does before you speak ^^
Professor H. Farnsworth 2024년 5월 11일 오전 6시 16분 
Wildly incorrect. This framework works fine.
It's not a framework's fault that a mod is doing something it probably shouldn't be doing in the first place and achieves it through rather hacky ways.
Hadley 2024년 4월 27일 오전 7시 41분 
Pretty much unusable right now.
大吉岭の紅茶战车道 2024년 4월 23일 오전 8시 18분 
conflict with HAR....
radiox 2024년 4월 22일 오전 5시 39분 
Har issues