Still on my to-do list to try and work out a more permanent solution to this.Thank you. It works perfect

Posted 12 July 2009 - 05:48 AM
Still on my to-do list to try and work out a more permanent solution to this.Thank you. It works perfect
--------------
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)
Posted 31 July 2009 - 05:44 PM
Posted 17 August 2009 - 06:10 PM
Posted 21 August 2009 - 04:14 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)
Posted 22 August 2009 - 12:02 AM
Posted 22 August 2009 - 02:04 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)
Posted 22 August 2009 - 02:56 AM
Posted 22 August 2009 - 06:07 PM
Well, once MakeGlobal() is executed, either directly or through JoinParty(), there is no way to 'remove' the NPC from the GAM file.It's a simple hashtable lookup (over scriptname). This table is populated with the NPC scriptnames when the GAM file is loaded.
So the order of the NPCs in the GAM file matters. (I can't recall right now if the first or the last one wins.)
I'm not sure if it's possible to influence the order when saving a game.
Did you try to completely get rid of the BG1 NPC after the transition? (So it does not end up in the GAM at all.)
--------------
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)
Posted 22 August 2009 - 06:55 PM
OK give this a go. It is usually better to use the Cut function for the entry than to use the Remove button.
Posted 23 August 2009 - 03:22 AM
No, like I said only object_id = HashMap.get(script_name).Did you find any exceptions that would prevent a MoveGlobal() from being executed? (e.g. such as that the NPC is dead)
Posted 23 August 2009 - 05:42 AM
When you say the last one wins, do you mean that the most recently entered entry is the one that is returned? Also, would you know whether the order of entries in the GAM is reshuffled when a game is saved?(1) the order in the GAM is "correct" (I think the last one wins)
Edited by Ascension64, 23 August 2009 - 05:52 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)
Posted 25 August 2009 - 01:19 PM
I was talking about file offsets. So whoever is at a later position in the NPC part of the GAM file will win.When you say the last one wins, do you mean that the most recently entered entry is the one that is returned?
No, the order of the global characters list is preserved.Also, would you know whether the order of entries in the GAM is reshuffled when a game is saved?
Posted 26 August 2009 - 02:03 AM
Under what circumstances can this occur? Killing the old characters is not a problem because the death variable can be reset. I'm desperate for any solution that does not require changing the death variable for the BG1 versions of the characters. And like you said, the less exe hack the better.The death effect can trigger a removal from that list
--------------
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)
Posted 28 August 2009 - 12:39 AM
The creature also has to be in the list of familiars.Under what circumstances can this occur?
Posted 28 August 2009 - 04:24 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)
Posted 28 August 2009 - 05:34 AM
Posted 21 September 2009 - 03:59 AM
Edited by Ascension64, 21 September 2009 - 04:25 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)
Posted 23 September 2009 - 05:34 AM
Edited by Taimon, 23 September 2009 - 05:34 AM.