Author Topic: Working on a mod and...  (Read 2819 times)

0 Members and 1 Guest are viewing this topic.

Offline AstraKiseki

  • Level 1
  • *
  • Posts: 156
  • Karma: +0/-0
  • Gender: Female
    • View Profile
Working on a mod and...
« on: June 20, 2005, 07:48:59 PM »
I have NI, yet I seem to have no clue to sticking my .dlg file into my .cre file.


*sigh*
Tired of thief-mages?  How about trying out a wide-eyed young man more than a few picklocks up his sleeve?   
 Parn Celoair

Offline Sillara

  • Retired Modder
  • Level 2
  • *****
  • Posts: 888
  • Karma: +2/-0
  • Gender: Female
    • MSN Messenger - gilalion
    • AOL Instant Messenger - sk8pilmp
    • Yahoo Instant Messenger - charisariel
    • View Profile
    • http://www.gilalion.com
    • Email
Working on a mod and...
« Reply #1 on: June 20, 2005, 09:07:59 PM »
Well, I need a bit more detail to give you much help.  There are these tips, though.  For a joinable NPC, the only file you need to assign in NI is the one the character has prior to joining.  For example, for Saerileth, it is her SAERILE.d .  The other files are assigned by Weidu via your .tp2.  Also, you must have actually compiled the file for NI to find it.  Therefore, the easiest thing to do is to have a working .tp2; install the mod, even if it contains nothing but a .cre and and an empty .d file.  Then NI will be able to find the file, and you can assign it.

If there is anything more specific I can help you with, please, do not hesitate to ask! :)

Sillara
Can you accept a necromancer? Can you trust a murderer? Can you love Tsujatha?
If you like Tsujatha, you should read his novels.
Natha ssin'urn lu' dwalc ilythiiri noamuth wund l' rivven: Yasraena zhah ghil!
Saerileth's bounty is as boundless as the sea; the more  she gives to you, the more she has, for her love is infinite.

Offline AstraKiseki

  • Level 1
  • *
  • Posts: 156
  • Karma: +0/-0
  • Gender: Female
    • View Profile
Working on a mod and...
« Reply #2 on: June 21, 2005, 07:54:49 AM »
How do I assign it?  That is what I'm trying to do in the first place!
Tired of thief-mages?  How about trying out a wide-eyed young man more than a few picklocks up his sleeve?   
 Parn Celoair

Offline Grim Squeaker

  • Newbie
  • *
  • Posts: 63
  • Karma: +0/-0
    • ICQ Messenger - 55616863
    • MSN Messenger - grimsqueaker@hotmail.co.uk
    • AOL Instant Messenger - grimsqueaky
    • Yahoo Instant Messenger - grimsqueaky
    • View Profile
Working on a mod and...
« Reply #3 on: June 21, 2005, 11:11:28 AM »
Quote from: "AstraKiseki"
How do I assign it?  That is what I'm trying to do in the first place!


Either use NI, open up the CRE(s) and change the 'Dialog' offset to the name of the dialogue file (without the .dlg extension) or you can do it on the fly in your .tp2 file when you copy the CRE(s) across.
e.g.

Code: [Select]
COPY ~yourmodfolder/CRENAME.cre~ ~override/CRENAME.cre~
     WRITE_ASCII DIALOG ~dlgname~


Once again, do not include the .dlg extension in 'dlgname'
"You alone can make my song take flight..."

Offline AstraKiseki

  • Level 1
  • *
  • Posts: 156
  • Karma: +0/-0
  • Gender: Female
    • View Profile
Working on a mod and...
« Reply #4 on: June 25, 2005, 11:56:57 AM »
I still can't seem to compile my files... :(


*sigh*  And, next question:

Where do you stick LTs?  With the opening banters?  And the same question goes for the normal NPC-to-NPC banters?
Tired of thief-mages?  How about trying out a wide-eyed young man more than a few picklocks up his sleeve?   
 Parn Celoair

Offline Miss Sakaki

  • Level 2
  • **
  • Posts: 660
  • Karma: +0/-0
  • Gender: Female
    • MSN Messenger - hpowellsmith@hotmail.com
    • View Profile
    • http://www.mods.chosenofmystra.net/nathaniel
Working on a mod and...
« Reply #5 on: June 25, 2005, 01:09:04 PM »
When I was first learning, I found that the best way to start was to let myself in at the shallow end. This tutorial by Ghreyfain is a really good one that explains how to make a basic NPC. It also explains how to compile dialogue files. WeiDU Basics by Japheth is also useful. I'd also recommend The Road to Banter by Blue. Best of luck!
Would you give a guy a foot massage? If so, maybe you'd like Nathaniel.

What's a little falsehood between friends? The mysteries of The Luxley Family are soon to be unravelled.

Offline Raven

  • Miriam's sane half
  • Administrator
  • Level 5
  • *****
  • Posts: 3603
  • Karma: +118/-33
  • Gender: Female
  • Like Awesome!
    • View Profile
    • Vampire Tales
Working on a mod and...
« Reply #6 on: June 25, 2005, 04:46:35 PM »
Decompile existing dlg files like the B, J and read them over than read them over again. Look at the npc's script files to understand how, and when certain events of a npc start. And of course read the tutorials. This is how I learn to do this, is by reading, reading and more reading.
Per me si va nella citta dolente.
Per me si va nell eterno dolore.
Per me si va tra la perduta gente...
Lasciate ogni speranza perduta che'entrate!

Offline AstraKiseki

  • Level 1
  • *
  • Posts: 156
  • Karma: +0/-0
  • Gender: Female
    • View Profile
Working on a mod and...
« Reply #7 on: June 25, 2005, 08:05:03 PM »
Yes, I am doing that.  :D  And running around giggling my head off.


I have a confusion though.  The LTs are done something like (note, I'm being lazy)


IF ~~ THEN REPLY Dragon GOTO Scale
IF ~~ THEN REPLY Kender GOTO Topknot

and they leave me with no clue of how they do that.
Tired of thief-mages?  How about trying out a wide-eyed young man more than a few picklocks up his sleeve?   
 Parn Celoair

Offline Miss Sakaki

  • Level 2
  • **
  • Posts: 660
  • Karma: +0/-0
  • Gender: Female
    • MSN Messenger - hpowellsmith@hotmail.com
    • View Profile
    • http://www.mods.chosenofmystra.net/nathaniel
Working on a mod and...
« Reply #8 on: June 26, 2005, 06:16:38 AM »
You might be looking at the dialogue file rather than the translation file. I'd recommend looking at Yasraena's dialogue files, because that isn't tra-ified.

Anyway, here's a sample:

BEGIN BPARN

IF ~~ THEN BEGIN Parn1
SAY ~Did you know, my second name is Celoair?~
IF ~~ THEN REPLY ~Really?~ GOTO Parn_really
IF ~~ THEN REPLY ~Leave me alone.~ GOTO Parn_leavealone
END

IF ~~ THEN BEGIN Parn_hi
SAY ~Well, I'll stop bothering you now.~
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN Parn_leavealone
SAY ~Fair enough.~
IF ~~ THEN EXIT
END

So each REPLY goes to another IF ~~ THEN BEGIN block of dialogue.

EDIT: Also, do you have ConTEXT? I've found it really useful and many people recommend it - it's free and can be found here.
Would you give a guy a foot massage? If so, maybe you'd like Nathaniel.

What's a little falsehood between friends? The mysteries of The Luxley Family are soon to be unravelled.