Forum Mod Bakery Docs

Annoying camera "Bug"

Posted in Support
Please login to contribute to the conversation.
Hi,
i´m trying to mod my game files and so far i was successful, but when i load the mission the camera is completely f*****. Can someone help? Btw i´m not using the launcher, im editing the game files.

camera bug: www.youtube.com/watch?v=jvkK7vSE8es&feature=youtu.be
we can't help if it is not a lmlm.
How is it different? I just need to know how to change camera position.
well, we'd ask for a copy of your mod to inspect it fully using lucas' tools..
Well, i can share my code of apu talking to bart.

SelectMission("m7sd");

SetMissionResetPlayerOutCar("m7_apu_start", "m5_carstart");
SetDynaLoadData("l5z4.p3d;l5r3.p3d;l5r4.p3d;");

UsePedGroup(2);

SetMissionStartCameraName( "mission7camShape" );
SetMissionStartMulticontName( "mission7cam" );
SetAnimatedCameraName( "mission7camShape" );
SetAnimCamMulticontName( "mission7cam" );

AddStage(0);
SetMaxTraffic(5);
SetStageMessageIndex(226);
SetHUDIcon( "bart" );
AddObjective("talkto");
AddNPC("bart", "m7_bart_sd");

AddStageVehicle("bart_v","m7_carstart","NULL","HardRace\AI_2nd.con");
AddStageVehicle("famil_v","zumpicka","NULL","HardRace\AI_2nd.con");
AddObjectiveNPCWaypoint( "bart", "m7_bart_walk1" );
SetTalkToTarget("bart", 0, -0.5);
CloseObjective();
CloseStage();

AddStage(1);
AddObjective("dialogue");
RemoveNPC("snake");
SetPresentationBitmap( "art/frontend/dynaload/images/mis05_07.p3d" );
AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
AmbientAnimationRandomize( 0, 0 );
SetConversationCam( 0, "pc_far" );
SetConversationCam( 1, "npc_far" );
SetConversationCam( 2, "pc_far" );
SetConversationCam( 3, "npc_far" );
SetConversationCam( 4, "pc_far" );
SetConversationCam( 5, "npc_far" );
AddAmbientNpcAnimation( "none" );
AddAmbientNpcAnimation( "dialogue_yes" );
AddAmbientNpcAnimation( "none" );
AddAmbientNpcAnimation( "dialogue_shaking_fist" );
AddAmbientNpcAnimation( "none" );
AddAmbientNpcAnimation( "dialogue_hands_on_hips" );
AddAmbientPcAnimation( "dialogue_hands_in_air" );
AddAmbientPcAnimation( "none" );
AddAmbientPcAnimation( "dialogue_no" );
AddAmbientPcAnimation( "none" );
AddAmbientPcAnimation( "dialogue_no" );
AddAmbientPcAnimation( "none" );
SetCamBestSide( "m5_carstart" );
SetDialogueInfo("apu","bart","museum",0);
SetDialoguePositions("m7_bart_walk1","m7_apu_start","m7_carstart");
CloseObjective();
CloseStage();

CloseMission();

This is your problem.
SetMissionStartCameraName( "mission7camShape" );
SetMissionStartMulticontName( "mission7cam" );
SetAnimatedCameraName( "mission7camShape" );
SetAnimCamMulticontName( "mission7cam" );
Your mission is using the cameras from the original L5M7, which is over by the Legitimate Businessman's Social Club. Comment these lines with "//" and you won't have this issue.
The issue with the camera during the conversation however, is not related to this. If I had to guess, I'd imagine it was related to using m5_carstart in SetCamBestSide().

You also really should be using the Launcher for a number of reasons, including faster load times and not having to reinstall the game if you mess something up.
Thank a lot. i will try the launcher, but it seems to be harder than this :D is there any YT tutorial or something?

Again thanks.
You're in luck. @RBD recently started making a series of tutorials and you can currently find the first two installments on this thread.
The Basic Mod Template he refers to is linked in the description of the first video.