Jump to content


Member Since 30 Oct 2008
Offline Last Active Jul 20 2012 07:08 AM

Topics I've Started

Conversation Maker

11 July 2009 - 04:58 PM

Hi all,

I always get sick with coding dialogues for my mods. Sometimes it's the reason for the lack of motivation to work on them. In any case, I thought that a tool to generate script would be handy. I had the Conversation Editor of NWN in my mind when I started to work on this yesterday and here's what I got so far.

It's a script generator that will create you a coded dialogue that you can copypaste into a text file.

Attached File  conv01.JPG   35.62K   448 downloads

You can add dialogue lines here, or delete them. You can drag them to another valid line. You can also modify them later and can add conditions and/or actions to the given line. Pink lines are said by the NPC, greens are said by PC. You can't copy lines.

You can also link lines to other lines by holding down the control key while dragging them, defining where the dialogue should continue. This is the way you complete a branching tree, returning all the branches to one line.

You can choose the type of conversation (begin-end, chain if with npc-pc, chain if with npc-npc)
You can define the name of the conversation.
You should define the name of the initiator of a chain dialogue if you use one of the chain if types.
You should define the name of the partner of a chain dialogue if you use chain if with npc-npc.

If you finish adding lines, you can click the "Script!" button to get the generated script.

Attached File  conv02.JPG   26.07K   466 downloads

Here you can set the conditions and/or actions for the given line. Just write them in the textboxes. There are some templates you can choose from the comboboxes too. Not all of them are listed though, so minor dialogue coding knowledge is still required.

Also, you should know what you want to do. Giving a condition to a line that is followed by line with the same condition is useless. (and it probably messes some things up, haven't tested this yet ^^)

Attached File  conv03.JPG   47.14K   463 downloads

Here is the result of a simple joining dialogue of an NPC, with begin-end. As the magnificent ScriptCat™ ^^ says, you can copypaste this code into a text file.

Attached File  conv04.JPG   47.33K   469 downloads

The same with chain if.

Attached File  conv06.JPG   32.69K   432 downloads

And a splendid conversation between the test subject and our beloved Jaheira, using the chain if with npc-npc type. ^^

You can also save a half-finished conversation into a cms file, so you can load it and finish it later.

What's not included (yet):

-Extern and append
-Multiple conversation editing
-Turning an existing d file into a conversation tree
-Linking lines together is functionally working, but it's not visible if two of them are already linked
-Displaying information about lines (links, conditions, actions), so you don't have to open the "Change Conditions/Actions" window


-Microsoft .NET Framework 2.0 (as far as I know, nothing else)

So far it works, now only some testing remains! ^^

Looking for a sample flirt pack

02 March 2009 - 04:14 PM

Okay, first of all, maybe my memory is flawed, but as I recall, I saw a sample flirt pack somewhere months ago. A sample where I can replace lines with my options and reactions, or something like this.

So, I would like to ask if stuff like this exists. If it does, then please, give me a link. ^^

[AUDIO] Soundset - Kastor NPC

09 December 2008 - 12:56 PM

1. Are you looking for a voice set for a man, a woman or something else?

A man.

2. How many lines would need to be voiced?

76 at least. If you can do more, the better.

3. Describe what kind of a voice you are after (tell something about the character if needed)!

A native speaker's voice. The character is quite frivolous, so your voice should not be a serious one. Any kind of English accent is acceptable.

The character is retarded and extremely silly, has a stuffed bear as a companion, is a poligamst (has three wives), has a shallow attitude when it comes to relationships. He's mainly a comical character, the voiced lines should represent this. (you can read more about him here)

4. Preferred format of the audio files?

ogg or wav.

5. Any deadlines?

Not really, but the sooner the better. ^^

6. What game and what mod is this for?

BG2-SoA, Kastor Reghir NPC

7. Anything else you'd like to mention?

There may be a few additional lines to voice later, but only a few.

Kastor Reghir

02 December 2008 - 02:33 PM

I'm doing fine with my main project so far, but there are times when I'm just not in the mood to work on Rhonwyn. I've reached the point of the lovetalks, when it becomes quite serious and actually sad too.

I still don't have much to do for a while, so when I feel like fooling around, I'll do something for another mod. I don't want to go into depths as I do with Rhonwyn, so probably I'll finish him in one or two more days, he's something like a 1 day NPC (or 2-3 days NPC, to be more exact). Or he can become something more, maybe, in time, I don't know yet.

And what about him? Who's Kastor?

The "technical" part:

Name: Kastor Reghir
Gender: Male
Race: Half-elf
Age: 24
Class: Thief
Alignment: Chaotic Neutral
Found at: Copper Coronet, near the rear entrance (this is likely to change, that place is crowded already)
After being kicked out: Temple District, in front of the Temple of Talos


Strength: 11
Dexterity: 17
Constitution: 13
Intelligence: 15
Wisdom: 9
Charisma: 9

Attached File  kastor1.jpg   131.05K   359 downloads

The story part:

Kastor is the offspring of a human witch, burned alive very soon after his birth, and an elven nobleman, who was hanged for a "failed coup against some king". Or at least, this is what Kastor says, when anybody asks about his past, but he also mentions, that "mom" used to tell him a story about how she met "dad" the first (and last) time, when Kastor was around the age of ten... He adds a few notes about Cormyr and its capitol, a small hint, that he may actually be Suzailan.

When you meet him, it becomes quite clear very soon, that he's a crazy guy, and you can't take anything he says too seriously. He does what he wants to do and when he wants to do, rarely caring about consequences. Pouring a bucket of pink paint on your head, asking people for a few coins, speaking about the aesthetical value of sleeping on the streets with our faces down in a puddle, or asking a woman to be his fifth wife on their first meeting... it's all the same for him.

About wives. Kastor has a "habit" of marrying different kinds of women, though they all have something in common... they were all drunken when they met Kastor, who was not very sober either. (Female PCs watch out! Be careful with drinking! ;)) Actually, he admits, that he really is a poligamist, who has three wives at the moment. Unfortunetely, the fourth one died, but he immediately adds, that he didn't kill her. With a wicked smile. Before accusation.

Kastor arrives to the city of Athkatla exactly when the PC does. He's good at crafting traps, he mentions that he used to make a living by selling traps to rich people, so they could protect their home.

He doesn't have any objection to hurt or kill people, but he will not force the demise of anyone either. He's just too ignorant to really care about others or morality, though he won't commit anything hienous. Kastor is silly, but not stupid. He may be retarded and perhaps a bit hyperactive sometimes, but he's not brainless at all.

Kastor tends to annoy some people, especially with his retarded jests. He's also quite a pig when women are around, though he rarely wants anything from them for real. Unless he's drunken. Of course, you can't help feeling that they don't want him anyway. He is a pain on the backside for a few NPCs, others can handle him easily.

Attached File  kastor3.jpg   93.18K   378 downloads

Kastor has a soft spot for many strange things, like teddy bears, toy ducks and other weird stuff... well, weird for a 24 years old man at least. One of his quickslots will be occupied by Brummi, the teddy bear.

Attached File  kastor2.jpg   138.04K   416 downloads

The mod will contain:
-1 retarded quest
-Many banters with other NPCs, mostly aiming to tire them to death
-4-5 "marriage talks" - of course, you can't expect a frivolous person to have a meaningful romance, but if your PC is female, has at least a Charisma score of 10 and she gets drunken in a pub, Kastor will give it a try

Checking for intoxication

02 December 2008 - 10:20 AM

Hi people,

I want to check if the PC is intoxicated or not, I want a dialogue to fire only when the PC is drunken. I checked it out at IESDP, but didn't find what I was looking for (or perhaps, I just missed it). Can someone help me out how to do this check?