Jump to content


Photo

Want to make NPC Mod! (Last Ditch Effort)


  • Please log in to reply
133 replies to this topic

#21 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 28 August 2004 - 07:17 AM

THAT is the kind of feedback that is GOOD to get. Linking together long dialog with the string "==" for instance. GREAT IDEA. Wonderful and a lot better than what I had.

Only thing was, until you TOLD me about it, I had no clue you could DO it. None of the tutos I've read mentioned it.

That goes back to my concern I am missing out on the "between the cracks" info of modding. SOME things are SO basic (to those who know what they are doing) that they are ommited when put in tutos...therefor people like ME remain clueless.

I will go back and edit and change for the better. Thus far I have been tearing my hair out trying to figure out the programming end of things...and the rest has suffered maybe.

The tutorials in the WeiDU readme are really informative. Especially note the multisay one: http://www.weidu.org...eiDU.html#htoc8 (You can also find this readme in your own weidu directory.)

#22 minotaur_in_maze

minotaur_in_maze

    Modding Prima-Dona

  • Member
  • 906 posts

Posted 05 September 2004 - 02:52 PM

Just an update, :)

Thanks to what I have learned from this post here, and L.O.T.S. of thanks to Shed who has been my guide via pm's October (Tobi) is coming along.

I have her banters nearly done her .D and .P files done, and her picture finalized. I am still having some probs with making her .cre (I am trying to make her a lvl 11 Ranger and having probs with getting her HP to work) though I have with help worked out her DV.

I still have a ways to go (A long ways) and will be asking for more answers to questions, but I wanted to give an update to those who have been so kind as to help me out thus far.

More later.

Minotaur - "October", half-elf ranger from another reality - with a love for Aerie and a love for annoying Korgan, NPC in the works! (Won't be for a couple of months yet, but stay tuned.) :turnip:

Attached Images

  • October.JPG

* * * * * *
They say the world is going to Hell.

They are wrong.

The world IS Hell! Always has been, always will be; except perhaps for the five percent or so of the population who can afford differently.

And, if one must reside in Hell, it is far better to do it as a minion of the Devil than as a member of the damned.
* * * * * *
LOVE SUCKS: It makes fools and slaves of us all.
But being alone and unloved is worse.
- Nancy A. Collins "Thin Walls"
* * * * * *

#23 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 05 September 2004 - 03:09 PM

cool :)

#24 Caswallon

Caswallon

    Telvanni Archmagister

  • Member
  • 284 posts

Posted 06 September 2004 - 01:14 AM

Nice. :)
And congratulations for managing to learn all that stuff. :)

#25 minotaur_in_maze

minotaur_in_maze

    Modding Prima-Dona

  • Member
  • 906 posts

Posted 06 September 2004 - 06:23 AM

Caswallon,

I am still learning and it will be awhile yet before my lady rolls off the ol' Frankenstein table, but it is coming along. Like I said though, there will be PLENTY of more questions so please keep me in mind... LOL.

Anyhoo...

Introducing October "Tobi" Chill: A half-elf ranger from another reality -

------------
(Behind all this... some of you may remember - A long, long LONG time ago there was a (TSR, I think) video game called "Secrets of the Silver Blades" as well as "Treasures of the Azlor Bonds" ...uhm... VERY early AD&D core rules with laughable (now) graphics but decent storylines. Anyway, I had a Ranger girl, Tobi, who did well for me, and I thought she deserved to have an updated life, so... I re-invented her.)
-------------

- with a love for Aerie and a love for annoying Korgan.

I can't program much yet, though I am learning, but I can write fairly well...or so I believe, and I have always thought that Korgan, in particular, has never been able to show off what a bastard he can be, thus... (Sample banter, both to show what I have done thus far and to allow anyone to tell me if either:

A: My banter sucks.

Or

B: I am doing something MAJORLY goofy.)


Anyway...

---------------------------

BEGIN ~BOCTOB~
CHAIN
IF ~InParty("Korgan")
See("Korgan")
!StateCheck("Korgan",STATE_SLEEPING)
Global(KorganOctobTalk","Locals",0)~ THEN BEGIN BOCTOB TreasureNegotiation
SAY ~I'm still no closer to getting home, but in travelling with this group I'm getting rich!~
DO ~SetGlobal("KorganOctobTalk","Locals",4)
== BKORGAN
~We all be gettin' fat in th' wallet from recent events, October. Gets
me t' thinkin' though... Ye' bein' s'new t' this area an' all, ye'
should be givin' me a percentage o' yer gold in retern fer all th' help
I be givin' ya. Say...... twenty-five percent?
== BOCTOB
~Help? What help is that, Naganeen?~
== BKORGAN
~Why... Watchin' yer back. Learnin' ye' th' ropes of th' adventurin'
trade. Coverin' fer ye' wit <CHARNAME> when yez does somethin'
boneheaded an' gets us inta a killin' jam. That sorta thing. I really be
thinkin' my assistance be worth more then twenty-five percent, but I'm
willin' t' settle; ol' softy thet I'yam.~
== BOCTOB
~I haven't screwed up anything like you're saying, short-joint. Although
*you've* led us into a few blind corners. So far as showing me any
tricks of the trade when it comes to adventuring... Please! Don't make
me heave. Any gold I get is staying in my knapsack, where it belongs.~
== BKORGAN
~Unwise! Thet's yer final word on th' subject then?~
== BOCTOB
~No, this is: Screw you, short shite! What's mine is mine, and that's
the way it's staying.~
== BKORGAN
~Screw......ME?~
== BOCTOB
~Hmmft. Screw your mother too! I'm *not* giving up my gold!<Snort>~
== BKORGAN
~Screw......me......mudda?~
== BOCTOB
~Why not? I'm betting every other male in this realm already
has...except for the one you mistakenly called daddy that is.~
== BKORGAN
~Alright then. TIME T' DIE, YE' RED HEADED SLOTH BITCH!<Starts to draw
sword>~
== BOCTOB
~The sooner you forget about bringing that chopper of yours out, the
less chance you'll have of using it as a suppository.~
== BKORGAN
~Ye' might be right, but I be feelin' darin' j'st now.~
== BOCTOB
~Let it go Korgan. Let it go or die here in the dirt. Makes no
difference to me, but you're not getting my gold.~
== BKORGAN
~Grrrrrrrrrrrr...~
== BOCTOB
~I mean it, smalspellholdstudios.netspellholdstudios.netspellholdstudios.netl and thick. Don't test me. Let it go...let it go or
you're apt to lose more than an extra portion of gold.<Rests hand on
hilt of weapon>
== BKORGAN
~Of all th' ungrateful... After all I've done fer ye', an' ye' be
blighted t' part wit' a bit of th' hard fought fer...~
== BOCTOB
~I *would* be willing to share this bottle of fire ale with ya, Korgie.
Deal?~
== BKORGAN
~Blasted, hardheaded, no back down female... Gimme th' jug.<Grumble>~
EXIT
---------------------------

Alright, so it Isn't the BEST... I never Said it WAS, I am new here. Still, it seems to me that Korgan is such a greedy bugger he MIGHT try and shake down a new party member if he thought he could get away with it.

October however doesn't play that way. :)

As for Aerie, I thought she could use a little bit of spice...though I am trying to build a Friendship between her and October, some of my banters seem more and more like lovetalks (not coded that waty.) -SIGH... - I blame "Chloe's influence...

---------------

BEGIN ~BOCTOB~
CHAIN
IF ~InParty("Aerie")
See("Aerie")
!StateCheck("Aerie",STATE_SLEEPING)
Global(AerieOctobTalk","Locals",0)~ THEN BEGIN BOCTOB NewWings
SAY ~Aerie, I've been considering your missing wings. Do you truly
believe that you need wings in order to be happy?~
DO ~SetGlobal("AerieOctobTalk","Locals",1)~
== BAERIE
~How can you even ask that October? Among the Avariel our wings define
us. They grant us status and character...make us whole. The pain I feel
over my loss eats at me constantly. Maybe others can't see it, but it is
always with me. I would give much to have my wings back, though I know
it to be an impossible dream, so I fail to see why you ask.~
== BOCTOB
~Impossible? Don't be so sure little one, there are ways.~
== BAERIE
~Whatever do you mean?~
== BOCTOB
~Back home in Trazlour there is a gifted smithy, Gelin, who was; in his
youth, an equally gifted mage. These days he combines his talents by
creating weapons and armor infused with powerful magiks. I also know,
personally, that he is an excellent sculpter. Although it is a little
out of his usual line of work, I'm sure that he could create a beautiful
pair of metal wings for you, then graft them to you and charm them so
you could fly again.~
== BAERIE
~Oh my!~
== BOCTOB
~They wouldn't be *of* you, naturally, but they would replace your lost
limbs nicely.~
== BAERIE
~Metal...wings? How quaint. But... No, they could never replace what
I've lost.~
== BOCTOB
~No, as I said, nothing can replace that which was *of you* but these
wings would be elegant, Gelin does wonderful work with metals and
ceramic. They would look, well, not natural exactly, but unique and
lovely when combined with your natural beauty. Perhaps they would even
give you high status among your race, being custom wings and all. I
don't know enough of the Avariel to venture an opinion of that, but in
any case, they would allow you to fly again.~
== BAERIE
~Oh my! To fly, to soar in the clouds! It... It is such a lovely dream!~
== BOCTOB
~I can ask Gelin for you if you'd like, provided of course I ever find a
way to get home myself.~
== BAERIE
~Magic wings? Hmmm. It...It is tempting, October. I don't know though,
it is something that I would have to think upon for a time.~
== BOCTOB
~Just let me know Aerie.~
EXIT
-----------------

It's a start anyway...

My biggest prob is that I don't know the Short name for most of the BGII characters to banter them. I am just guessing:

B..................? (BPLAYER! ? for PC?)
BIMOEN
BYOSHI
BJAHEI
BMINSK
BAERIE
BNALIA
BANOME
BKORGAN
BVICONI
BJAN
BVALYG
BKELDO
BHAERD
BEDWIN
BCERND
BMAZZY

??????????? Please let me know on this, or at least where to Find this info for myself.

Here is October's Bio

"When asked of her background, October Chill is quick to point out that she is not a native to the realm in which she currently finds herself.

An adventurer by trade - and member in good standing of The Society of the Silver Blades, October, along with her group had been hired by the mountain community of New hope to clean out an evil that had been plauging their local mines. The group was well into the job when they were unexpectedly transported to an odd place known only to them as The City of Doors. It was there that they encountered the demonic creature known as The lady of Pain.

During their battles with the creature, the group was accidentally transported away. Much to their surprise though, they wound up in the realm of The Sword Coast and not back home.

The Silverblades were scattered throughout this strange new realm with October finding herself in a barn near the Sea Bounty Tavern. You found her there, drowning her sorrows in ale, and convinced her to join you in your travels whilst she searches for her missing team members and/or a way to get home."

Anyway, that is it for now... comments if ya could :^^:

Minotaur In Maze - Modder To Be... :thumb:

Attached Images

  • October.JPG

* * * * * *
They say the world is going to Hell.

They are wrong.

The world IS Hell! Always has been, always will be; except perhaps for the five percent or so of the population who can afford differently.

And, if one must reside in Hell, it is far better to do it as a minion of the Devil than as a member of the damned.
* * * * * *
LOVE SUCKS: It makes fools and slaves of us all.
But being alone and unloved is worse.
- Nancy A. Collins "Thin Walls"
* * * * * *

#26 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 06 September 2004 - 06:29 AM

My biggest prob is that I don't know the Short name for most of the BGII characters to banter them.

You can always look this up in other NPC-mods.

Or, you can use InfExp to look it up.

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


#27 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 06 September 2004 - 06:37 AM

OK. I like the banter :). I rather think that Korgan would fight October, even on that provocation, though.

DO ~SetGlobal("KorganOctobTalk","Locals",4)


4? I suppose you have your reasons...

......

use "..."

<Starts to draw
sword>

It would be an axe. Also it is better to show, not tell. It would be better not to have a description. Even if you did it should be in "()"s. In this case, it is fairly obvious he is about to fight Oct. You don't need to spell it out.

When addressing someone e.g. "My dear little Aerie, have a cookie." there should always be a comma after the person being addressed (the vocative, as if you want to know ) ^_^. Equally "Just let me know, Aerie" should have a comma before Aerie.

To find out the banter files you can either look an interdia.2da (in DLTCEP) or scroll through .dlg files that begin with B.

I don't know why you want Player1.dlg. There isn't a banter file, because Player1 never initiates banter. He could if you thought it necessary (bad move) but it is otherwise unneeded.

In biographies, the name is always in caps.

e.g. "When asking OCTOBER about her past, she gurgles or spits in her eye, depending on the time of day."

That's all for now :). Would you like to email me the full banter (once it's done) so I can proof it?

EDIT: interdia.2da - I knew that ;).

Edited by Shed, 06 September 2004 - 08:48 AM.


#28 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 06 September 2004 - 06:43 AM

Shed seems to have it fairly covered, but I spy a few coding-mistakes in both banters. Do you want to find them yourself, or should I point them out?

I also question the ("KorganOctobTalk","Locals",4).

(By saying look it up in InfExp, I meant that you could check the interdia.2da (not interdial.2da) with it. Thanks for the clarification, Shed).

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


#29 -Minotaur_et_all-

-Minotaur_et_all-
  • Guest

Posted 06 September 2004 - 10:10 AM

Just popping in with a bit of a prob regarding (I think) the APPEND/EXTERN thing

(Yes, I know I have a few coding errors, though I am not quite sure where... any help would be warmly received... the "LOCALS",4 thing is that this was my fourth banter between them. I might be muffed up - and so on.)

Now for the prob at hand. I have run into a wall and all the tuto's I read are not helping any. To give October a little depth and history, I have her looking for a prespective bed partner/romance interest.

Nalia is playing the roll of her confendant but I thought the material was getting a bit to adult/heavy (Not THAT adult, think "CHLOE" type stuff...God I love that mod) so I wanted to liven it up with a quick line. Thus it starts off well... :
----------------

BEGIN ~BOCTOB~
CHAIN
IF ~InParty("NALIA")
See("NALIA")
!StateCheck("NALIA",STATE_SLEEPING)
Global("NaliaOctobTalk","Locals",0)~ THEN BEGIN BOCTOB ExoticEyes
SAY ~Y'know Nalia, all other issues aside, I find the differences in races here refreshing.~
DO ~SetGlobal("NaliaOctobTalk","Locals",1)
== BNALIA
~What do you mean?~
== BOCTOB
~All of the different races. I am thinking in terms for companionship
now really. There are just so many standards of beauty to take into
account. So many lovely handsome and lovely people.~
== BNALIA
~There are more than looks to consider when contemplating a potential
mate. Some have quiet beauty others have inner beauty, and some have
something within them that makes otherwise plain features become lovlier
than they would be otherwise.~
== BOCTOB
~Oh I know that, Nalia, and I agree completely. But it doesn't hurt
for the person you're with to be easy on the eyes, and there *are* so
many well muscled men and fine looking ladies here...~
== BNALIA
~You are comfortable with both men and women then, October?~
== BOCTOB
~I once had a steady relationship with a Minotaur Prince; the minotaurs
in my dimension being more honorable and domesticated than those who
seem to call this realm home. Though he did have the ability to shift to
humanoid form. That didn't matter to me overmuch for he was a sweet and
kindhearted example of his race.~
=~I guess, if you got right down to it, I'm bisexual. I am comfortable
with males or females...of whatever race or tribe...so long as they are
of human intelligence or better and kind. Good looking doesn't hurt at
all though.<Nervous laughter>~
== BNALIA
~A minotaur? I would think that the size difference and all that fur
alone would... But that's neither here nor there. To get back to the
subject at hand, yes, there are any number of races to consider along
the sword coast.~
== BOCTOB
~And each with a different and exotic look to them. You for instance,
Nalia, have beautiful hazel eyes.~
== BNALIA
~Well, thank you. Although they are brown.~
== BOCTOB
~They're not brown!<LAUGHTER>~
== BNALIA
~They're Brown!<LAUGHTER>~
== BOCTOB
~No, Valyger Corthala's *ASS* is brown.... (SEGWAY/EXTERN to SEE BELOW, then returning to October speaking) ...*THOSE* are hazel.~

(It's at this point where I get LOST! - I am wanting Valyger, if he is InParty to jump in and say something puckish in response to Tobi's less than ladylike comment. I am not clear on how to do it though...) :bash:

== BNALIA
~Well, thanks.~
== BOCTOB
~Anytime, friend.~
EXIT

Just popping in, no time to sign on officially.

Minotaur In Maze

#30 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 06 September 2004 - 10:35 AM

What you could do is make a check early on that Valygar is in the party, in sight etc. Then you can ==BVALYG. Otherwise if you want the banter to happen anyway, I'm afraid you need to do the whole banter in IF/THEN.

Surely the korgan banter should check for a locals value of 3, then change to 4?

Again, omit or bracketise descriptions (the laughter in this case).

You know you can sign in automatically...

Edited by Shed, 06 September 2004 - 10:37 AM.


#31 Kismet

Kismet

    Mild Thang

  • Member
  • 348 posts

Posted 06 September 2004 - 01:04 PM

You would use:

== BVALYGA IF ~IsValidForPartyDialog("Valygar")~ THEN ~Valygar says something here.~

Also, the first dialog line of a CHAIN doesn't use SAY. You just use the dialog line in tildes.

#32 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 06 September 2004 - 03:29 PM

Can you have conditions in a CHAIN?

#33 -Ashara-

-Ashara-
  • Guest

Posted 06 September 2004 - 03:42 PM

Yes, it's called a conditional CHAIN

#34 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 06 September 2004 - 03:54 PM

Please tell me you can't also have Player responses in a chain... I spent ages painstakingly working around that one.

#35 -Ashara-

-Ashara-
  • Guest

Posted 06 September 2004 - 04:21 PM

what you can do, you can put after your last CHAIN'd line:

END
++ ~PC responce 1~ EXTERN BNPC Reply1
++ ~PC responce 2~ DO ~SetGlobal("Whatever","GLOBAL",1)~ EXIT
++ ~PC responce 3~ EXIT


you can also use CHAIN'd replies of the NPC's (ie Khalid and Jaheira enter a long convo after PC said something) the you can use:

END BNPC ~gobackintoSAY~

at the end of the CHAIN to return to PC participation dialogue

#36 minotaur_in_maze

minotaur_in_maze

    Modding Prima-Dona

  • Member
  • 906 posts

Posted 06 September 2004 - 11:40 PM

(All "In Quotation" text here is edited quotes from an earlier post Shed made here...Forgive me, it is early here and I have no coffee. :wacko: - MiM )


"I rather think that Korgan would fight October, even on that provocation, though. - It would be an axe. Also it is better to show, not tell. It would be better not to have a description. Even if you did it should be in "()"s. In this case, it is fairly obvious he is about to fight Oct. You don't need to spell it out."

Could you go into a lil more detail on this? I considered, VERY briefly, trying to do a cutscene where Korgie and October explore the more ...physical...side of their "Gang warfare style" of interpersonal relationships... But then I figured out that that would require (AHHHH!!!!) Scripting!

So much for that. (And anyway, I've noticed that once you start a battle it is always to the death. I would hate to lose either of them...)

"To find out the banter files you can either look an interdia.2da (in DLTCEP) or scroll through .dlg files that begin with B."

Thanks, I will do that. Thanks to all who told me about this one, NOW I know where to look.

"I don't know why you want Player1.dlg. There isn't a banter file, because Player1 never initiates banter. He could if you thought it necessary (bad move) but it is otherwise unneeded."

Well, I saw a couple of times, both in "Chloe" and in "Tashia" that the PC initiated dialog. Really though, I am wondering if my NPC's banters/chats with the main character are coded correctly. I am in the odd position of doing (SOME) things correctly without knowing exactly what I am doing or WHY they are correct in the first place. - Other things I think I am still getting wrong... the:

Global(NaliaOctobTalk","Locals",0)~ THEN BEGIN BOCTOB (WHATEVER)
DO ~SetGlobal("NaliaOctobTalk","Locals",1)

:Section, for example

What I have been doing is setting the SECOND one by banter number:

DO ~SetGlobal("NaliaOctobTalk","Locals",1) <---1
DO ~SetGlobal("NaliaOctobTalk","Locals",2) <---2
DO ~SetGlobal("NaliaOctobTalk","Locals",3) <---3

Banters in order...

I have left the TOP block, the:

Global(NaliaOctobTalk","Locals",0)~ THEN BEGIN BOCTOB (WHATEVER)

At 0 (Zero) in all things, as I Thought that this was supposed to be set that way.

And I just noted that someone else has informed me that the starting blocks don't need the "SAY" command in them? Thus:

BEGIN ~BOCTOB~
CHAIN
IF ~InParty("NALIA")
See("NALIA")
!StateCheck("NALIA",STATE_SLEEPING)
Global("NaliaOctobTalk","Locals",0)~ THEN BEGIN BOCTOB ExoticEyes
SAY ~Y'know Nalia, all other issues aside, I find the differences in races here refreshing.~
DO ~SetGlobal("NaliaOctobTalk","Locals",2)

SHOULD be coded:

BEGIN ~BOCTOB~
CHAIN
IF ~InParty("NALIA")
See("NALIA")
!StateCheck("NALIA",STATE_SLEEPING)
Global("NaliaOctobTalk","Locals",0)~ THEN BEGIN BOCTOB ExoticEyes
~Y'know Nalia, all other issues aside, I find the differences in races here refreshing.~
DO ~SetGlobal("NaliaOctobTalk","Locals",2)

WITHOUT the "SAY" on the first (OPENING) line? Okay, gotcha. Thanx! :)

"spellholdstudios.netspellholdstudios.netspellholdstudios.netspellholdstudios.net;That's all for now :). Would you like to email me the full banter (once it's done) so I can proof it?"

Uhm... YES! YES! YES! PLEASE! PLEASE! BEG! WHIMPER! GROVEL! ... That would be kinda nice. On the one time I tried to do a compile, my machine went through a long period of silence and then (I SWEAR!) I heard electronic giggling.

:bash: :bash: :bash:

I will PM you.

As always, thank you all!!!

Minotaur in Maze - Goofy modder.

Attached Images

  • October.JPG

Edited by minotaur_in_maze, 06 September 2004 - 11:44 PM.

* * * * * *
They say the world is going to Hell.

They are wrong.

The world IS Hell! Always has been, always will be; except perhaps for the five percent or so of the population who can afford differently.

And, if one must reside in Hell, it is far better to do it as a minion of the Devil than as a member of the damned.
* * * * * *
LOVE SUCKS: It makes fools and slaves of us all.
But being alone and unloved is worse.
- Nancy A. Collins "Thin Walls"
* * * * * *

#37 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 07 September 2004 - 12:37 AM

I take it you didn't want me to point out the coding-mistakes?

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


#38 Shed

Shed

    -Shed-

  • Modder
  • 2636 posts

Posted 07 September 2004 - 01:13 AM

Thanks, Domi. I was appending, externing and if/thening all over the place for that Yoshimo banter :(.

Scripting means you don't need a fight to the death ;). Also, scripting is easier than WeiDU. I suggest not having the player initiate dialogue. It isn't hard at all, but it does put words into the mouth of the player. Similarly, try to keep the replies short. I notice on a mod like CtB ( :ph34r: ) the PC is forced to have discussions about topics which the player doesn't have the faintest idea about. However, that is by the by.

I don't know why your local variable goes from 0 to 2. If you don't want banters to reoccur, you need to use the variable value from the previous banter as a check in the next.

#39 Caswallon

Caswallon

    Telvanni Archmagister

  • Member
  • 284 posts

Posted 07 September 2004 - 04:03 PM

Fading to and from black:

202 FadeToColor(P:Point*,I:Blue*)
This action, although some of its parameters are unknown, is frequently useful. It can be used in cutscene situations, and especially for masking undesirable calculations or character movements on the screen. The parameters, however, are strange. The Point parameter is still taken in the [x.y] format, but x specifies the number of AI updates rather than an actual point. For example, using FadeToColor([20.0],0) would fade to black in 20 AI updates. Parameters besides the x are undefined and could use some investigation.

203 FadeFromColor(P:Point*,I:Blue*)
See above. The only difference this has is that it fades back to normal rather than black.

Cas

Edited by Caswallon, 07 September 2004 - 04:04 PM.


#40 minotaur_in_maze

minotaur_in_maze

    Modding Prima-Dona

  • Member
  • 906 posts

Posted 08 September 2004 - 04:05 AM

Continuing thanks to all!

Forgive my thickheadedness.

EGAD - An NPC in development for almost three YEARS!?! From someone (unlike moi) who KNOWS what they are doing?

This NPC of mine might take a lil longer than I thought...

Here is an interesting question, for players, which is better, an NPC playable "NOW!" or a more involved NPC six months after. ???

Will update later today.

THANKS TO EVERYONE.

'Taur :turnip:
* * * * * *
They say the world is going to Hell.

They are wrong.

The world IS Hell! Always has been, always will be; except perhaps for the five percent or so of the population who can afford differently.

And, if one must reside in Hell, it is far better to do it as a minion of the Devil than as a member of the damned.
* * * * * *
LOVE SUCKS: It makes fools and slaves of us all.
But being alone and unloved is worse.
- Nancy A. Collins "Thin Walls"
* * * * * *