Alexandria
A combination of old and new APIs, and new tools for the convenience of modders.
模組介紹 作者原文
Alexandria is a library of useful code and various APIs with the intention of simplifying the mod creation process via it's use as a dependency.
Featured APIs
SoundAPI
- For putting in sounds into the game, with custom switch state support.
cAPI
- An API for making hats.
- Idk someones gonna have to fill me in on this
CharacterAPI
An API for fully customizable custom characters, allowing features present in basegame characters such as:
- Alternate skins
- Alt weapons
- Custom Pasts (You still have to make the Past yourself)
- Glow / Emissive Shader support.
- Custom Icons on character select screen.
- Custom animations.
- Prebaked Sprite Collection and Animation support.
- Hegemony Credit Cost.
- Custom Ghost Interaction
-..And more
DungeonAPI
An API used for loading and generating Custom Rooms made with Room Architect Tool.
Has tools for:
- Override alt floor Master Rounds.
- Loading custom room/s from embedded file or mod folder
Also contains a static list of nearly every gameobject used in rooms in the game in class "SetupExoticObjects".
EnemyAPI
Tools for making custom enemies, and other enemy related tools.
Includes:
- EnemyBuilder
- BossBuilder
- EnemyBuildingTools (A class with misceallaneuous methods for enemy creation)
- AIActorUtility (A class with misceallaneuous methods for enemy related stuff)
- AttackBehaviourUtility (Helper class related to enemy behaviors)
ShopAPI
API for creating Shop-Type NPCs.
Allows for:
- Custom Costs.
- Custom dialogue
- Minimap Icons
- Price Multipliers
- Rainbow Mode immunity
- Modified Loot Table Selection
- Appear with chance in the Main Shop.
- Custom Item positions
-...And more.
PrefabAPI
Allows for creation of true custom prefabs.
ItemAPI
An API for the creation of custom items / guns.
TranslationAPI
An API for custom translations of modded text.
BreakableAPI
A collection of methods for creating various objects like debris, pots and other types of breakable decorative objects.
ChestAPI
WIP
LightAPI
An API for adding easy, customizable lights to various GameObjects, with special helpers for Guns and Projectiles.
CustomDodgeRollAPI
An API for adding highly customizable dodge rolls that are compatible across mods and integrated with the base game's dodge roll system.
Featured Misc. Tools
- Assetbundle tools (creating custom stuff with prebaked sprite collections and animations.)
- A static list of every enemies GUID for convenience.
- Various helpful debug commands.
- Custom Stat API (Need to actually look at how it works)
- At least a dozen more related classes that are somewhat helpful
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: