Начните вводить название — например, MoreHead, Sodium или PEAK

FieldInjection — иконка
Обложка BONEWORKSМод для BONEWORKS

FieldInjection

от WNP78

A utility for other mods to inject monobehaviour fields

  • Легендарный
  • 107,5 тыс. скачиваний
  • Версия 1.1.0
  • Обновлён 3 июня 2022
  • Не обновлялся больше года
  • Кодовые моды

О моде FieldInjection

FieldInjection — мод для BONEWORKS (Бонворкс) от автора WNP78. A utility for other mods to inject monobehaviour fields

Его скачали 107,5 тыс. раз: это 12-е место среди модов BONEWORKS в нашем каталоге, редкость — «легендарный» (топ-5% по скачиваниям). Мод давно не обновлялся — проверьте совместимость с текущей версией игры, актуальная версия — 1.1.0.

Это библиотека: сама по себе ничего не добавляет, но нужна другим модам.

Полное описание FieldInjection

Текст автора на языке оригинала

This mod is a utility for other mods to utilise MonoBehaviour field serialisation injection.

Instructions for players

  • To install the mod, just extract FieldInjector.dll into your Mods folder.

Instructions for programmers

If you want to utilise custom MonoBehaviours with properly serialised fields from asset bundles, reference this mod as a dependency.

Writing a custom MonoBehaviour

This is fairly simple, and there is very little difference between a normal unity MonoBehaviour and this. There is only a small amount of boilerplate code to add:

using UnityEngine;

class MyScript : MonoBehaviour
{
    // all of your normal MonoBehaviour code can go here

#if !UNITY_EDITOR
    public TestMB(IntPtr ptr) : base(ptr) { }
#endif
}

the #if instruction means that this code should compile in both the Unity Editor and in a MelonLoader mod, so that you can keep your code unified and test in the editor with ease.

Injecting a custom MonoBehaviour

This is what this mod is used for, and it is very simple:

FieldInjector.SerialisationHandler.Inject();

in the OnApplicationStart method is all that is needed. Do not register the class in Il2Cpp with MelonLoader or UnhollowerBaseLib - this mod does that itself and it won't be able to inject the class with fields if it's already injected without fields. Makers of frameworks that load code should consider registering fields for loaded behaviours automatically.

Using them in Custom Items / Maps / etc

No extra work should be required to use the injected behaviours in asset bundles. Simply attach the component and it will load in the game.

Changelog

  • v1.0: Release
  • v1.1: Added support for enum fields, cleaned code/memory allocation and added FieldInjector.SerializeField attribute to force serialisation of a non-public field.

Моды, которым нужен FieldInjection

4 в каталоге

Custom Maps — иконка

Custom Maps

Custom map loader for BONEWORKS

Легендарный236,1 тыс.Библиотека

Metal Gear Solid mod — иконка

Metal Gear Solid mod

--New : Snake and Greyfox player models + Socom and Katana custom weapons-- The 3 first part of MGS1 for Boneworks recreated in 1:1 scale. Including custom maps, player models, npcs, weapons, a museum and nice various features.

Редкий16,3 тыс.Уровни

ZW Bank — иконка

ZW Bank

The first custom map to feature zombies climbing and jumping!

Обычный9,9 тыс.Уровни

Marrow Metropolis — иконка

Marrow Metropolis

A vast beautiful city on a massive island.

Обычный8,8 тыс.Уровни

Как установить FieldInjection

Файл скачивается с официального сервера Thunderstore, без перезаливов и сторонних установщиков

Подробная инструкция для BONEWORKS
  1. Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру BONEWORKS.
  2. Создайте профиль — так моды не смешаются с чистой версией игры.
  3. Найдите «FieldInjection» во вкладке Online и нажмите Download — MelonLoader и все зависимости подтянутся сами.
  4. Нажмите «Start modded» — игра запустится с модами.
  5. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.
Вы автор мода? Поставьте ссылку на русское описание

Вставьте значок в описание на Thunderstore, в README или в Discord — русскоязычные игроки сразу попадут на страницу с переводом и инструкцией.

Описание на русском — Модка
Markdown[![Описание на русском — Модка](https://modka.app/badge.png)](https://modka.app/boneworks/wnp78-fieldinjection/)
HTML<a href="https://modka.app/boneworks/wnp78-fieldinjection/"><img src="https://modka.app/badge.png" alt="Описание на русском — Модка" height="44"></a>
Steam (BBCode)[url=https://modka.app/boneworks/wnp78-fieldinjection/]Описание на русском — Модка[/url]

Частые вопросы о FieldInjection

Как установить FieldInjection?

Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру BONEWORKS. Создайте профиль — так моды не смешаются с чистой версией игры. Найдите «FieldInjection» во вкладке Online и нажмите Download — MelonLoader и все зависимости подтянутся сами. Нажмите «Start modded» — игра запустится с модами. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.

Безопасен ли FieldInjection?

Файл скачивается с официального сервера Thunderstore, куда его загрузил WNP78. Мы не перезаливаем и не изменяем моды.

Когда FieldInjection обновлялся последний раз?

3 июня 2022, актуальная версия — 1.1.0. Это больше года назад: перед установкой проверьте, работает ли мод на текущей версии игры.

Похожие моды

Все моды на BONEWORKS
Hitmarkers — иконка

Hitmarkers

Redone for BONELAB, see all hits you make on your foes. Now with (WORKING) Quest support!

Легендарный203,7 тыс.Кодовые моды

SpidermanMod — иконка

SpidermanMod

You can now live out the dream of being Spiderman!

Легендарный160,8 тыс.Кодовые моды

CombatPlus — иконка

CombatPlus

Adds neck breaking to boneworks

Эпический76,7 тыс.Кодовые моды

IndexFinger — иконка

IndexFinger

Makes your fingers move in more natural ways, similar to a Valve Index user. (explained more in the README)

Эпический65,1 тыс.Кодовые моды

SpawnAnything — иконка

SpawnAnything

Add nearly any object to the spawn menu!

Эпический45,9 тыс.Кодовые моды

SuperStrength — иконка

SuperStrength

Reupload until original author uploads own version. It's superstrength! Yes, not being able to climb very well is a very known bug! Features: Massless punching + Configurable dampening on hands + Slo-mo hand movement bypass + SuperStrength

Эпический45,6 тыс.Кодовые моды