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

CustomAttributes — иконка
Обложка OutwardМод для Outward

CustomAttributes

от IggyTheMad

This is a dependency used by other mods to process new custom stats. Modders can make use of the new custom attributes and make all our mods compatible.

  • Эпический
  • 50 тыс. скачиваний
  • Версия 1.1.0
  • Обновлён 19 октября 2023
  • Не обновлялся больше года
  • Библиотека

О моде CustomAttributes

CustomAttributes — мод для Outward (Аутворд) от автора IggyTheMad. This is a dependency used by other mods to process new custom stats. Modders can make use of the new custom attributes and make all our mods compatible.

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

Для работы ему нужны: BepInExPack Outward.

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

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

CustomAttributes Dependency Mod

This is a dependency used by other mods to process new custom stats.

  • Critical Hit Chance (chance to deal increased damage on direct hits, doesnt trigger from damage over time)
  • Critical Heal Chance (chance to deal increased healing, from direct heals and heal over time)
  • Critical Scaling (increases the effects of critical hits and critical heals) (50% by default)
  • Avoidance (chance to completely avoid a direct hit, can not trigger from damage over time)
  • Leech (restore a percentage of damage dealt to your stamina or mana, whichever percent is lower)
  • Self Critical (chance to be critically hit by enemies instead)

Note: CriticalHit, CriticalHeal and Avoidance have bad luck protection for players, slightly increasing the chance of success every failed attempt, to prevent bad luck streaks. Like most games do.

For user: Just download if a mod tags it as a dependency (r2modman should download automatically)

For Modders: You can all make use of the new custom attributes and make all our mods compatible and work together! Any suggestions are also welcome.

--- HOW TO IMPLEMENT TO YOUR MOD (c# only)---

  1. Add the .dll as a reference in your c# project.
  2. Remember to add "using CustomAttributes; at the top of your c# class."
  3. On your base plugin "Awake" method, we need to tell the game which Passives or StatusEffects grant what CustomAttribute and by how much (detailed in the next section).
  4. Optionally, If you need to run custom code when certain event happens (like a critical hit), when can subscribe to events in the "Start" method.
  5. Thats it! The mod will calculate the total stats from all mods and do the appropriate calculations and effects.

--- CustomAttributes Methods() with examples ---

Store Passives (this is added on Awake() method)

Passives stored this way will grant whatever percent you add, of the specified attribute/s ("value" is the Attribute percent you want to add. Ex: 10 would add 10% of that attribute) Call the CustomAttributeHelper and run the method you need

  • PassiveCritRateStore(int skillID, float value)
  • PassiveCritHealStore(int skillID, float value)
  • PassiveCritScalingStore(int skillID, float value)
  • PassiveAvoidanceStore(int skillID, float value)
  • PassiveLeechStore(int skillID, float value)
  • PassiveSelfCritStore(int skillID, float value)

Example: This would make the Passive skill "Fitness" with ID 8205040 grant 10% critical hit chance

    
### Store StatusEffects (this is added on Awake() method)
**StatusEffects stored this way will TEMPORARILY grant whatever percent you add, of the specified attribute/s**
(it also works with leveled status effects, stacking per status level)
(**"value"** is the Attribute percent you want to add. Ex: 10 would add 10% of that attribute)
**Call the CustomAttributeHelper and run the method you need**
- StatusCritRateStore(string skillID, float value)
- StatusCritHealStore(string skillID, float value)
- StatusCritScalingStore(string skillID, float value)
- StatusAvoidanceStore(string skillID, float value)
- StatusLeechStore(string skillID, float value)
- StatusSelfCritStore(string skillID, float value)

Example: This would make the StatusEffect "Rage" grant 5% avoid chance

Running Custom code after events (this is added on Start() method)

You can trigger special code when a player deals a critical hit, critical heal, if they avoid a hit or if critically hit by an npc. Call a CustomAttributesBase instance and subscribe to the event you need

  • OnCharacterCritEvent += YOUR CUSTOM METHOD HERE
  • OnCharacterCritHealEvent += YOUR CUSTOM METHOD HERE
  • OnCharacterAvoidEvent += YOUR CUSTOM METHOD HERE
  • OnCharacterSelfCritFromAI += YOUR CUSTOM METHOD HERE

Example: This would run a custom method on your mod whenever a player critically heals succesfully

    
### Additional Methods
You can also get the total accumulated attributes from players if you need them for anything.
By getting a reference to their CustomAttributeComponent from the Character itself.

Ex: ``` CustomAttributeComponent playerCustomAtts = _character.GetComponent(); ```

- CalculateFinalCritRate()
- CalculateFinalCritHealRate()
- CalculateFinalScalingCrit()
- CalculateFinalAvoidance()
- CalculateFinalLeech()
- CalculateFinalSelfCrit()

All other events are public in case you need them, but the ones presented here should be enough for any mod.

______________________________________________________________
### Contact: Discord
Any questions, bugreports, feedback or just to say hi, join the Outward Modding Community discord and leave it at the iggythemad-workshop channel, or feel free to message me directly #iggythemad .

______________________________________________________________
##### CHANGELOG:

- v1.1.0 Added f5 options for notifications and flying text

- v1.0.1 Fixed crit and avoid triggering from damage over time

- v1.0 Release

Нужно для работы

В r2modman ставится автоматически

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

5 в каталоге

TrainersOfAurai — иконка

TrainersOfAurai

Original Classes: Grand-Apothecaries + Chrono-Magic + Spellslinger + Soul-Mage + Mad Whisperer + SelfDefence with universal perks like Drink on the move, charged heavy attacks, dodge cancelling, and more!

Эпический79,9 тыс.Библиотека

AlternateStart — иконка

AlternateStart

19 Brand New Start Scenarios with an alternative intro Quest, some with unique gameplay changes to spice new playthroughs or join factions immediately

Эпический54,9 тыс.Библиотека

QuestsOfAurai — иконка

QuestsOfAurai

New Lore-Friendly Quests, random events and rewards.

Редкий31,5 тыс.Библиотека

Definitively Outward By Videtoile — иконка

Definitively Outward By Videtoile

For Definitive Edition Outward only, this contains all of my mods, their configs, and are fit to play with multiple people, sliding scale of difficulty, and new classes. Intended with the inclusion of some ground rules.

Редкий19,1 тыс.

Aetherial Endeavors — иконка

Aetherial Endeavors

A massive Outward Definitive Edition modpack built with balance in mind. More classes, quests, magic, gear and crafting, a graphics overhaul, quality-of-life and co-op features. Includes fixes. Read the README for important info and known issues.

Обычный11 тыс.Библиотека

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

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

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

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

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

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

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

Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру Outward. Создайте профиль — так моды не смешаются с чистой версией игры. Найдите «CustomAttributes» во вкладке Online и нажмите Download — BepInEx и все зависимости подтянутся сами. Нажмите «Start modded» — игра запустится с модами. Для мультиплеера всем игрокам нужен одинаковый набор модов: в r2modman профиль можно экспортировать кодом и отправить друзьям.

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

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

Нужно ли друзьям ставить CustomAttributes?

Автор не указал, клиентский это мод или серверный. Безопаснее, чтобы одинаковый набор модов был у всех игроков в лобби: проще всего поделиться профилем r2modman.

Что нужно для работы CustomAttributes?

Установите вместе с ним: BepInExPack Outward. В менеджере модов зависимости подтягиваются автоматически.

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

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

Похожие моды

Все моды на Outward
UnityExplorer — иконка

UnityExplorer

An in-game UI for exploring, debugging and modifying Unity games.

Легендарный590,9 тыс.

BetterInventory — иконка

BetterInventory

Inventory menu improvements: 'Salvage', 'Send to Stash', 'Send to Host's Stash', 'Send to Other Player' in item menu. Show item price in inventory. More information in readme.

Эпический93,5 тыс.Интерфейс

Shared Stashes — иконка

Shared Stashes

Combines all Stash inventories so all of your items are accessible from any Stash.

Эпический85,8 тыс.Предметы

Meditation — иконка

Meditation

Pretty straight forward mod. When your character is sitting they will slowly regen burnt and active stats.

Эпический65,8 тыс.

Transmorphic — иконка

Transmorphic

Transmogrify and enchant your equipment with built in crafting menus. Transmog Weapons, Armor, Backpacks, Lanterns and Lexicons. Enchant gear through a crafting menu. No more fiddling around with pillar placements.

Эпический52,7 тыс.Интерфейс

Item Price Helper — иконка

Item Price Helper

Display Sell Price and Silver/Lb. in inventory.

Эпический47,2 тыс.Утилиты