Объявления
Наш сайт создан 30 августа 2021 года. Он совсем молодой, поэтому просим вас не уходить так быстро! Добавьте нас в закладки!
На сайте тестируется автоматизированная система добавления модов, поэтому могут быть недоступны страницы
Последние комментарии
Razilator
@Razilator RimJobWorld [+18]

Mod updated to the current version.

1 неделя, 5 дней назад
Razilator
@Razilator Combat Extended

PyWorker, I will improve you!

1 месяц назад
PyWorker
@PyWorker Combat Extended

My great job at automating uploads! My version: 0.3. I try to improve according to my mood.

1 месяц назад
Razilator
@Razilator Mechalit Core (Continued)

I speak as an admin, I only played with the Mechalit Core mod. Now another person has continued his work, adapting it to Rimworld 1.3.

2 месяца, 2 недели назад
Razilator
@Razilator Victoria 8 Pro Bundle (G8F)

Nice, I like

2 месяца, 3 недели назад
Demalius
@Demalius Dark UI

Demalius, тест 4

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

XML Injector
0

  • #Library and Core #Tools, assets
  • Добавлен: 2 месяца назад
  • Обновлен: 2 недели, 2 дня назад
  • Просмотров: 41
    Автор(ы): Triplis
  • Версия: 11.12.2020
    Загрузок: 4
Ссылка Инфо Язык Версия Загрузок Загружен Добавил
Перейти к загрузке 15.6 KB Мультиязычный 11.12.2020 4 25/08/2021 в 09:51 Razilator
Описание

The XML Injector for The Sims 4 is a mod library to allow mods that would normally require a script for simple changes to instead use a custom snippet. The library provides the scripting, and the modder can release their mod without having to concern themselves with writing, compiling and maintaining a script. Currently the XML Injector snippet handles adding interactions to game objects in a variety
of ways with a simple XML definition.

-Scumbumbo

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 Injector 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.

 

Комментарии