Strife Dialogue with custom monsters

Sat Nov 06, 2021 12:19 pm

Hey there, I'm working on a dialogue script with ally monsters.
Problem is, it seems to not work on custom monsters...

I have setup a conversation with a marine from a package I downloaded on Realm667, and called his name as I usually do : actor = "MarineAllyMG";.
But when I come to press use on him, nothing happen. I also tried to give him a conversation ID and called him with the ID : ID = 1;
Still nothing.

I have tried with a basic actor and choose ScriptedMarine in the Marines section in Things, and it works when I call his name.
I don't understand exactly what I should do to make the system recognize my custom actor so I can engage conversation with him ...

Here a piece of the dialogue script :

Code:
namespace = "ZDoom";

conversation
{
   //Armorer dialog
   actor = "MarineAllyMG";

   //Introduction page
   Page
   {
      name = "\cdAndy the armorer\n";
      Dialog = "\cnWelcome to the base \cdDoomSlayer \cn! What can I do for you ?";
      goodbye = "\caSee ya.";
      Choice
      {
         text = "\ckTell me about your shop.";
         NextPage = 2;
      }
      Choice
      {
         text = "\caI already know everything, thanks !";
         NextPage = 6;
      }

   }

Re: Strife Dialogue with custom monsters

Sat Nov 06, 2021 4:09 pm

Well finally found the solution, there are flags in the DECORATE lump that prevent dialogue to run, so I removed one by one to see wich one is the problem, and now the script runs well

Re: Strife Dialogue with custom monsters

Sat Nov 06, 2021 11:07 pm

What was the flag or flags which caused the problem? (Just in case someone runs into the same problem and wants a solution).