The Sims 4 XML Injector version 2

by admin
The Sims 4 XML Injector version 2

The Sims 4 XML Injector version 2

If you just play the game then you only need to download and install this library mod if another mod you download tells you that you must have this installed. On it’s own this mod does nothing, it works in the background to make other modders able to code their mods more easily.

If another mod does inform you that this mod is required for it to work, then you should proceed to download and install this. You do not need to download the Modder’s Documentation file, this contains the technical information for modders to reference.

Installation is simple. The file you download will contain two files, a script named XmlInjector_Script_v2.ts4script and XmlInjector_Test_v2.package.

Extract both of these files from the download file into your game Mods folder. You should install it directly into your Mods folder, and not a subfolder, in order to ensure that it can be easily located if you need to upgrade the script to a newer version.

The current version of the XML Injector is version 2, and denoted by the _v2 in the filenames. It has been written to work with the most recent game patch, 1.50.67 (February 21, 2019).

Once both files are installed, you must also ensure that script mods are enabled in your game options. This is very important as, though the XML Injector allows other mods to eliminate their scripts, the XML Injetor does the scripting for them and so script mods must be allowed in your game.

After installing the XML Injector, you should test to make sure it is working properly. The included test package adds several test interactions to several game objects. Choosing one of these “XML Injector Test” interactions from the pie menu should display a notification that the XML Injector is working properly. If you do not see these test interactions then the XML Injector is not installed properly and will not work for mods that depend on it.

The “XML Injector Test” test interactions can be selected from any of the following six locations in the game.

  • On a household’s mailbox
  • Any of the game’s computer objects
  • Clicking on any Sim
  • In the “Friendly” chat choices when clicking on another Sim
  • From a Sim on the relationship panel
  • From the “Household” phone category

There is not really any need to test more than one of these choices, any single one should suffice. The test is primarily in so many places in order to serve as a useful reference for modders to see how to code their own mods.

Once you have verified that the XML Injector is working, you may remove the XmlInjector_Test_v2.package file and test interactions will no longer appear on your pie menus.

The script file should remain in your Mods folder. If the script is removed, other mods which depend on it will no longer operate properly.

You should check back here occasionally, particularly a day or two after game updates if it stops working, to see if the mod has been updated with any important additions or fixes for new game patches. In the future, a mod you download may specify that it requires features from a version newer than the one you have installed, and again this is an important reason to keep the mod installed in the main Mods folder so it can always be located easily and the version number verified.

Sims 4 Mods ?

You may also like

Adblock Detected

Thank you for visiting our website. We hope you're enjoying the content we provide for free. However, we need to rely on ads to keep our website up and running. Unfortunately, some users have installed ad-blockers, which can prevent us from generating the revenue we need to maintain the quality of our site. We kindly ask that you disable your ad-blocker while using our website. This way, you'll be supporting us and helping us to continue delivering high-quality content to everyone. We understand that ads can be annoying, but we try our best to only show relevant and non-intrusive ads. Also, by disabling your ad-blocker, you'll be able to take advantage of exclusive offers and promotions from our advertising partners. We appreciate your understanding and support. By disabling your ad-blocker, you're helping us to sustain the website and improve the user experience.