Back in the Saddle Again
After more than a month of inactivity, I finally got back to working on the module, and while it was good to take a break, it felt great to get back to work. I did more work on the conversation in the Inn, and also (mostly) finished a new area. In the conversation, I had to work on getting one NPC -named Eldin - to kill another - named Leon - during a conversation, and also write a script to have Eldin walk over to the body, search it, and then walk back to the PC, and give him some money, all without breaking the conversation. I managed to mostly achieve both with some help and a lot of fiddling around. At first, the big problem is that after Eldin killed Leon, the conversation wouldn't continue. That is, the next dialog choices wouldn't appear in the dialog box. Also, a third NPC, Sarah, was supposed to cry out when Leon was killed, but she wasn't doing that either. As for the second script, I initially ran into some problems where it wasn't executing. The problems with both scripts were solved by putting in a DelayCommand. I also had a problem with the animation in the second script, but that was solved by tweaking the running times for the animation. The problems aren't completely solved: After Eldin kills Leon, he doesn't turn back to face the PC, and I haven't figured out how to make Sarah face Leon, but it's moving along.
The new area was pretty simple, since it didn't involve any scripting, just painting. It took a while to do though, because I had to paint down a ruined caravan, complete with bodies and bloodstains. I was re-using a simple script to make the NPCs into corpses, and then I had to do a bit of tweaking to make sure that the bloodstains and arrows and so on were in the right places. The only problem I'm having with this is that I want to have the orcs and goblins rummaging through the wreckage when the PC shows up, and so far, I can't get the animation to work, even though it's just one line of code.
The new area was pretty simple, since it didn't involve any scripting, just painting. It took a while to do though, because I had to paint down a ruined caravan, complete with bodies and bloodstains. I was re-using a simple script to make the NPCs into corpses, and then I had to do a bit of tweaking to make sure that the bloodstains and arrows and so on were in the right places. The only problem I'm having with this is that I want to have the orcs and goblins rummaging through the wreckage when the PC shows up, and so far, I can't get the animation to work, even though it's just one line of code.