Jump to content

ISomething strange WRITE_ASCII


StrongArmand

Recommended Posts

I've edit and copy wellyn.cre (the ghost in graveyard) and I've a strange result when I try to edit GENERAL_SCRIPT. Here :

 

 

 

 

 COPY_EXISTING ~wellyn.cre~ ~override/#VGaia.cre~
   ADD_CRE_ITEM ~boot01~ #0 #0 #0 ~IDENTIFIED~ ~BOOTS~ EQUIP
   SAY NAME1 @72
   SAY NAME2 @72
   WRITE_ASCII DEATHVAR ~#VGaia~
   WRITE_ASCII DIALOG ~#VGaia~
   WRITE_ASCII SCRIPT_GENERAL ~None~
   WRITE_ASCII SCRIPT_OVERRIDE ~#VGaia~
   WRITE_ASCII 0x34 ~#VGaiaS~ // Small portrait
   WRITE_ASCII 0x3c ~#VGaiaM~ // Large portrait
   WRITE_SHORT 0x2e 50   // Change major color
   WRITE_SHORT 0x2d 115    // Minor color
   WRITE_SHORT 0x2f 13    // Skin color 
   WRITE_SHORT 0x32 104   // Hair color    
   WRITE_SHORT 0x28 50960    // Animation 
   WRITE_BYTE  0x237 2    // Change to female

 

My new cre (#vgaia) has overriden my new dlg file, the wellyn dlg has desappear. But for general script I can see that in the cre wtih ie explorer :

 

Noneyn

 

Strange no ? This adress would be completly change. Or have I miss something ?

Link to comment

You have to add the #requiredSize parameter to fully overwrite the old values.

 

In your case change it to:

  WRITE_ASCIIT DEATHVAR ~#VGaia~
  WRITE_ASCII DIALOG ~#VGaia~ #8
  WRITE_ASCII SCRIPT_GENERAL ~None~ #8
  WRITE_ASCII SCRIPT_OVERRIDE ~#VGaia~ #8
  WRITE_ASCII 0x34 ~#VGaiaS~ #8 // Small portrait
  WRITE_ASCII 0x3c ~#VGaiaM~ #8 // Large portrait

 

NB: I don't know if it's really needed, but you should also write all strings in capital letters.

Link to comment

Archived

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

×
×
  • Create New...