Jump to content

Three new cosmetic NPC tweaks


Ardanis

Recommended Posts

These are bits from my personal tweakpack.

 

 

Elf Imoen - I don't like armorless female human thief animation. And as Imoen mentions herself, she's small framed.

 

Also it's funny how Jaheira in BG1 has a blonde avatar and dark-haired portrait, and in BG2 - dark-haired avatar and blonde portrait. Repeat for skin's color...

Same for Imoen, back to purple.

 

/////////////////
//Imoen the elf//
/////////////////

BEGIN ~Change Imoen's avatar to elf~

ACTION_FOR_EACH cre IN

csimoen
cuimoen
cuimoen2
cuimoen3
dpimo01
dream1
drim01
drim02
imoen
imoen10
imoen15
imoen211
imoen213
imoen6
imoendrm
ppdrimo
ppdrimov
ppimoen
ttimoen

BEGIN
 ACTION_IF FILE_EXISTS_IN_GAME ~%cre%.cre~ BEGIN
COPY_EXISTING ~%cre%.cre~ override PATCH_IF SOURCE_SIZE>0x2d3 BEGIN
  WRITE_SHORT 0x28 0x6311
END BUT_ONLY
 END
END


/////////////
//Imoen BG1//
/////////////

BEGIN ~Change Imoen's colorization to match the portrait and BG1~

ACTION_FOR_EACH cre IN

csimoen
cuimoen
cuimoen2
cuimoen3
dpimo01
dream1
drim01
drim02
imoen
imoen10
imoen15
imoen211
imoen213
imoen6
imoendrm
ppdrimo
ppdrimov
ppimoen
ttimoen

BEGIN
 ACTION_IF FILE_EXISTS_IN_GAME ~%cre%.cre~ BEGIN
COPY_EXISTING ~%cre%.cre~ override PATCH_IF SOURCE_SIZE>0x2d3 BEGIN
// below are her BG1 colors
  WRITE_BYTE 0x2c 0x19 // metal
  WRITE_BYTE 0x2d 0x3d // minor
  WRITE_BYTE 0x2e 0x2d // major
//  WRITE_BYTE 0x2f 0xd // skin
//  WRITE_BYTE 0x30 0x17 // leather
//  WRITE_BYTE 0x31 0x16 // armor
//  WRITE_BYTE 0x32 0x4 // hair
END BUT_ONLY
 END
END


///////////////
//Jaheira BG1//
///////////////

BEGIN ~Change Jaheira's colorization to match the portrait and BG1~

ACTION_FOR_EACH cre IN

jahei12b
jahei14
jaheir11
jaheir12
jaheir7
jaheir8
jaheird

BEGIN
 ACTION_IF FILE_EXISTS_IN_GAME ~%cre%.cre~ BEGIN
COPY_EXISTING ~%cre%.cre~ override PATCH_IF SOURCE_SIZE>0x2d3 BEGIN
// below are her BG1 colors
  WRITE_BYTE 0x2c 0x1b // metal
  WRITE_BYTE 0x2d 0x41 // minor
//  WRITE_BYTE 0x2e 0x29 // major
  WRITE_BYTE 0x2f 0xc // skin
  WRITE_BYTE 0x30 0x15 // leather
  WRITE_BYTE 0x31 0x18 // armor
  WRITE_BYTE 0x32 0x5c // hair
END BUT_ONLY
 END
END

Link to comment

Ardanis, these are for BGII with ToB, right? You could switch this over to

 

ACTION_FOR_EACH ~crefile~ IN

 

<<list of .cre >>

 

BEGIN

 

ACTION_IF FILE_EXISTS_IN_GAME ~%crefile%~ THEN BEGIN

 

 

and then you would be able to use it on both SoA-only and ToB installs no problem.

Link to comment

I would love it if someday we get rid of ALLOW_MISSING completely, and just use this stuff. It was important and necessary back in the day, but those 0 byte placeholders now can wreak havok on some things.

 

(And thanks, too - I like the continuity!)

Link to comment

Archived

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

×
×
  • Create New...