Ok, I thought I was a fairly bright guy and could figure it out... but it seems not! :P I could really use some help writing a script for my Custom NPC.
First question: is there a difference between "Change Script" and "Add speech link tree"? It seems they will both do the same thing, but in different ways.
Are both working, because I can't get "Change Script" to have any affect, while my attempt at "Adding a Speech Tree" has populated my NPC with loads of other people's text, mostly empty responses :(
Here's what I have tried to do:
1) Go to "Change Script" -> "Create New Script". Type "Hello there" as the Opening NPC Statem. Choose 1 possible PC answer. Type "Hello yourself" into the PC Answer box. Select "End Conversation" from the drop-down. Hit Submit. The form responds with "Script Created Successfully." Now, we go to talk to our NPC: before I messed with the Speech Tree (see below) I got "This NPC has no script" etc. Now, I get the borked speech tree.
2) Go to "Add speech link tree". Type "1-2,2-0" into the "SpeechLink tree." Type "Hello there" into (1). "Hello yourself" into (2). Click "Add speechlink tree", I then get a zero-length document with application/x-php as the HTTP header. (That bit sounds like a bug to me, and I will report it.) Now, we go to talk to our NPC, and all we get is 57 responses (most empty) to the NPCs question "Have you heard the news?"
So, it looks at the moment that this bit of SW:C is a bit bugged, but I would sure appreciate some confirmation! :)
I have a similar issue with the first step Cole used. Although, I get an error even though the NPC is mine. I get an "Invalid NPC ID" error, every time.
I did search before I posted, but I was looking for "custom npc script", so missed that speechlink thread. D'oh! :)
Ok, so it might possibly be a bug. I posted a bug report (0000757) about a related issue yesterday, let's see what happens.
@Nicholas Haines: I did get that error a coupe of times, but could not reliably reproduce it. So, you might be able to get out of the "Invalid NPCID" hole, and maybe bypass the hole my custom NPC is in as well :) Do not despair :)
@Coleman Rendar: is there any pattern in which NPCs are bugged and which are not? Maybe older ones work, and more recently-purchased ones don't? Or by race? Or length of speechlink tree?
PS. Bug #0000762 submitted. It would probably help the devs if we could assemble a list of NPCIDs that are affected?
Thanks, everyone!
Edited By: Cole Orion on Year 9 Day 268 4:54 ____________