Jump to content

Help Needed with Custom Script for Gothic II


mynamemarcos
 Share

Recommended Posts

Hi everyone,

I am working on a custom script for Gothic II and could use some help. I am trying to add a new NPC to the game who will provide a unique quest. I’ve managed to get the NPC into the game, but I am stuck on making the quest trigger correctly and ensuring the dialogue options work.

Here’s what I have so far:

// Example script snippet
NPC_MyQuestNPC:
  // Initialization code
  ...

Can anyone point me in the right direction or provide a sample script for a basic quest: ?? Any help or guidance would be greatly appreciated!

Thanks in advance.....🙂

Marcos

 

azureadmin

Link to comment
Share on other sites

  • 4 months later...

Hi Marcos,

That sounds like an interesting project! I’ve worked on a custom script for another game before, and getting quests to trigger correctly can be tricky. One approach that worked for me was breaking the quest into smaller, testable parts. Start by ensuring the dialogue options are tied to specific quest variables and use debug messages to confirm each stage is working as expected.

For example, adding messages like "Quest Start Triggered" or "Dialogue Path Selected" to your script can help pinpoint where the issue might be. Also, double-check if the NPC’s state and the quest flags are syncing properly.

Good luck with your script.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...