Forum Mod Bakery Docs

Dialogue ?

Posted in Support
Please login to contribute to the conversation.
Hey ! (sorry for my english, I'm french...)

I used to mod this game 5 years ago, and today I'm back. I'm trying to make new missions, using lucas launcher, but I'm stuck. I'd like to replace dialogue but I have no idea how it works. For example, in m0sdi.mfk, Homer and Marge have to talk together about icecream :

AddStage(0);
SetMaxTraffic(2);
SetHUDIcon("marage");
SetStageMessageIndex(00);
AddObjective("talkto","neither");
AddNPC("marge", "m1_marge_sd");
AddObjectiveNPCWaypoint( "marge", "marge_walk_1" );
SetTalkToTarget("marge", 0, 0.2);
CloseObjective();
CloseStage();

AddStage(1);
AddObjective("dialogue");
SetPresentationBitmap( "art/frontend/dynaload/images/mis01_00.p3d" );
AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
AmbientAnimationRandomize( 0, 0 );
SetConversationCam( 0, "npc_far" );
SetConversationCam( 1, "pc_near" );
AddAmbientNpcAnimation( "dialogue_open_arm_hand_gesture" );
AddAmbientNpcAnimation( "none" );
AddAmbientNpcAnimation( "dialogue_thinking" );
AddAmbientPcAnimation( "none" );
AddAmbientPcAnimation( "dialogue_scratch_head" );
AddAmbientPcAnimation( "none" );
AddAmbientPcAnimation( "dialogue_hands_in_air" );
SetCamBestSide("bestside_m0");
//SetConversationCamNpcName("npc_far");
//SetConversationCamPcName("pc_far");
SetDialogueInfo("homer","marge","icecream",0);
SetDialoguePositions("level1_homer_walkto","m1_marge_sd","level1_carstart");
CloseObjective();
CloseStage();

CloseMission();

I changed Marge to Lisa in "AddStage(0);"

AddStage(0);
SetMaxTraffic(2);
SetHUDIcon("lisa");
SetStageMessageIndex(xx);
AddObjective("talkto","neither");
AddNPC("lisa", "m1_lisa_place_sd");
AddObjectiveNPCWaypoint( "lisa", "lisa_walk_1" );
SetTalkToTarget("lisa", 0, 0.2);
CloseObjective();
CloseStage();

I changed Lisa's location in a p3d file, she replaces Marge.

Then when I talk to Lisa it crashes, that's normal. But I don't know how to make the dialogue works...
[deleted user]
7 yrs ago (Statistics)
Message me on discord and I'll help you. my discord is Thomas "Hipporeno" Donofri#4187

EDIT
Direct Message me if you're on my server
I would also like to make a mod on Simpsons Hit And Run but I just don't know were to start theres like weird writing


Were exactly do I start ???
I learned a lot of things with Thomas in 15 minutes lol what are you trying to do exaclty
To learn how to make a mod is there still a chance to learn from him or to learn from him and that does include the Dialogue ???
[deleted user]
7 yrs ago (Statistics)
DM me on discord! I will help whenever I can =)
Sorry but how do I do that ???