Forum Mod Bakery Docs

Please give me a mini training on creating missions in the configs of the mission itself (I need to understand this as a professional)

Posted in Support
Please login to contribute to the conversation.
You only ever have to insert anything into meta.ini if it's a hack which adds something completely new to the game, such as extra characters.

Also, Gordon, what's with the Russian text? I thought this guy could speak English.
гордон я не понимаю когда addcondution и там пишется race и ещё что то я меняю на destroycars и вылетает почему или надо поменять на damage
[deleted user]
5 yrs ago (Statistics)
@DeepFriedBurger I doubt he understands what I've said numerous times. Same goes for a request to speak English

@NIKITA6378, Destroycars - это задача из AdditionalScriptFunctionality, AddCondition - дословно переводится как "Добавить Условие", соответственно, Условие не равно Задаче, и поэтому игра вылетает. Damage - да, условие

Destorycars - is an objective from ASF, AddCondition is literally translated as "Add Condition", therefore, condition != objective, that's why the game crashes. Damage - yeah, a condition
вот левел 02 мисия 1 скинер надо сделать так чтобы его надо было уничтожить то есть damage
SetMaxTraffic(2);
SetHUDIcon( "trynsave" );
SetStageMessageIndex(50);
AddObjective("goto", "both");
TurnGotoDialogOff();
AddStageVehicle("skinn_v","m1_skinn_carstart1","NULL", "Missions\level02\M1Chase.con", "skinner");
SetDestination("skinner_spawn", "carsphere");
CloseObjective();
SetStageTime(60);
AddCondition("timeout");
//SetHitNRun();
CloseCondition();
SetCompletionDialog("charlie","skinner");
CloseStage();

AddStage(1);
ShowStageComplete();
SetHUDIcon( "skinn_v" );
SetStageMessageIndex(51);
SetStageTime(980);
ActivateVehicle("skinn_v","NULL","chase");
AddObjective("losetail");
AddNPC("jimbo","m1_jimbo_trynsave");
SetObjTargetVehicle("skinn_v");
SetObjDistance(150);
CloseObjective();
AddCondition("timeout");
//SetHitNRun();
CloseCondition();
SetCompletionDialog("gator");
CloseStage();

AddStage(2);
ShowStageComplete();
SetStageMessageIndex(50);
SetHUDIcon( "trynsave" );
AddObjective("goto", "both");
AddNPC("jimbo","m1_jimbo_trynsave");
SetDestination("m1_try_n_save", "carsphere");
SetCollectibleEffect("wrench_collect");
CloseObjective();
AddStageTime(60);
AddCondition("timeout");
//SetHitNRun();
CloseCondition();
CloseStage();

AddStage(3);
SetMaxTraffic(5);
SetHUDIcon( "jimbo" );
SetStageMessageIndex(149);
SetStageMusicAlwaysOn();
AddObjective("talkto");
AddNPC("jimbo","m1_jimbo_trynsave");
AddObjectiveNPCWaypoint( "jimbo", "m1_jimbo_walk1" );
AddObjectiveNPCWaypoint( "jimbo", "m1_jimbo_walk2" );
AddObjectiveNPCWaypoint( "jimbo", "m1_jimbo_walk3" );
SetTalkToTarget("jimbo", 0, -0.5); // 0 - eclamation, 1 is gift, with optional hieight offset
CloseObjective();
CloseStage();

AddStage("final");
AddObjective("dialogue");
SetCamBestSide("m1_bestside2");
AmbientAnimationRandomize( 1, 0 ); // ( pc=0, npc=1) (nonrandom=0, random=1)
AmbientAnimationRandomize( 0, 0 );
SetConversationCam( 0, "npc_far" );
SetConversationCam( 1, "pc_near" );
AddAmbientNpcAnimation( "dialogue_no" );
AddAmbientNpcAnimation( "dialogue_cross_arms" );
//AddAmbientNpcAnimation( "dialogue_thinking" );
AddAmbientPcAnimation( "none" );
AddAmbientPcAnimation( "dialogue_no" );
SetCamBestSide("m1_bestside2");
SetDialogueInfo("bart","jimbo","finger",0);
SetDialoguePositions("m1_jimbo_trynsave","m1_jimbo_walk2","m1_jimbo_walk1",1);
CloseObjective();
CloseStage();

CloseMission();


//dialogue_hands_in_air
//dialogue_hands_on_hips
//dialogue_scratch_head
//dialogue_shaking_fist
//dialogue_thinking
//dialogue_yes
//dialogue_no
//dialogue_cross_arms
//dialogue_open_arm_hand_gesture
//dialogue_shake_hand_in_air
Gordon CMB:

Ok. Thanks for the translations.
гордон прочитай сверху скрипты миссии
[deleted user]
5 yrs ago (Statistics)
Ладно, объясню еще один раз, задача "destroy" отвечает за уничтожение автомобиля, "damage" - УСЛОВИЕ, при котором миссия будет провалена, если автомобиль ИГРОКА будет уничтожен
Соответственно, AddObjective("destroy");, никаких "damage" тут быть не должно

Это все, больше повторять не буду, надеюсь вы поняли

Ok gonna explain one more time. Objective "destroy" is used to destroy a vehicle, "damage" - a CONDITION used to fail the mission if the player destroys THEIRS vehicle.
Accordingly: AddObjective("destroy"); "damage" isn't supposed to be here

That's it not gonna repeat that again, hope you understand
And NIKITA creates a forum asking where to find mods.
а можно в одной папке с моим модом ( с файлами игры ) можно ли эти файлы mfk вставить больше 1 уровня сразу 2 4 уровня
[deleted user]
5 yrs ago (Statistics)
Уровней в игре всего 7, больше 7 нельзя

There's only 7 levels in game, you can't go further than that