NierFramework native plugin: give the playable character (2B / 9S / A2) another character's look (model) in real time, keeping the character itself (behavior, stats, moves). Requires NierFramework API 1.6.
https://www.nexusmods.com/nierautomata/mods/859
Menu (Insert) > Plugins > Model Swap: pick a look and press Apply. Looks in the list: 2B, 9S, A2, Commander, Anemone, Devola / Popola, Bunker YoRHa NPC, or any model id in hex. Tested on 2B (with 9S as partner, who stays), 9S and A2.
- Apply now on: the character is respawned in place with the new look, no loading.
- Apply now off: the look shows after the next load / fast travel.
- Forget looks: later spawns use their own models again.
The character's outfit logic only knows its own pieces: it shows every piece of another model, and hides any piece that shares one of its own names (A2's logic hides "Hair" / "Body", so Devola / Popola lost their hair and limbs). While wearing 9S's, A2's, the Bunker YoRHa NPC's or Devola / Popola's look, PageUp cycles that look's outfits (mesh visibility: normal, DLC, damaged 9S variants, A2 without cloth / hair, NPC styles, the twins' standing / sitting clothes...).
It also hides what A2's character attaches to the player whatever the look: its hair entity (a2wig) unless the look is
A2, and the face shell (PlFaceMask) on looks other than 2B / A2 / 9S.
PS: the swap applies to the character you control. To change your partner's look, press Switch to partner (you take control of 9S...), then pick the look and press Apply. Press it again to go back.
- Cloth physics: the character's code simulates only its own cloth pieces (2B: 2, A2: 3). A look with more (the Commander has 4) keeps the extra ones stiff in their rest pose.
- Requires NierFramework API 1.6.
Copy model_swap.dll into <game>/nierframework/plugins/ and nierframework/autorun/model_swap_outfits.lua into
<game>/nierframework/autorun/.
dev/ holds the test scripts used while reversing (not installed).
While this repo sits in NierFramework's mods/ folder it is built with the framework (build_vs2022.bat) and deployed
by nierfw-deploy.
See the header of src/Plugin.cpp. In short: a model override for the player's behavior id, a clone spawned at the
player's position, the clone's "player controlled" flag (Pl0000+0x10B64) cleared, the game's
Pl0000.setPlayerFromNPC on the clone, then the old character removed with Pl0000.destroyBuddy (no partner) or
Behavior.terminate with the partner link restored (a partner like 9S is kept).