Skip to content

Getting errors on an NPC mod (RESOLVED)

LlewrenLlewren Member Posts: 44
edited March 16 in General Modding
I'm getting the error:

ERROR locating resource for 'CHAIN3'
Resource [WNOPHY.DLG] not found in KEY file:
[./chitin.key]
ERROR: preprocessing APPEND_EARLY [ophysiabg1/dialogue/wnophy.d]: Failure("resource [WNOPHY.DLG] not found for 'CHAIN3'")

I've been following some basic tutorials and I've clearly done something wrong here but after a few hours of tweaking I still can't figure out what it is. The most frustrating part is that I've had this issue before and solved it, but I can't remember how. Any help would be greatly appreciated.

Link to the mod: [Removed]
Post edited by Llewren on

Comments

  • LavaDelVortelLavaDelVortel Member Posts: 2,875
    edited March 2023
    Change BEGIN DialogueFile to BEGIN WNOPHY in you wnophy.d file :)

    You will also need to change:
    IF~~THEN REPLY ~I was just stopping by, sorry.~ EXTERN WNOPHY Rejoin02x02
    CHAIN WNOPHY REJOIN.02


    to:
    IF~~THEN REPLY ~I was just stopping by, sorry.~ EXIT

    Unless there was suppose to be some reply from the NPC after that :)

    EDIT:

    There's also this:

    ~Fine. I guess I'll work on my swordplay until you realise my worth.~
    DO ~SetGlobal("WNOPHYJoin","GLOBAL",0)~ EXIT


    It should be:

    IF~~THEN REPLY ~Fine. I guess I'll work on my swordplay until you realise my worth.~
    DO ~SetGlobal("WNOPHYJoin","GLOBAL",0)~ EXIT


    And this:

    CHAIN WNOPHY JOIN.06

    Should be:

    CHAIN WNOPHY Join01x06

    And this:

    IF~~THEN REPLY ~I'm fine on my own, thanks.~ EXTERN WNOPHY JOIN.03

    Should be:

    IF~~THEN REPLY ~I'm fine on my own, thanks.~ EXTERN WNOPHY Join01x03
  • LlewrenLlewren Member Posts: 44
    @LavaDelVortel to my rescue once again.

    I think I messed things up further when I tried to fix it earlier.
    Change BEGIN DialogueFile to BEGIN WNOPHY

    This was the main thing I overlooked when I was tweaking with it. Thank you!!
Sign In or Register to comment.