Jump to content

Options During Install


CoM_Solaufein

Recommended Posts

During a mod install I want to give the option to the mod installer when it comes to an NPC. The NPC is a fighter/mage multiclass and this creature file defaults to look like a fighter. I want to add the option where the creature paper doll is that of a mage. So how would I code this in the TP2?

 

Install NPC creature file that looks like a fighter?

 

or

 

Install NPC creature file that looks like a mage?

Link to comment
BEGIN ~NPC looks like a fighter~
SUBCOMPONENT ~My NPC mod~
COPY ~mymod/mycre.cre~ override
 WRITE_SHORT 0x28 0x6100 // or something else in place of human

BEGIN ~NPC looks like a wizard~
SUBCOMPONENT ~My NPC mod~
COPY ~mymod/mycre.cre~ override
 WRITE_SHORT 0x28 0x6200

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...