New to the modding world - a quick question on BGT
#1
Posted 15 March 2009 - 07:50 AM
I've just decided to write my own NPC mod and, since I always play using BGT, I'd like to write it using Trilogy as base game. The two things I'd like to ask about BGT are quite simple:
1-how do you check if one's playing BG1 or SoA? I know that SoA and ToB use different files for the npcs so that's not a problem, but from what I've seens BG1 and SoA use the same scripts.
2-where (if I'm allowed to) can I check to see how to import my npc in BG2 (like BGT does with Imoen, Viconia, Minsc and the like)?
One quick question about npc modding in general.. If I install my npc mod last and after that I update it, can I uninstall it and reinstall the new version using the same saved game and see the new dialogs I've added?
Thanks in advance, and please excuse me for the last OT question but I don't know where to post it.
#2
Posted 15 March 2009 - 09:29 AM
Use WeiDU function GAME_IS. The TP2-code can be like this1-how do you check if one's playing BG1 or SoA?
REQUIRE_PREDICATE (GAME_IS ~bg2~ /* the game can be SoA and not a ToB (this is a comment) */ OR GAME_IS ~tob~ /* the game can be ToB too */ ) AND NOT (GAME_IS ~bg1~ /* the game must not be bg1 */ OR GAME_IS ~totsc~ /* the game must not be totsc too */ ) ~This mod is for BG2:SoA, BG2:ToB and BGT games only.~ /* this is the error message */You can add NOT GAME_IS ~bgt~ if you need. Look at the WeiDU documentation.
For the answer on the question 2 and others look at the Tutorials on the pocket plane.
Edited by Vit MG, 15 March 2009 - 09:34 AM.
#3
Posted 15 March 2009 - 09:38 AM
If your answer already cover that too, it means I've understood even less than expected and will read the whole tutorial again. I'll obviously read the weidu docs anyway.
Thanks for the answer! (BTW, that piece of code will be useful anyway to check if my npc can be installed or not - so thanks for that, I will use it for sure. )
#4
Posted 15 March 2009 - 10:19 PM
0 - in BG1 or TotSC part of game
1 - killed Sarevok but not yet transitioned to SoA
2 - in SoA
I know it may be a bit long, but you can easily search DevDoc for information like this - if you have any other queries.
--------------
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)
#6
Posted 16 March 2009 - 06:09 AM
You can do this. Just make certain that the .tp2 you use to install your NPC makes a copy of your dialog.tlk file. If you add to the NPC's dialogs, all you need do is un-install your NPC and copy your saved dialog.tlk file back to your main game directory prior to re-installing any changes and your updated dialog strings will be fine.One quick question about npc modding in general.. If I install my npc mod last and after that I update it, can I uninstall it and reinstall the new version using the same saved game and see the new dialogs I've added?
Thanks in advance, and please excuse me for the last OT question but I don't know where to post it.
It takes a village...
#7
Posted 16 March 2009 - 12:11 PM
#8
Posted 03 April 2009 - 01:04 AM
I've found the ARAM00.bcs script that handles this, but I can't say by myself if the script requires a fixed order or if I can just append my script lines.
Does an EXTEND_BOTTOM suffice? If not, will a REPLACE_TEXTUALLY work (replacing an existing fixed NPC transiction block with itself plus Rose's transiction block), even in its brutality?
I'm sorry for my noobish questions and thank you in advance both for your replies and your patience.
#9
Posted 04 April 2009 - 07:05 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)
#11
Posted 24 April 2009 - 04:28 AM
Thanks in advance.
#12
Posted 25 April 2009 - 05:13 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)