Jump to content


Photo

Creating NPC


  • Please log in to reply
82 replies to this topic

#21 -Ashara-

-Ashara-
  • Guest

Posted 30 April 2004 - 10:56 AM

There are a couple of lines in CRE where you can fill NPC name in. Check, if you have done it in NI. :)

#22 Diana

Diana
  • Modder
  • 341 posts

Posted 30 April 2004 - 12:02 PM

APPEND ~pdialog.2da~
~J#Vondo J#VondoP J#VondoJ J#VondoD~
UNLESS ~J#Vondo~
UNLESS ~25POST~


One more question if you folk don't mind. Are the file names on the second line the actual file names of the .D files themselves, or the word after the "BEGIN" keyword when you first start a dialog in a "D" file?

For example: SilverP.D has this line:
BEGIN D#SilvP

Now for the above pdialog.2da append, would I be referring to SilverP.D or D#SilvP? That is where I get a bit confused. I assume the same rule would apply to the interdia file as well.

#23 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 30 April 2004 - 12:22 PM

It's the name in the BEGIN statement. You can actually call your .d files whatever the hell you like!

Although, J#VondoD is not a dialogue file, its his resting script. You probably won't need one unless you are writing a romance...
"You alone can make my song take flight..."

#24 Diana

Diana
  • Modder
  • 341 posts

Posted 30 April 2004 - 02:46 PM

Thanks - it makes things much clearer

#25 Zombie

Zombie
  • Member
  • 8 posts

Posted 01 May 2004 - 01:08 AM

I wrote the dialogues with NI and I add them their strings too but they are still invisible :wacko:

#26 BGfan

BGfan
  • Member
  • 5 posts

Posted 02 May 2004 - 02:36 AM

About the name, did you check the Entry Type for the NPC name in NI?
It has to be Message with Tags.
As for the actual dialogue, I'm not sure, maybe you should check the Entry Type also, make sure it is standard message.

#27 MagusWizardo

MagusWizardo

    Don't ask... please don't ask.

  • Member
  • 201 posts

Posted 02 May 2004 - 03:14 AM

The names of the TP2 and EXE files should actually be Setup-VondotheNPC , not VondotheNPC-Setup .

#28 Zombie

Zombie
  • Member
  • 8 posts

Posted 07 May 2004 - 12:35 PM

how can I assign a voice set to my npc?

#29 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 07 May 2004 - 12:40 PM

Create the soundset as wav files and assign it in your tp2 when you assign names.
e.g.

COPY ~Harvey\Creatures\G#Harvey.cre~ ~override\G#Harvey.cre~
SAY NAME1 ~Talking Rabbit~
SAY NAME2 ~Talking Rabbit~
  SAY BATTLE_CRY1 ~I can take 'em~ [G#HRVYa]
  SAY LEADER ~Muahahahahaha! At last all the power is mine!~ [G#HRVYb]
  SAY TIRED ~I'm knackered...~ [G#HRVYc]
  SAY BORED ~Surely there is something better for us to do?~ [G#HRVYd]
  SAY HURT ~In case you haven't noticed I'm spurting blood here!~ [G#HRVYe]
  SAY SELECT_COMMON1 ~Yes?~ [G#HRVYf]
  SAY SELECT_COMMON2 ~What?~ [G#HRVYg]
  SAY SELECT_COMMON3 ~Eh?~ [G#HRVYh]
  SAY SELECT_ACTION1 ~Very well...~ [G#HRVYi]
  SAY SELECT_ACTION2 ~If I must...~ [G#HRVYj]
  SAY SELECT_ACTION3 ~I suppose I will...~ [G#HRVYk]
  SAY DAMAGE ~~ [G#HRVYl]
  SAY DYING ~I'm dying you bastards!  Get me some bloody healing!~ [G#HRVYm]
  SAY AREA_FOREST ~I see trees of green, red roses too, I see them bloom for me and you, and I think to myself... what the hell are we doing in a bloody forest!?~ [G#HRVYn]
  SAY AREA_CITY ~Cities, the most wretched hives of scum and villany.  On the plus side, there are whores on almost every corner..~ [G#HRVYo]
  SAY AREA_DUNGEON ~If I had known you would come to places like this then I would have stayed in that zoo...~ [G#HRVYp]
  SAY AREA_DAY ~Damn, I'm hot.  But at least I can see where I'm going...~ [G#HRVYq]
  SAY AREA_NIGHT ~You expect me to be able to see where I am going in this?  Travel by day, damnit!~ [G#HRVYr]
  SAY SELECT_ACTION4 ~Must I?~ [G#HRVYs]
  SAY SELECT_ACTION5 ~I'm going, I'm going...~ [G#HRVYt]
  SAY SELECT_ACTION6 ~Don't I have another choice?~ [G#HRVYu]
  SAY SELECT_ACTION7 ~Bloody slavedriver...~ [G#HRVYv]
  SAY SELECT_COMMON4 ~What is it?~ [G#HRVYx]
  SAY SELECT_COMMON5 ~Huh?~ [G#HRVYy]
  SAY CRITICAL_HIT ~I expected that to do more...~ [G#HRVYz]
  SAY CRITICAL_MISS ~Bollocks, I missed!~ [G#HRVY1]
  SAY TARGET_IMMUNE ~This isn't working.~ [G#HRVY2]
  SAY INVENTORY_FULL ~Does it look like I can carry all this crap?~ [G#HRVY3]
  SAY PICKED_POCKET ~I've swiped some of their gear.  Care to tell me why I'm doing this?~ [G#HRVY4]
  SAY HIDDEN_IN_SHADOWS ~I've successfully hid in the shadows.  Why you have me doing this, I have no idea...~  [G#HRVY5]
  SAY SPELL_DISRUPTED ~Bloody hell!  My spell went wrong...~ [G#HRVY6]
  SAY SET_A_TRAP ~They'll never see that coming...~ [G#HRVY7]
  SAY BATTLE_CRY2 ~I'll bite ya legs off!~ [G#HRVY8]
  SAY BATTLE_CRY3 ~You're going down!~ [G#HRVY9]
  SAY SELECT_COMMON6 ~I take it you have a reason for disturbing me?~ [G#HRVY0]

SAY BATTLE_CRY1 ~I can take 'em~ [G#HRVYa] will assign the file G#HRVYa.wav to be his first battle cry and the text 'I can take 'em' will appear if you subtitles on. The file 'Sounds.txt' in your 'sounds' folder will tell you the standard soundset information.

Edited by Grim Squeaker, 07 May 2004 - 12:42 PM.

"You alone can make my song take flight..."

#30 Zombie

Zombie
  • Member
  • 8 posts

Posted 08 May 2004 - 08:26 AM

thanks for the help..

#31 Zombie

Zombie
  • Member
  • 8 posts

Posted 08 May 2004 - 08:26 AM

thanks for the help..

#32 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 23 May 2004 - 09:32 AM

Create the soundset as wav files and assign it in your tp2 when you assign names.
e.g.

COPY ~Harvey\Creatures\G#Harvey.cre~ ~override\G#Harvey.cre~
SAY NAME1 ~Talking Rabbit~
SAY NAME2 ~Talking Rabbit~
  SAY BATTLE_CRY1 ~I can take 'em~ [G#HRVYa]
  SAY LEADER ~Muahahahahaha! At last all the power is mine!~ [G#HRVYb]
  SAY TIRED ~I'm knackered...~ [G#HRVYc]
  SAY BORED ~Surely there is something better for us to do?~ [G#HRVYd]
  SAY HURT ~In case you haven't noticed I'm spurting blood here!~ [G#HRVYe]
  SAY SELECT_COMMON1 ~Yes?~ [G#HRVYf]
  SAY SELECT_COMMON2 ~What?~ [G#HRVYg]
  SAY SELECT_COMMON3 ~Eh?~ [G#HRVYh]
  SAY SELECT_ACTION1 ~Very well...~ [G#HRVYi]
  SAY SELECT_ACTION2 ~If I must...~ [G#HRVYj]
  SAY SELECT_ACTION3 ~I suppose I will...~ [G#HRVYk]
  SAY DAMAGE ~~ [G#HRVYl]
  SAY DYING ~I'm dying you bastards!  Get me some bloody healing!~ [G#HRVYm]
  SAY AREA_FOREST ~I see trees of green, red roses too, I see them bloom for me and you, and I think to myself... what the hell are we doing in a bloody forest!?~ [G#HRVYn]
  SAY AREA_CITY ~Cities, the most wretched hives of scum and villany.  On the plus side, there are whores on almost every corner..~ [G#HRVYo]
  SAY AREA_DUNGEON ~If I had known you would come to places like this then I would have stayed in that zoo...~ [G#HRVYp]
  SAY AREA_DAY ~Damn, I'm hot.  But at least I can see where I'm going...~ [G#HRVYq]
  SAY AREA_NIGHT ~You expect me to be able to see where I am going in this?  Travel by day, damnit!~ [G#HRVYr]
  SAY SELECT_ACTION4 ~Must I?~ [G#HRVYs]
  SAY SELECT_ACTION5 ~I'm going, I'm going...~ [G#HRVYt]
  SAY SELECT_ACTION6 ~Don't I have another choice?~ [G#HRVYu]
  SAY SELECT_ACTION7 ~Bloody slavedriver...~ [G#HRVYv]
  SAY SELECT_COMMON4 ~What is it?~ [G#HRVYx]
  SAY SELECT_COMMON5 ~Huh?~ [G#HRVYy]
  SAY CRITICAL_HIT ~I expected that to do more...~ [G#HRVYz]
  SAY CRITICAL_MISS ~Bollocks, I missed!~ [G#HRVY1]
  SAY TARGET_IMMUNE ~This isn't working.~ [G#HRVY2]
  SAY INVENTORY_FULL ~Does it look like I can carry all this crap?~ [G#HRVY3]
  SAY PICKED_POCKET ~I've swiped some of their gear.  Care to tell me why I'm doing this?~ [G#HRVY4]
  SAY HIDDEN_IN_SHADOWS ~I've successfully hid in the shadows.  Why you have me doing this, I have no idea...~  [G#HRVY5]
  SAY SPELL_DISRUPTED ~Bloody hell!  My spell went wrong...~ [G#HRVY6]
  SAY SET_A_TRAP ~They'll never see that coming...~ [G#HRVY7]
  SAY BATTLE_CRY2 ~I'll bite ya legs off!~ [G#HRVY8]
  SAY BATTLE_CRY3 ~You're going down!~ [G#HRVY9]
  SAY SELECT_COMMON6 ~I take it you have a reason for disturbing me?~ [G#HRVY0]

SAY BATTLE_CRY1 ~I can take 'em~ [G#HRVYa] will assign the file G#HRVYa.wav to be his first battle cry and the text 'I can take 'em' will appear if you subtitles on. The file 'Sounds.txt' in your 'sounds' folder will tell you the standard soundset information.

It's a great list Grim squaker, but what must I write if someone else dies?

SAY .... ~Well I guess I'll say goodbye~ [Kidow]

Cause I can't find it in your list and I would also like to add this sentence to my mod, with it's correct soundfile

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~


#33 Grim Squeaker

Grim Squeaker

    Fallen

  • Member
  • 1018 posts

Posted 23 May 2004 - 09:43 AM

REACT_TO_DIE_GENERAL I think. Lookup any CRE in NI and in the attribute section you'll see a list of all of them.
"You alone can make my song take flight..."

#34 Deathsangel

Deathsangel

    Living on Wings of Dreams

  • Modder
  • 3089 posts

Posted 24 May 2004 - 09:45 AM

ty

Still modding the Mod for the Wicked... It is a big project you know... And I got sidetracked (several times) a bit... sorry.
However, as we all know, Evil never really sleeps.


Sentences marking (my) life:

Winds of change... Endure them, and in Enduring grow Stronger
It takes a fool to look for logic in a man's heart
Never question the sanity of the insane
The Harmony of Life is Chaos
Living on Wings of Dreams



(1st march 2009) SHS women over me:
Kat: if there were more guys that looked like you out here, people's offspring wouldnt be so damn ugly
Noctalys: you are adorable :P

~~ I love it, and I am humbled! Yay! ~~


#35 Zethre

Zethre
  • Member
  • 90 posts

Posted 01 July 2004 - 01:18 AM

How do i go about finding which code refers to which area? For example, domi says AR1000 is the gov district, how do i find out which code i need for Lavok's Sphere for example? :unsure:
If you obey all the rules, you miss all the fun

-Katharine Hepburn

#36 Meira

Meira

    I'm the snow on your lips

  • Member
  • 411 posts

Posted 01 July 2004 - 01:29 AM

IESDP is your friend. Look under Filename Mappings: Areas. :)
Ihmeellinen meri

Kummalliset kalat liukuvat syvyydessä,
tuntemattomat kukat loistavat rannalla;
olen nähnyt punaista ja keltaista ja kaikki toiset värit -
mutta ihana meri on vaarallista nähdä,
se herättää tulevien seikkailujen janon:
mitä on tapahtunut sadussa, on tapahtuva minullekin.

- Edith Södergran


Amber - The BG2 NPC Mod Project Now released!
Amber's discussion forum at Gibberlings 3

#37 Zethre

Zethre
  • Member
  • 90 posts

Posted 03 July 2004 - 04:41 PM

thanks :) exactly what i needed :)
If you obey all the rules, you miss all the fun

-Katharine Hepburn

#38 disguise

disguise
  • Member
  • 20 posts

Posted 26 July 2004 - 08:26 AM

when will the teambg site work again???

#39 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 26 July 2004 - 08:39 AM

when will the teambg site work again???

IESDP is currently hosted at gibberlings3, until TeamBG comes back online. If it does, which we all sincerely hope.

Anyway, here is the link to IESDP.

Posted Image Khadion NPC mod - Team leader, head designer
Posted Image Hubelpot NPC mod - Team leader, coder
Posted Image NPC Damage - Coder
Posted Image PC Soundsets - Coder, voice actor
Posted Image Brythe NPC mod - Designer
Posted Image DragonLance TC - Glory of Istar - Designer
Posted Image The NPC Interaction Expansion Project - Writer for Cernd, Sarevok
Posted Image The Jerry Zinger Show - Producer

Iron Modder 5 - Winner


#40 -Jerdol-

-Jerdol-
  • Guest

Posted 28 July 2004 - 01:19 AM

APPEND ~pdialog.2da~
~vondo J#VondoP J#VondoJ J#VondoD~
UNLESS ~vondo~
UNLESS ~25POST~


APPEND ~pdialog.2da~
~vondo J#VondoP J#VondoJ J#VondoD J#Von25P J#Von25J J#Von25D J#Vond25~
UNLESS ~vondo~
IF ~25POST~

No matter how much I examine this, I still can't figure out what it is. What does it do? What files does it reference (because the tutorial never mentioned J#VondoJ, J#VondoD, J#Von25P, J#Von25J, J#Von25D, or J#Vond25)?


Also, regarding the area question.

How do i go about finding which code refers to which area? For example, domi says AR1000 is the gov district, how do i find out which code i need for Lavok's Sphere for example?

A much simpler solution to the one presented is to simply press 'x' at the spot you want the NPC to be in. Despite my being an absolute newb, I know that much.