Jump to content

Importing .npc file for custom race


Recommended Posts

I'm trying to create an NPC, Jac, that has a specific appearance, and has a health regen rate of 0 (because of reasons). It looks like the cleanest way to make an NPC have no health regeneration, is to make them a custom race with a health regen rate of 0.

 

I created the NPC as an imperial, exported a .npc appearance file from an imperial savegame, and imported it into the mod manager - so far, so good, the .npc file works.

 

Then I created a duplicate of ImperialRace and renamed it ("JacUndeadRace"), no other changes yet. I switch my NPC to be of JacUndeadRace, and now he looks like preset #1. I import the .npc file again, and his race switches back to Imperial.

 

I realized that .npc files are plain text, so I tried manually editing the FormID of the Race field. After I did this, importing the .npc file will change Jac to be JacUndeadRace, and change his appearance to preset #1 - not the appearance I saved in the .npc file. I also tried removing the "race" field from the .npc file entirely, and that didn't work either.

 

I've also tried to make JacUndeadRace playable so I can re-create the NPC appearance with the correct race, but even though "playable" is checked, it doesn't appear as an option in the race menu when I load my mod (using ModOrganizer).

 

Does anyone know what I might be doing wrong here?

Link to comment
Share on other sites

  • 3 months later...

I was interested in this too. What I did was

- create a custom race and get its id from the object window, eg 0701C4C1. Need to hover over race entry - the id appears in a tooltip.

- edited the .npc file and replaced the race ID in there with the custom race ID.

- imported the .npc file in the Character Gen Parts tab of the character editor for the npc.

 

It wont assign head parts to your race. Boo. But it seems if you have head parts set up, the preset will effect those parts that it is able to.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...