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

Achievements — иконка
Обложка InscryptionМод для Inscryption

Achievements

от Infiniscryption

An API for adding achievements. Includes an achievement browser and a happy little popup whenever you unlock one.

  • Легендарный
  • 92,2 тыс. скачиваний
  • Версия 1.0.0
  • Обновлён 26 марта 2024
  • Не обновлялся больше года
  • Библиотека
  • Твики
  • Мод Кейси

О моде Achievements

Achievements — мод для Inscryption (Инскрипшн) от автора Infiniscryption. An API for adding achievements. Includes an achievement browser and a happy little popup whenever you unlock one.

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

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

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

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

Achievements for Kaycee's Mod

This is an Achievement Management API. On its own, it doesn't do much other than allow you to browse the 8 Kaycee's Mod achievements and get a pop-up notification whenever you unlock one of them. The main draw of this API is that other mods can use this to add their own achievements which players can track in a dedicated achievement tracking screen.

The upshot is that you probably won't ever need to install this on by itself. Instead, other mods that want to add achievements will make this one of their dependencies.

This is in beta! Bugs are to be expected. @ me on discord if you need to.

Browsing Achievements

Achievements can be viewed in the Kaycee's Mod section of the game, in a new screen under "UNLOCKS". Browse to UNLOCKS >> ACHIEVEMENTS to browse all currently available achievments.

NOTE: To protect the immersive nature of the default Inscryption experience, only base game achievements specifically for Kaycee's Mod have been made compatible with this API. Achievements related to the main story of Inscryption will not be "unlocked" using the achievement popup and will not be browseable in the Achievements screen.

Achievement Groups

All achievements must belong to an achievement group. Achievements will be displayed as part of their group on the achievement browser screen. All achievements in the same group will share the same "locked" icon and unlock sound. If you don't provide an unlock sound, this API will use a default (see the Credits section for a link to the sound); however, you must provide an unlock icon. All achievement icons must be a 22x22 Texture2D instance.

The unlock sound can either be an instance of AudioClip (most easily loaded through the API's SoundManager class), or it can be the name of a preloaded audio clip. The game loads all clips in the Resources/Audio/SFX folder at launch, so if you've unpacked the game's file you can browse through them and look for an existing audio clip to use - just supply the name of the wav file.

You will need to keep a reference to the ID of the achievement group that was generated for you when you call the NewGroup method. This ID will be used to link the achievements you create to that group.

using Infiniscryption.Achievements;
using InscryptionAPI.Helpers;
using InscryptionAPI.Sound;

// Creating a group with an unlock sound loaded from a wav file
var groupId = ModdedAchievementManager.NewGroup(
    "my.plugin.guid",       // plugin guid
    "Example Achievements",  // achievement group name
    SoundManager.LoadAudioClip("achievement_default.wav"), // unlock sound
    TextureHelper.GetImageAsTexture("achievement_locked.png", typeof(MyPlugin).Assembly) // lock icon
).ID;

// Creating a group with an unlock sound that re-uses an existing game asset
var groupId = ModdedAchievementManager.NewGroup(
    "my.plugin.guid",       // plugin guid
    "Example Achievements", // achievement group name
    "VO_yes",               // unlock sound - Luke Carder shouting "YES!"
    TextureHelper.GetImageAsTexture("achievement_locked.png", typeof(MyPlugin).Assembly) // lock icon
).ID;

// Creating a group without an unlock sound (which uses the default)
var groupId = ModdedAchievementManager.NewGroup(
    "my.plugin.guid",       // plugin guid
    "Example Achievements",  // achievement group name
    TextureHelper.GetImageAsTexture("achievement_locked.png", typeof(MyPlugin).Assembly) // lock icon
).ID;

Achievements

Once you have created an achievement group, you can start creating new achievements. Each achievement needs a name, a description, an icon, and an indicator as to whether or not it is a "secret" (secret achievements will not display their description on the achievement screen until they have been unlocked).

As with the locked icon, the achievement icon must be a 22x22 Texture2D instance.

You will need to keep a reference to the achievement IDs that were created for you so you can write code to unlock them later:

using Infiniscryption.Achievements;
using InscryptionAPI.Helpers;

internal static Achievement SAMPLE_ACHIEVEMENT { get; private set; }

SAMPLE_ACHIEVEMENT = ModdedAchievementManager.New(
    "my.plugin.guid",       // plugin guid
    "This Is Only A Test",  // Achievement name
    "This achievement exists solely to show how the API works", // Achievement description
    false,                  // Indicates if the achievement is secret
    groupId,                // The ID of the achievement group from above
    TextureHelper.GetImageAsTexture("achievement_test.png", typeof(MyPlugin).Assembly)
).ID;

Unlocking Achievements

All achievements are unlocked the same way: using the base game method AchievementManager.Unlock.

HINT: One very common place to unlock achievements is at the end of a Kaycee's Mod run. The best way to do this is to patch the AscensionMenuScreens.TryUnlockAchievements method:

[HarmonyPatch(typeof(AscensionMenuScreens), nameof(AscensionMenuScreens.TryUnlockAchievements))]
[HarmonyPostfix]
private static void AscensionCompleteAchievements()
{
    if (/* condition */)
        AchievementManager.Unlock(SAMPLE_ACHIEVEMENT);
}

Checking To See If An Achievement Is Unlocked

If you want to track a specific achievement's status (for example, if you want to manage some sort of special reward), you can check like this:

using Infiniscryption.Achievements;

ModdedAchievementManager.AchievementById(SAMPLE_ACHIEVEMENT).IsUnlocked; // Tells you if the achievement is unlocked

Credits

Achievement sound: "UI App > UI Achievement Puzzle Game Application" by Eponn

The Thunderstore icon for this mod (which appears nowhere else in the mod) came from IconMonstr

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

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

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

4 в каталоге

GrimoraMod — иконка

GrimoraMod

[NEW MUSIC, CRYPT] Dark secrets await! The real act 4 for Inscryption/ turns the Grimora section from the Finale into a full Act.

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

P03 In Kaycees Mod — иконка

P03 In Kaycees Mod

Had enough of Leshy? Face P03 inside of Kaycee's Mod! Expansion Pack 2 now available!

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

Magnificus Mod — иконка

Magnificus Mod

[The Last Update] Adds a new magnificus dungeon crawler based act to the game.

Эпический57,5 тыс.Писцы

Curses — иконка

Curses

New challenges, assists, and achievements for Kaycee's Mod. Bigger bosses, bigger moons, and the occasional stick of dynamite in your deck.

Эпический49,1 тыс.Мод Кейси

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Похожие моды

Все моды на Inscryption
Magnificus Mod — иконка

Magnificus Mod

[The Last Update] Adds a new magnificus dungeon crawler based act to the game.

Эпический57,5 тыс.Писцы

Curses — иконка

Curses

New challenges, assists, and achievements for Kaycee's Mod. Bigger bosses, bigger moons, and the occasional stick of dynamite in your deck.

Эпический49,1 тыс.Мод Кейси

Simplified Chinese Language Pack for Mods — иконка

Simplified Chinese Language Pack for Mods

A Simplified Chinese Language Pack Patching for some Inscryption mods, with characters display fix. 为各个《邪恶冥刻》模组设计的简体中文汉化语言包补丁,同时修复汉字缺字显示问题。

Эпический41,8 тыс.Языки

BittysChallenges — иконка

BittysChallenges

15 new Challenges and 6 new Anti-Challenges for Kaycee's Mod. Environments, Pirates, Ouroboros, and more!

Эпический37,2 тыс.Мод Кейси

Void Bone Pack — иконка

Void Bone Pack

40+ bone new cards for act 1 to make pure bone decks a viable playing option when mixed with vanilla or other card packs. Includes starter decks for KCM and encounters.

Эпический25,3 тыс.Акт I

Saxby Fam — иконка

Saxby Fam

Brought to you by the lovely folks in the Saxby Family. Just for shits and giggles. Now with Over 100 Cards [Thanks for over 5000 downloads, Wow thats something, however this will be one of the last updates.]

Эпический17 тыс.Акт I