Jump to content
Festro

Is there an easy way to debug mods?

Recommended Posts

I was wondering if there was a way to modify a mod's xml file while the game was loaded similar to unity's playmode to see if it works, and how well or if it errors out without having to exit and relaunch the game to make a few tweaks. Is this possible and if so how would I go about it? also are there any online resources explaining xpath modding in an easy to follow fashion? I've tried reading the documentation portion of the files, and the XML.txt in the config folder but can't seem to wrap my head around it.

Share this post


Link to post
Share on other sites

Sadly no... You just have to make changes and start the game and test. You don't have to shut the game down completely just to the start screen and reload your save after changes. You can check the xml's in the ConfigsDump folder of your save and see the actual changes your xpath has made. The game will put a copy of the xml in there and have a comment marked where the change is made. 

 

  • Like 1

Share this post


Link to post
Share on other sites

Cool thanks for the heads up. Not having to  restart the game entirely will save time.

Share this post


Link to post
Share on other sites

Ctrl-Shift-X reloads the XML files ingame.

 

It does not cover everything.  entities or progression are examples.

 

It does work on all buffs and items which tends to be most of what I tinker with.

  • Like 2

Share this post


Link to post
Share on other sites
Posted (edited)
4 hours ago, Gazz said:

Ctrl-Shift-X reloads the XML files ingame.

 

It does not cover everything.  entities or progression are examples.

 

It does work on all buffs and items which tends to be most of what I tinker with.

Thanks!

You would have said earlier.... or this opportunity appeared in A19?

Edited by n2n1 (see edit history)

Share this post


Link to post
Share on other sites

ran into a new problem following the posted tutorial, I believe it may be outdated as the example he makes references to a lootcontainer and the id parameter which I cannot find in the configs. the only lootcontainer I can find is in bundles\entities but the file is unreadable and the manifest isn't helping much either.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...