Skip to content

A question to companion makers

GoidaGoida Member Posts: 118
This is for those who have made party NPC. Do you - have you - put DPLAYER.BCS in the Default slot of the characters? All standard NPC have it there to begin with, even though it is additionally assigned after joining. I'm patching all potential companion CREs with certain protections, and the only outstanding feature they have in common is that script in that slot.

Comments

  • OlvynChuruOlvynChuru Member Posts: 3,079
    edited January 2019
    What makes NPC party members unique from other creatures is that they're included in the GAM file. Take a look in the GAM file.
  • ArdanisArdanis Member Posts: 1,736
    edited January 2019
    I believe GAM inclusion is only true for vanilla characters, not any mods, as it's not really necessary.

    Most reliable way is check for their script name in PDIALOG.2DA (or some other table) http://www.weidu.org/~thebigg/README-WeiDU.html#hevea_default568
    COPY_EXISTING_REGEXP GLOB ~.*\.CRE~ ~override~
      READ_ASCII  0x280 deathvar
      PATCH_IF FILE_CONTAINS_EVALUATED (~pdialog.2da~ ~%deathvar%~) BEGIN // has party dialog
        // apply patch
      END
    BUT_ONLY
Sign In or Register to comment.