What do I need to know/have to make an NPC?
What do I need to know/have to make an NPC?
I've heard about (but not tried) custom NPC's, and I was wondering how I would go about making one and what I would need to do so. I'm not too knowledgable about the BG2 editing 'scene' so any help would be appreciated.
"Have no hard feelings toward anyone who has not shown you enmity, do not fight with anyone who does not oppose you." - Zhuge Liang, Chinese strategist
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
Go to TeamBG, they have tools and tutorials that will help.
Or you could try WeiDU.
Thanks, I'll try 'em out and see what my severely limited intellect can accomplish.
"Have no hard feelings toward anyone who has not shown you enmity, do not fight with anyone who does not oppose you." - Zhuge Liang, Chinese strategist
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
WeiDU is the tool/system to use for new NPCs--that's why all of the major new NPC projects use it.
Here's a basic tutorial on using WeiDU to create a new NPC.
http://forums.forgottenwars.net/index.p ... readid=678
You will also want to acquire these tools to help you explore in-game dialogue and scripts:
Infinity Explorer (http://infexp.sourceforge.net)
Near Infinity (http://www.idi.ntnu.no/~joh/ni/)
Here's a basic tutorial on using WeiDU to create a new NPC.
http://forums.forgottenwars.net/index.p ... readid=678
You will also want to acquire these tools to help you explore in-game dialogue and scripts:
Infinity Explorer (http://infexp.sourceforge.net)
Near Infinity (http://www.idi.ntnu.no/~joh/ni/)
"t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
@ jcompton -
Since I went to try this stuff out, I've learned that it is really challenging and difficult. However, I'm going to try it anyways.
I've read some of your earlier posts on the Forgotten Wars boards, and I think I have the dialogue files almost right. However, I do need some help here.
I'm asking your permission to e-mail you for some slight tips on a certain file I just CAN NOT figure out. If you don't want me bugging you about it at your e-mail address, then I'll just find another sourse. However, I think that you, with a lot of experience with this by creating Kelsey, may be my best bet.
Sorry, Fable. If you don't like this post, I'll delete it lata.
PS~ WeiDU is not as easy as people make it out to be!
Since I went to try this stuff out, I've learned that it is really challenging and difficult. However, I'm going to try it anyways.
I've read some of your earlier posts on the Forgotten Wars boards, and I think I have the dialogue files almost right. However, I do need some help here.
I'm asking your permission to e-mail you for some slight tips on a certain file I just CAN NOT figure out. If you don't want me bugging you about it at your e-mail address, then I'll just find another sourse. However, I think that you, with a lot of experience with this by creating Kelsey, may be my best bet.
Sorry, Fable. If you don't like this post, I'll delete it lata.
PS~ WeiDU is not as easy as people make it out to be!
"There are worse things in the world than serving the whims of a deadly sex goddess." - Zevran
Please dont' tell me all this junk requires even the most basic of programming knowledge (which I don't have). Is it really really tough, or would it be comparable to, say, modding weapons for Rogue Spear (which I've done with moderate success). I'm just an ambitious kid who wants to make an NPC, but if I need to know programming I should just give up 
"Have no hard feelings toward anyone who has not shown you enmity, do not fight with anyone who does not oppose you." - Zhuge Liang, Chinese strategist
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
Karma, I've tried editing and working on other MODs before. This is the first time I'm ever going to try to make one up from scratch, but I can easily tell you it's gonna take a lot of typeing to get where you want to go.
Look. This is the BEGINNING of my "Welcome, hello, can I join the party?" conversation. I'm creating another Druid who is half-sane and isn't a freak about Manaining the Balance, and you'll meet up with her just ouside the Druid Grove. She'll explain a little of the situation, but look how long it is...
I'm not even halfway done yet and still don't know what I'm doing. If somebody whose made an NPC would check over this and help me figure out what I'm doing wrong, then I may have a chance.
Look. This is the BEGINNING of my "Welcome, hello, can I join the party?" conversation. I'm creating another Druid who is half-sane and isn't a freak about Manaining the Balance, and you'll meet up with her just ouside the Druid Grove. She'll explain a little of the situation, but look how long it is...
I'm not even halfway done yet and still don't know what I'm doing. If somebody whose made an NPC would check over this and help me figure out what I'm doing wrong, then I may have a chance.
"There are worse things in the world than serving the whims of a deadly sex goddess." - Zevran
you also need imaginagtion, time and the ability to make people interisted in your mod
and you may want to ask what people would like to seen in your mod
and you may want to ask what people would like to seen in your mod
Ancient times they had no statistics so they had to fall back on lies
"I'm invinceable"
"your a loony"
I'd rather be rich than stupid.
If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason.
"I'm invinceable"
"your a loony"
I'd rather be rich than stupid.
If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason.
I can handle the typing, and I like to think I have at least an excuse for an imagination, but do I have to know programming languages?
"Have no hard feelings toward anyone who has not shown you enmity, do not fight with anyone who does not oppose you." - Zhuge Liang, Chinese strategist
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
Cruel as it may sound, I'm not interested in making an NPC that other people will enjoy playing (just yet). I want to learn how to do it first, and if I'm able, THEN I'll ask around. At this time, I'm just testing the water.Originally posted by Rattman
and you may want to ask what people would like to seen in your mod
"Have no hard feelings toward anyone who has not shown you enmity, do not fight with anyone who does not oppose you." - Zhuge Liang, Chinese strategist
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
-The world is yours-
"I disapprove of what you say, but I will defend to the death your right to say it." - Voltaire
Go ahead and e-mail me, although I also see that you're on the FW boards now so you might consider posting your problems there, where more than one person can help.Originally posted by Aqua-chan
If you don't want me bugging you about it at your e-mail address, then I'll just find another sourse. However, I think that you, with a lot of experience with this by creating Kelsey, may be my best bet.
jcompton@xnet.com.
I rather think it's not as hard as people make it out to be.PS~ WeiDU is not as easy as people make it out to be!
Yes, you must understand the game's .DLG format, but that's a requirement for ANY dialogue tool.
And yes, it helps if you understand the concept of a compiled programming language. But that's valuable to understand anyway.
"t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
Okay. You're close, you just need to tighten up your understanding a little bit. First of all, you don't need that last END at the bottom and you stopped using capital letters after a while which can be a problem.
The basic PC-talking-to-NPC stuff is right, but your interjections are not.
Now, here's what will happen:
If Jaheira is around, we'll branch from HelpGroveTwo to her comment, and then back to SelectDruid, part of the S#Delara dialogue.
If Jaheira is NOT around, we'll just go from HelpGroveTwo to SelectDruid.
The basic PC-talking-to-NPC stuff is right, but your interjections are not.
When you want to EXTERN to a new dialogue state (line), you must CREATE that new state with an APPEND. Here's how this works:IF ~~ THEN BEGIN HelpGroveTwo
SAY ~Yes. The solution. To regain the Grove, Faldorn will only fight by traditional druidic procedures. None other than a druid may challenge her, so I suggest you either prepare one that is currently in your party, or either find another who would be willing to do the job.~
IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~It is quite possible that I can go into combat with Faldorn. However, it seems that this young woman here has more quarrel with the Shadow Druids than I. Perhaps the matter should be left to Cernd, or even Delara herself.~ GOTO SelectDruid
END
Now, we need to insert Jaheira's line into the JAHEIRAJ (joined-party-dialogue/commentary) DLG file. You can do this with APPEND or APPENDI. I would use APPENDI in this circumstance, and just have the next section (before the AboutFaldorn state) be this:IF ~~ THEN BEGIN HelpGroveTwo
SAY ~Yes. The solution. BLAH BLAH BLAH willing to do the job.~
IF ~!IsValidForPartyDialog("Jaheira")~ THEN GOTO SelectDruid
IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN JAHEIRAJ JaheiraComment1
END
(APPENDI and APPEND need a second END when you're done appending, to tell WeiDU to stop appending!)APPENDI JAHEIRAJ
IF ~~ THEN BEGIN JaheiraComment1
SAY ~It is quite possible that I can go into combat with Faldorn. However, it seems that this young woman here has more quarrel with the Shadow Druids than I. Perhaps the matter should be left to Cernd, or even Delara herself.~
IF ~~ THEN EXTERN S#Delara SelectDruid
END
END
Now, here's what will happen:
If Jaheira is around, we'll branch from HelpGroveTwo to her comment, and then back to SelectDruid, part of the S#Delara dialogue.
If Jaheira is NOT around, we'll just go from HelpGroveTwo to SelectDruid.
"t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
(Remembers something about "flop" and grumbles mightily.)Originally posted by Aqua-chan
Thanks jcompton, you're the best.
"t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
Remember to fix the other interjections you have further down in the same way.
"t's a testament to the determined RPG fraternity that a number of Baldur's Gate II mods have been successfully produced. The best can be found at pocketplane.net." - PC Gamer UK
Hey! I was talking only about one specfic dialog there! Not the whole guy! Jeeze!Originally posted by jcompton
(Remembers something about "flop" and grumbles mightily.)
...I'm sorry, but the only person I take that kind of lip he gave me is my mother.
Yes, yes. I'll fix the baddies in there soon...
"There are worse things in the world than serving the whims of a deadly sex goddess." - Zevran