Jump to content


Photo

Imoen's banter file


  • Please log in to reply
1 reply to this topic

#1 berelinde

berelinde

    Troublemaker

  • Modder
  • 4916 posts

Posted 08 December 2007 - 10:55 AM

Hey -

I just noticed that you're giving Imoen a banter file, and using the correct code to check to see if it's already in interdia.2da.

ACTION_IF NOT FILE_EXISTS_IN_GAME ~cdbehbla.pro~ //makes sure the fixpack isn't already installed

THEN BEGIN

ACTION_IF FILE_EXISTS_IN_GAME ~saradush.mve~ 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
END

That's great, but maybe you should make sure that Imoen's banter file is actually initiated?

This check will work. Just put it in the tp2 ahead of any dialogue compilation:
/* THIS *MUST* GO BEFORE ANY IMOEN BANTER FILES ARE COMPILED !!!! */
ACTION_IF NOT FILE_EXISTS_IN_GAME ~override/bimoen2.dlg~ THEN BEGIN
  COMPILE ~LuxleySoA/dialogues/fhinitiateimoen.d~
END

Where fhinitiateimoen.d is one line:
BEGIN BIMOEN2

:D

"Imagination is given to man to console him for what he is not; a sense of humor, for what he is." - Oscar Wilde

berelinde's mods
TolkienAcrossTheWater website
TolkienAcrossTheWater Forum


#2 Miss Sakaki

Miss Sakaki

    Modder

  • Modder
  • 505 posts

Posted 08 December 2007 - 02:47 PM

:doh: Thank you for noticing, it's really helpful of you to point that out. It would have been rather embarrassing to leave it like that!