Jump to content


Photo

Clueless Again


  • Please log in to reply
8 replies to this topic

#1 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 20 November 2004 - 06:09 PM

Well, it seems I'm confused on how to do something (yet again) that WeiDU doesn't seem to like much.

Here is what I am trying to do:

Using I_C_T since I'm adding a small snippet to the end of a banter.

NPC: ~Hm... 'watch thy friends and watch thy death'....~
PC Option 1: ~Don't tell me you're going to repeat all of what the rogue said, this is a bad time for you to lose control over yourself.~
PC Option 2: ~Did the rogue's words have any special meaning to you?~
PC Option 3: ~It's just the ramblings of a madman, we can't waste time on this.~
END

etc, etc

Overall, I've coded it like this:

INTERJECT_COPY_TRANS VVMADMAN 6 crazyrogue
 == SK#NEHTJ IF ~InParty("SK#Neht")~ THEN
 ~Hm... 'watch thy friends and watch thy death'....~
END
 ++ ~Don't tell me you're going to repeat all of what the rogue said, this is a bad time for you to lose control over yourself.~ GOTO crazyrogue1
 ++ ~Did the rogue's words have any special meaning to you?~ GOTO crazyrogue2
 ++ ~It's just the ramblings of a madman, we can't waste time on this.~ GOTO crazyrogue3

IF ~~ THEN BEGIN crazyrogue1
 SAY ~I believe it is a special warning for thee, perhaps against those thou travel's with.~
 IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN crazyrogue2
 SAY ~I have heard of this... sometime in the past... were they my words? No, of course not. The undead have their own communities and the powerful oft make themselves known to each other.~
 IF ~~ THEN GOTO crazy1
END

IF ~~ THEN BEGIN crazy1
 SAY ~I am not one of those, especially not now, though I am one of the oldest surviving undead. I know of two cities where every being died and became undead. They could not escape at first... forced to feed off of themselves. When visiting one of these places I heard of an elven woman who sought to become undead. (He shakes his head, looking at you.) I apologize, <CHARNAME>, for my wandering thoughts.... let us continue on.~
 IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN crazyrogue3
 SAY ~Madman or not, he risked himself to warn thee, but if thou will not pay attenion to him, then any additional warning from me will come to naught.~
 IF ~~ THEN EXIT
END

The part WeiDU doesn't like is the " ++ " part, which I have no idea how to fix since this is the first time I've tried using that.

Anyone have any idea of what it is I did wrong?

#2 neriana

neriana
  • Member
  • 139 posts

Posted 20 November 2004 - 08:14 PM

INTERJECT_COPY_TRANS doesn't accept extra transitions, like replies. If you just use normal INTERJECT, it should work.

This is passed along from He Who Shall Not Be Named, by the way. AKA Jason Compton.

#3 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 20 November 2004 - 09:10 PM

Despite changing the code ( in regards to "both" Who Shall Not Yadda Yadda posts) to...

INTERJECT VVMADMAN 6 crazyrogue
 == SK#NEHTJ IF ~InParty("SK#Neht")~ THEN
 ~Hm... 'watch thy friends and watch thy death'....~
 ++~Don't tell me you're going to repeat all of what the rogue said, this is a bad time for you to lose control over yourself.~+ crazyrogue1
 ++~Did the rogue's words have any special meaning to you?~+ crazyrogue2
 ++~It's just the ramblings of a madman, we can't waste time on this.~+ crazyrogue3
END

I'm still getting this error:

[SK#Neht.d] PARSE ERROR at line 804 column 2-2
Near Text: +
syntax error
FATAL ERROR: Parsing.Parse_error

Edited by Amazor'dra, 20 November 2004 - 10:09 PM.


#4 neriana

neriana
  • Member
  • 139 posts

Posted 20 November 2004 - 10:52 PM

I'm still getting this error:

[SK#Neht.d] PARSE ERROR at line 804 column 2-2
Near Text: +
syntax error
FATAL ERROR: Parsing.Parse_error

View Post

I'm afraid I don't know, and the person who can help you most is not allowed to post here.

#5 Reapper99

Reapper99
  • Member
  • 5 posts

Posted 21 November 2004 - 02:20 AM

Despite changing the code ( in regards to "both" Who Shall Not Yadda Yadda posts) to...

INTERJECT VVMADMAN 6 crazyrogue
 == SK#NEHTJ IF ~InParty("SK#Neht")~ THEN
 ~Hm... 'watch thy friends and watch thy death'....~
 ++~Don't tell me you're going to repeat all of what the rogue said, this is a bad time for you to lose control over yourself.~+ crazyrogue1
 ++~Did the rogue's words have any special meaning to you?~+ crazyrogue2
 ++~It's just the ramblings of a madman, we can't waste time on this.~+ crazyrogue3
END


If add the reply option AFTER the END, then it should be ok! So it should look like this:
INTERJECT VVMADMAN 6 crazyrogue
 == SK#NEHTJ IF ~InParty("SK#Neht")~ THEN
 ~Hm... 'watch thy friends and watch thy death'....~
END
 ++~Don't tell me you're going to repeat all of what the rogue said, this is a bad time for you to lose control over yourself.~+ crazyrogue1
 ++~Did the rogue's words have any special meaning to you?~+ crazyrogue2
 ++~It's just the ramblings of a madman, we can't waste time on this.~+ crazyrogue3

Hope this helps you!

#6 Seifer

Seifer

    The best Anti-Paladin weapon is a tin opener...!

  • Member
  • 4505 posts

Posted 21 November 2004 - 11:38 AM

INTERJECT_COPY_TRANS doesn't accept extra transitions, like replies. If you just use normal INTERJECT, it should work.

This is passed along from He Who Shall Not Be Named, by the way. AKA Jason Compton.

View Post



Or you can called him JC, like we do =)

how come you always look so damn cool in every photo I see you in?!?


Speaking of modding, I listened to IER 3 yesterday, so you can have another quote for your signature: how come you sound so damn cool, as well as look it? It's unfair. Seriously.


Still a cyberjock, still hacking the matrix, still unsure of what that means.

TeamBG member - http://www.teambg.eu

#7 SConrad

SConrad

    I swear to drunk I'm not God

  • Administrator
  • 11148 posts

Posted 21 November 2004 - 11:58 AM

I'm afraid I don't know, and the person who can help you most is not allowed to post here.

There's a few other modders in the world, too.

Anyway, try what Reapper99 said. If WeiDU doesn't like that either, we'll work around it. There's a few other things we can do. ;)

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


#8 neriana

neriana
  • Member
  • 139 posts

Posted 21 November 2004 - 01:14 PM

I'm afraid I don't know, and the person who can help you most is not allowed to post here.

There's a few other modders in the world, too.

None who know as much about dialogue coding, and none who were available to help immediately last night. :rolleyes:

#9 Amazor'dra

Amazor'dra

    The Rogue Drow

  • Member
  • 484 posts

Posted 21 November 2004 - 07:10 PM

Switching around the END and doing a couple other things seemed to have fixed the problem. So thanks to all for the help. It was actually a little bit of everybody's help that made me to (eventually) figure it out....

The end result that WeiDU seemed to like:

INTERJECT VVMADMAN 6 crazyrogue
== SK#NEHTJ IF ~InParty("SK#Neht")~ THEN
@283
END
++ @284 EXTERN SK#NEHTJ crazyrogue1
++ @285 EXTERN SK#NEHTJ crazyrogue2
++ @286 EXTERN SK#NEHTJ crazyrogue3

APPEND SK#NEHTJ
IF ~~ THEN BEGIN crazyrogue1
SAY @287
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN crazyrogue2
SAY @288
IF ~~ THEN GOTO crazy1
END

IF ~~ THEN BEGIN crazy1
SAY @289
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN crazyrogue3
SAY @290
IF ~~ THEN EXIT
END
END