Jump to content


Photo

Mulgore & Xavia NPCs for BGT-WeiDU/Tutu


  • Please log in to reply
52 replies to this topic

#41 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 19 January 2008 - 03:00 AM

ooop aaaaack...

ToB it is.

I will take a quick look and grab the correct F_E_I_G calls; do you want them posted here, or do you want me to update the docs and the mod and repost up in the SHS beta section for you?

I trust you. ;)

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#42 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 19 January 2008 - 10:53 AM

OK - will push to get it done this afternoon, pending family stuff - at the latest, Monday night.

#43 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 19 January 2008 - 04:37 PM

I will take a quick look and grab the correct F_E_I_G calls

ACTION_IF/REQUIRE_PREDICATE FILE_EXISTS_IN_GAME ~ar6200.are~ THEN BEGIN should work for both Tutu and BGT if it requires ToB.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#44 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 25 January 2008 - 08:46 AM

Confirmed in EasyTutu, as well - updating mod...

/*
* "Mulgore and Xavia NPC v4 for BGT and Tutu"
* Combined Tutu/BGT installer
* Authored by Robert Zellhart ([email="NOT HERE"]NOT_HERE[/email]), recoded by Ascension64, Tutu patching by cmorgan
* Version 4, January 25, 2008
*/

BACKUP ~MulgoreXaviaNPC/backup~

AUTHOR ~http://forums.spellholdstudios.net/index.php?showforum=261~

/* enable all error messages; nothing suppressed. comment this out for release version - cmorgan */
//MODDER

/* launch the readme file immediately. If you want to disable the ReadMe, place two slashes before it, like //README  */
README ~MulgoreXaviaNPC/Language/%LANGUAGE%/Readme.txt~

ALWAYS
  ACTION_IF (FILE_EXISTS_IN_GAME ~FW0100.are~) AND (FILE_EXISTS_IN_GAME ~FW1500.are~) THEN BEGIN
	/* Tell the player it is using Tutu stuff */
	PRINT @1000 // ~Baldur's Gate Tutu with Tales of the Sword Coast detected.~
	OUTER_SPRINT "UlgothsBeard_Inn" "FW1001"
	OUTER_SPRINT "UlgothsBeard_Inn_Script" "_AR1001"
  END ELSE BEGIN
	ACTION_IF FILE_EXISTS_IN_GAME ~AR7200.are~ THEN BEGIN
	  /* Tell the player it is using BGT stuff */
	  PRINT @1001 // ~Baldur's Gate Trilogy detected.~
	  OUTER_SPRINT "UlgothsBeard_Inn" "ARU001"
	  OUTER_SPRINT "UlgothsBeard_Inn_Script" "ARU001"
	  /* Tell the player it is not Tutu or BGT */
	END ELSE BEGIN FAIL @1002 // ~Neither Baldur's Gate Trilogy nor Baldur's Gate Tutu with Tales of the Sword Coast detected. Please check that you are installing in the correct folder, and that you have Tales of the Sword Coast installed.~
	END
  END
END

AUTO_TRA ~MulgoreXaviaNPC/Language/%s~

LANGUAGE ~English~
		 ~English~
		 ~MulgoreXaviaNPC/Language/English/setup.tra~
LANGUAGE ~Deutsch (German) - Cronox~
		 ~German~
		 ~MulgoreXaviaNPC/Language/German/setup.tra~
LANGUAGE ~D˘¤¤??? (Russian) - iopden & aerie.ru~
		 ~Russian~
		 ~MulgoreXaviaNPC/Language/Russian/setup.tra~


BEGIN @0  /* Mulgore and Xavia NPCs for BGT-WeiDU and Tutu, v4 */
REQUIRE_PREDICATE (FILE_EXISTS_IN_GAME ~ar6200.are~) @1003 /* This mod requires that ToB is installed. */

ACTION_IF FILE_EXISTS_IN_GAME ~AR7200.are~ THEN BEGIN
APPEND ~PDIALOG.2DA~
~XAVIA		XAVIAP			 XAVIAJ			***			XAVIAP			 XAVIAJ			 ***				 ***
MULGORE	  MULGOREP		   MULGOREJ		  ***			MULGOREP		   MULGOREJ		   ***				 ***~
UNLESS ~XAVIA~
END

ACTION_IF FILE_EXISTS_IN_GAME ~FW0100.are~ THEN BEGIN
  APPEND ~PDIALOG.2DA~ ~XAVIA		XAVIAP			 XAVIAJ~  UNLESS ~XAVIA~
  APPEND ~PDIALOG.2DA~ ~MULGORE	  MULGOREP		   MULGOREJ~ UNLESS ~MULGORE~
END

//Portraits
MKDIR ~portraits~
COPY ~MulgoreXaviaNPC/portraits~ ~portraits~

//Sounds
COPY ~MulgoreXaviaNPC/sounds~ ~override~

COPY ~MulgoreXaviaNPC/oggdec.exe~ ~override~

AT_NOW ~MulgoreXaviaNPC/MulgoreXaviaNPCInstall.bat~
AT_UNINSTALL ~MulgoreXaviaNPC/MulgoreXaviaNPCUninstall.bat~

//Dialogue
COMPILE ~MulgoreXaviaNPC/dialogue~

//Creatures
COPY ~MulgoreXaviaNPC/creatures/mulgore.cre~ ~override/mulgore.cre~
SAY NAME1 @1
SAY NAME2 @1
SAY LEADER @2
SAY BORED @3
SAY BATTLE_CRY1 @4
SAY DYING @5
SAY HURT @6
SAY SELECT_COMMON1 @7
SAY SELECT_COMMON2 @8
SAY SELECT_COMMON3 @9
SAY SELECT_COMMON4 @10
SAY SELECT_ACTION1 @11
SAY SELECT_ACTION2 @12
SAY SELECT_ACTION3 @13
SAY SELECT_RARE1 @14
SAY SELECT_RARE2 @15
SAY CRITICAL_HIT @16
SAY CRITICAL_MISS @17
SAY TARGET_IMMUNE @18
SAY EXISTANCE5 @19

COPY ~MulgoreXaviaNPC/creatures/xavia.cre~ ~override/xavia.cre~
SAY NAME1 @20
SAY NAME2 @20
SAY HAPPY @21
SAY LEADER @22
SAY TIRED @23
SAY BORED @24
SAY BATTLE_CRY1 @25
SAY BATTLE_CRY2 @26
SAY BATTLE_CRY3 @27
SAY DAMAGE @28
SAY DYING @29
SAY HURT @30
SAY SELECT_COMMON1 @31
SAY SELECT_COMMON2 @32
SAY SELECT_COMMON3 @33
SAY SELECT_ACTION1 @34
SAY SELECT_ACTION2 @35
SAY SELECT_ACTION3 @36
SAY SELECT_RARE1 @37
SAY SELECT_RARE2 @38
SAY CRITICAL_HIT @39
SAY CRITICAL_MISS @40
SAY TARGET_IMMUNE @41
SAY INVENTORY_FULL @42
SAY PICKED_POCKET @43
SAY EXISTANCE1 @44
SAY EXISTANCE2 @45
SAY EXISTANCE3 @46
SAY EXISTANCE5 @47

//Spawn the NPCs
COPY ~MulgoreXaviaNPC/scripts/AREASCRIPT.BAF~ ~MulgoreXaviaNPC/scripts/%UlgothsBeard_Inn_Script%.BAF~

COPY_EXISTING ~%UlgothsBeard_Inn%.ARE~ ~override~ //BG's AR1001, Ulgoth Beard's Inn (Hurgan Stoneblade)
  WRITE_EVALUATED_ASCII 0x94 ~%UlgothsBeard_Inn_Script%~ #8
BUT_ONLY_IF_IT_CHANGES

ACTION_IF FILE_EXISTS_IN_GAME ~%UlgothsBeard_Inn_Script%.BCS~ THEN BEGIN
  EXTEND_BOTTOM ~%UlgothsBeard_Inn_Script%.BCS~ ~MulgoreXaviaNPC/scripts/%UlgothsBeard_Inn_Script%.BAF~
  EVALUATE_BUFFER
END ELSE BEGIN
  COMPILE EVALUATE_BUFFER ~MulgoreXaviaNPC/scripts/%UlgothsBeard_Inn_Script%.BAF~
END

/* end of file. */


Test installed on BGT and EasyTutu_ToB and EasyTutu_ToB_BETA. Link sent to you, Ascension64, as you are the chief dude on this - ready for mirror update.

Edited by cmorgan, 27 January 2008 - 09:15 AM.


#45 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 27 January 2008 - 06:17 AM

Nice work. You might want to mask the author's email, at least from the forum post. I seem to recall CamDawg having some sort of gimmick for doing this in tp2 code too.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#46 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 27 January 2008 - 09:18 AM

Good catch - sorry - edited out the email.

Now all Grave needs is either to decide he really wants to have some fun after all and take up the dialogue and quest writing,

or someone else comes along who wants to have this particular team fleshed out. I'm knocking this off my list and heading back to the big projects.

#47 Arátoeldar

Arátoeldar
  • Member
  • 5 posts

Posted 29 January 2008 - 07:56 AM

Good catch - sorry - edited out the email.

Now all Grave needs is either to decide he really wants to have some fun after all and take up the dialogue and quest writing,

or someone else comes along who wants to have this particular team fleshed out. I'm knocking this off my list and heading back to the big projects.


Thank you very much for updating this mod cmorgan. :cheers:

Edited by Arátoeldar, 29 January 2008 - 07:56 AM.


#48 cmorgan

cmorgan
  • Modder
  • 2301 posts

Posted 29 January 2008 - 08:42 AM

no problem - Ascension64 did the hard work - I just added bells and whistles and dusted off the doormat. Have fun playing :)

#49 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 30 January 2008 - 03:35 AM

no problem - Ascension64 did the hard work - I just added bells and whistles and dusted off the doormat. Have fun playing :)

No, no, the bells and whistles are what it's all about. Who cares about the steam engine that makes the sled move. :)

Edited by Ascension64, 30 January 2008 - 03:36 AM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#50 -plainab-

-plainab-
  • Guest

Posted 29 February 2008 - 02:29 PM

@Miloch, Arátoeldar, you folks like half-orcs... Grave has asked about folks writing dialogue for his creation here... hmmm. Perhaps a playthrough, where you two have some fun and script out some material for him? This set of NPCs comes pretty late in a Tutu game, but might be a really good addition to a BGT game.

Heh. Yeah, I'll add that to my to-do list after the mods in progress, which will put it roughly in, oh, the next decade or so :blink:. I think berelinde was interested in writing some half-orc dialogue though...

I think it would be a good idea to offer an alternate starting location for the pair, both for non-TotSC users and those who just want them earlier. Maybe fw4300 (North Nashkel Road) which otherwise doesn't have much going for it. Or maybe the east or south part of fw3400 (Temple) which is pretty deserted. Since you've done that for several BG1 NPCs, you should be able to swipe a code template from there.

An opportunity to try this in a non-totsc tutu would be great. I do understand though if it's not feasible

#51 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 29 February 2008 - 09:34 PM

An opportunity to try this in a non-totsc tutu would be great. I do understand though if it's not feasible

Well, it certainly is feasible, and if you remove cmorgan's install check, you'll probably just get missing items. One of the original goals of Grave's was to use ToB-specific items in his mod. I'm sure Mulgore and Xavia could have a nerfed version at some stage.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)


#52 Miloch

Miloch

    Barbarian

  • Modder
  • 6579 posts

Posted 06 March 2008 - 08:32 PM

An opportunity to try this in a non-totsc tutu would be great. I do understand though if it's not feasible

Well, it certainly is feasible, and if you remove cmorgan's install check, you'll probably just get missing items. One of the original goals of Grave's was to use ToB-specific items in his mod. I'm sure Mulgore and Xavia could have a nerfed version at some stage.

I don't think there are any ToB TotSC-specific items, or any items at all in the mod. Just the two CREs, their portraits, sounds, some (minimal) dialogue and their spawning script. Which, right now, puts them in Ulgoth's Beard Inn, meaning it won't work for non-TotSC BG. You could change this to something like the following:

ACTION_IF FILE_EXISTS_IN_GAME ~%UlgothsBeard_Inn_Script%.BCS~ THEN BEGIN
EXTEND_BOTTOM ~%UlgothsBeard_Inn_Script%.BCS~ ~MulgoreXaviaNPC/scripts/%UlgothsBeard_Inn_Script%.BAF~
EVALUATE_BUFFER
END ELSE BEGIN
COMPILE EVALUATE_BUFFER ~MulgoreXaviaNPC/scripts/%UlgothsBeard_Inn_Script%.BAF~
EXTEND_BOTTOM ~%Some_Other_non-TotSC_long_named_script_variable%.BCS~ ~MulgoreXaviaNPC/scripts/%Ditto%.BAF~
EVALUATE_BUFFER (is this necessary?)
END

See above for my suggestions on alternate locations. This code would just drop them in that other location if TotSC isn't found - you might want to give folks the option to meet them earlier regardless, like BG1NPC does for some late-game NPCs.

Edit: Eh, where's the new version of this mod now?

Edited by Miloch, 06 March 2008 - 08:34 PM.

Infinity Engine Contributions
Aurora * BG1 NPC * BG1 Fixpack * Haiass * Infinity Animations * Level 1 NPCs * P5Tweaks
PnP Free Action * Thrown Hammers * Unique Containers * BG:EE * BGII:EE * IWD:EE
================================================================
Player & Modder Resources
BAM Batcher * Creature Lister * Creature Checker * Creature Fixer * Tutu/BGT Area Map & List * Tutu Mod List
================================================================
"Infinity turns out to be the opposite of what people say it is. It is not 'that which has nothing beyond itself' that is infinite, but 'that which always has something beyond itself'." -Aristotle


#53 Ascension64

Ascension64
  • Modder
  • 5983 posts

Posted 07 March 2008 - 12:34 AM

Ah yeah, my oversight.
The mod should be at http://www.shsforums...eidututu-tob-5/, just because there isn't a separate place to put it at the moment.


Edited by skellytz, 23 March 2023 - 04:48 PM.

--------------
Retired Modder
Note: I do not respond to profile comments/personal messages in regards to troubleshooting my modifications. Please post on the public forums instead.

Baldur's Gate Trilogy-WeiDU and Mods
Throne of Bhaal Extender (TobEx)

Contributions: (NWN2) A Deathstalker (voice acting) - (IWD2) IWD2 NPC Project (soundset editing) - (Misc) SHS PC Soundsets (voice acting)
Legacy: (BG/Tutu/BGT) Beregost Crash Fixer 1.9 (18 Jul 10) - (BG2) Enable conversations with charmed/dominated creatures (18 Jul 10) - (BG2) Experience Corrections (18 Jul 10) - (Misc) Platform Conversion Utility RC2 (13 Feb 10)