Author Topic: Feature Request - Or can it somehow be done already?  (Read 1069 times)

Offline Thauron

  • Planewalker
  • *****
  • Posts: 5
Feature Request - Or can it somehow be done already?
« on: March 23, 2006, 04:45:41 AM »
I have run into some trouble regarding changing something to existing dialogue - dialogue however not from the original game but from another mod.

To be exact: I want add a reply to the NPC Faldorn in BG1, when she is forcetalked by the PC. The problem however is that BG1NPC's player initiated dialogues already adds a forcetalk dialogue.
Normally I would need to use the following code:

EXTEND_TOP FALDOJ StateLabel #2
+ ~Global(...)~ + ~blahblahblah...~ GOTO FaldornsAnswer


Because I am adding to modded content the StateLabel causes serious trouble - the StateLabel of my install for this particular dialogue does not necessarily be the same than the StateLabel of the install of someone else - and I don't seem to be able to work around this problem, without opening up Pandora's box that is.

Thus my question: is it possible to let weidu search for the correct state and than make weidu extend that particular state? If it is not possible, could weidu be adapted to make it possible? - I realize this might not be easy at all though.
Anyway, it brought it here because I think it might be a good topic to ponder upon, since several mods (like BG1NPC, BanterPack, FlirtPack) have almost become 'canonical' - so I am sure other people will run into similar problems sooner or later.
If not possible I will just have to let Faldorn (and other NPCs I had planned player initiated dialoggue for) initiate the dialogue, which is definately no disaster - but I think it would be nicer to give the player more the impression that he is the one in control/taking the initiative.

Anyway, thanks in advance.

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Feature Request - Or can it somehow be done already?
« Reply #1 on: March 23, 2006, 04:48:01 AM »
It's currently not possible.
There have been talks about how to do this in the development forum, but nothing came out of this. I'll try to think something else, stay tuned  ;)
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline SimDing0™

  • Back In Black
  • Global Moderator
  • Planewalker
  • *****
  • Posts: 3496
  • Gender: Male
  • Word Enhancer
Re: Feature Request - Or can it somehow be done already?
« Reply #2 on: March 23, 2006, 06:06:57 AM »
Yes, we discussed how to do this with the Flirt Pack a while back, and I think the best solution proposed was to have the second mod recompile files from the folder of the first, which is embarassingly bad at best. Might I suggest putting the dialog in BG1NPC itself for now?

Offline the bigg

  • The Avatar of Fighter / Thieves
  • Moderator
  • Planewalker
  • *****
  • Posts: 3804
  • Gender: Male
Re: Feature Request - Or can it somehow be done already?
« Reply #3 on: March 23, 2006, 06:12:15 AM »
Well, I have intentions of coding some variant of STATE_WHICH_SAYS lse_or_reference_and_file_list IN dlg_file, however I do still not know enough about the D compiler to do this (s.t.).
Author or Co-Author: WeiDU (http://j.mp/bLtjOn) - Widescreen (http://j.mp/aKAiqG) - Generalized Biffing (http://j.mp/aVgw3U) - Refinements (http://j.mp/bLHoCc) - TB#Tweaks (http://j.mp/ba02Eg) - IWD2Tweaks (http://j.mp/98OFYY) - TB#Characters (http://j.mp/ak8J55) - Traify Tool (http://j.mp/g1Ry9A) - Some mods that I won't mention in public
Maintainer: Semi-Multi Clerics (http://j.mp/9UeIwB) - Nalia Mod (http://j.mp/dng9l0) - Nvidia Fix (http://j.mp/aRWjjg)
Code dumps: Detect custom secondary types (http://j.mp/hVzzXG) - Stutter Investigator (http://j.mp/gdtBn8)

If possible, send diffs, translations and other contributions using Git (http://j.mp/aBZFrq).

Offline Thauron

  • Planewalker
  • *****
  • Posts: 5
Re: Feature Request - Or can it somehow be done already?
« Reply #4 on: March 24, 2006, 03:44:13 AM »
Ok, thanks. Glad to hear I am not the only one coming up with this difficult and annoying problem. ;D

For now I'll just wait with the forcetalk stuff.

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
What color is grass?:
What is the seventh word in this sentence?:
What is five minus two (use the full word)?: