Jump to content


Photo

Imoen2J vs. BImoen2


  • Please log in to reply
2 replies to this topic

#1 Sir_Carnifex

Sir_Carnifex

    Scourge of Kobolds

  • Member
  • 290 posts

Posted 11 August 2012 - 05:38 PM

Time for me second question. I noticed a long time ago when I started my mod that Imoen didn't have a banter file. I think at the time someone had suggested using Imoen2J for her banters with my NPC, so that is what I did. I tested them and they work just fine...seemingly, that is. But since I've returned after my extended break I've started poking around some more and notice other mods adding in the BImoen2 file instead of using J. The question is, is it possibly to go breaking things by using the wrong file for the banters, or is it a matter of preference?

Or perhaps posting what I was looking at (from Ninde) for an example would help. If I understand this script right, it's adding in the fix for BIMOEN2 only if it would apply changes to the file, but otherwise it would leave it alone. Is that correct? Also, I'd have to say I've never understood the tp2 file stuff very well. For my own mod, I just did a lot of copying and it seemed to work.

// Fixing Imoen's dialogue file
ACTION_IF FILE_EXISTS_IN_GAME ~mel01.cre~ THEN BEGIN
  COPY_EXISTING ~interdia.2da~ ~override~
	SET_2DA_ENTRY 17 1 2 ~BIMOEN2~ // fixes ToB version
	BUT_ONLY_IF_IT_CHANGES
END ELSE BEGIN
  APPEND ~interdia.2da~ ~IMOEN	   BIMOEN2~ // fixes SoA version
	UNLESS ~BIMOEN2~
END

Thanks for any help. I'll wrap my head around this stuff yet.

Also, if CMorgan reads this.... yes, I am picking a lot of this back up quicker than I thought. :)
"A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright

#2 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 11 August 2012 - 05:48 PM

For BG2, the standard setup is

IMOEN2 BIMOEN2 BIMOEN25

Imoen after joining uses DV Imoen2, with SoA Banter File = BIMOEN2 and ToB Banter File = BIMOEN25

Using IMOEN2J is storing stuff in the Joined file, which is called by a global or by force-talk (while banters are called by the game itself using the B dialog files)
Post-Joined = IMOEN2P
Joined = IMOEN2J
DreamScript = IMOEN2D
ToB Post = IMOEN25P
ToB Joined = IMOEN25J
ToB dreamscript = IMOEN2D
ToB override script = imoe25
full reference file set at http://forums.gibber...showtopic=15833 but you will need to scroll through the thread as it is a little omnibussant.

Edited by cmorgan, 11 August 2012 - 05:50 PM.


#3 Sir_Carnifex

Sir_Carnifex

    Scourge of Kobolds

  • Member
  • 290 posts

Posted 11 August 2012 - 06:12 PM

For BG2, the standard setup is

IMOEN2 BIMOEN2 BIMOEN25

Imoen after joining uses DV Imoen2, with SoA Banter File = BIMOEN2 and ToB Banter File = BIMOEN25

Using IMOEN2J is storing stuff in the Joined file, which is called by a global or by force-talk (while banters are called by the game itself using the B dialog files)
Post-Joined = IMOEN2P
Joined = IMOEN2J
DreamScript = IMOEN2D
ToB Post = IMOEN25P
ToB Joined = IMOEN25J
ToB dreamscript = IMOEN2D
ToB override script = imoe25
full reference file set at http://forums.gibber...showtopic=15833 but you will need to scroll through the thread as it is a little omnibussant.


I'm looking it over now. It seems that most (so far) of what I've read concerning the dialogues I've been following all along... even if not understanding why. Imoen, obviously, was an exception because of the file situation. So it kind of looks like what I have regarding her is a hack job (well, in a way) that works (for some reason!), but probably should be corrected. What you wrote in the linked thread is very helpful, however, in learning why certain things are ordered in a particular way.

Thanks for the help. I'll be back, for sure. :)

Edited by Sir_Carnifex, 11 August 2012 - 06:21 PM.

"A positive attitude may not solve all your problems, but it will annoy enough people to make it worth the effort." - Herm Albright