//Hitman Edited by SCM
case "Hit_start":
SetEnterLocationQuest("Conceicao_tavern", "Hit_start_check", 0);
chrEnableReloadLocator("Muelle_town_01", "Reload21", 0);
chrEnableReloadLocator("Greenford_town", "reload5", 0);
chrEnableReloadLocator("Conceicao_town", "reload15", 0);
chrEnableReloadLocator("Hit_house", "Reload2", 0); //SCM
chrEnableReloadLocator("Hit_study", "Reload1", 0); //SCM
chrEnableReloadLocator("Hit_study", "Reload2_back", 0); //SCM
chrEnableReloadLocator("Hit_passage", "Reload10", 0); //SCM
// NK -->
PChar.quest.Hit_Rumor.win_condition.l1 = "rank";
PChar.quest.Hit_Rumor.win_condition.l1.character = Pchar.id;
PChar.quest.Hit_Rumor.win_condition.l1.value = 5;
PChar.quest.Hit_Rumor.win_condition.l1.operation = ">=";
PChar.quest.Hit_Rumor.win_condition = "Hit_Rumor";
break;
case "Hit_Rumor":
SetRumourState("Hitman_start", true); // NK <--
break;
case "Hit_start_check":
if(makeint(PChar.rank) >= 5)
{
SetRumourState("Hitman_start", false); // NK
StartQuestMovie(true, false, false);TrackQuestMovie("start","Hit_start_check");
bDisableFastReload = 1;
ChangeCharacterAddressGroup(CharacterFromID("Ambroz Bricenos"), "Conceicao_tavern", "goto", "goto4");
ChangeCharacterAddressGroup(CharacterFromID("Mateus Santos"), "Hit_house", "goto", "goto7"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Desiree' Muerte"), "Hit_house", "goto", "goto3"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug2"), "Hit_house", "goto", "goto4"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug3"), "Hit_house", "goto", "goto5"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug4"), "Hit_house", "goto", "goto1"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug5"), "Hit_house", "goto", "goto9"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug6"), "Hit_house", "goto", "goto6"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug7"), "Hit_house", "goto", "goto2"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug8"), "Hit_house", "goto", "goto8"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Thug9"), "Hit_passage", "sit", "sit1"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Camille Leone"), "Hit_passage", "goto", "goto9"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Pris1"), "Hit_passage", "goto", "goto1"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Pris2"), "Hit_passage", "goto", "goto2"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Pris3"), "Hit_passage", "goto", "goto3"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Pris4"), "Hit_passage", "goto", "goto4"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Geffrey Bampfylde"), "Hit_house1", "goto", "goto6"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Bucho"), "Hit_house1", "goto", "goto1"); //SCM
ChangeCharacterAddressGroup(CharacterFromID("Amerigo Vieira"), "Hit_house2", "goto", "goto4");
LAi_SetImmortal(CharacterFromID("Ambroz Bricenos"), 1);
LAi_SetImmortal(CharacterFromID("Mateus Santos"), 1);
LAi_SetImmortal(CharacterFromID("Desiree' Muerte"), 1); //SCM
LAi_SetImmortal(CharacterFromID("Thug2"), 1);
LAi_SetImmortal(CharacterFromID("Thug3"), 1);
LAi_SetImmortal(CharacterFromID("Thug9"), 1);
LAi_SetImmortal(CharacterFromID("Camille Leone"), 1);
LAi_SetImmortal(CharacterFromID("Geffrey Bampfylde"), 1);
LAi_SetImmortal(CharacterFromID("Bucho"), 1);
LAi_SetImmortal(CharacterFromID("Pepin Bertillon"), 1);
LAi_SetImmortal(CharacterFromID("Bertillon's guard1"), 1);
LAi_SetImmortal(CharacterFromID("Bertillon's guard2"), 1);
LAi_SetImmortal(CharacterFromID("Amerigo Vieira"), 1);
LAi_SetImmortal(CharacterFromID("Vito Leone"), 1);
LAi_SetWarriorType(CharacterFromID("Mateus Santos"));
LAi_SetWarriorType(CharacterFromID("Desiree' Muerte")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug2"));
LAi_SetWarriorType(CharacterFromID("Thug3")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug4")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug5")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug6")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug7")); //SCM
LAi_SetWarriorType(CharacterFromID("Thug8")); //SCM
LAi_warrior_SetStay(CharacterFromID("Mateus Santos"), 1);
LAi_warrior_SetStay(CharacterFromID("Desiree' Muerte"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug2"), 1);
LAi_warrior_SetStay(CharacterFromID("Thug3"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug4"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug5"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug6"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug7"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Thug8"), 1); //SCM
LAi_warrior_SetStay(CharacterFromID("Camille Leone"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Mateus Santos"), 1);
LAi_warrior_DialogEnable(CharacterFromID("Desiree' Muerte"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug2"), 1);
LAi_warrior_DialogEnable(CharacterFromID("Thug3"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug4"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug5"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug6"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug7"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug8"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Thug9"), 1); //SCM
LAi_warrior_DialogEnable(CharacterFromID("Camille Leone"), 1); //SCM
//LAi_group_MoveCharacter(CharacterFromID("Mateus Santos"), "santos_group");
//LAi_group_MoveCharacter(CharacterFromID("Desiree' Muerte"), "santos_group"); //SCM
LAi_group_MoveCharacter(CharacterFromID("Thug2"), "santos_group");
//LAi_group_MoveCharacter(CharacterFromID("Thug3"), "santos_group");
LAi_group_MoveCharacter(CharacterFromID("Thug4"), "santos_group"); //SCM
LAi_group_MoveCharacter(CharacterFromID("Thug5"), "santos_group"); //SCM
LAi_group_MoveCharacter(CharacterFromID("Thug6"), "santos_group"); //SCM
LAi_group_MoveCharacter(CharacterFromID("Thug7"), "santos_group"); //SCM
LAi_group_MoveCharacter(CharacterFromID("Thug8"), "santos_group"); //SCM
LAi_group_SetRelation("santos_group", "santos_group", LAI_GROUP_FRIEND);
LAi_SetHuberType(characterfromID("Thug9")); //SCM
LAi_SetActorType(CharacterFromID("Ambroz Bricenos"));
Characters[GetCharacterIndex("Ambroz Bricenos")].dialog.currentnode = "wetjob";
LAi_ActorDialog(CharacterFromID("Ambroz Bricenos"), PChar, "", 15.0, -1);
}
break;
case "Hit_END":
Characters[GetCharacterIndex("Ambroz Bricenos")].Location = "none";
Characters[GetCharacterIndex("Mateus Santos")].Location = "none";
Characters[GetCharacterIndex("Thug2")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug4")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug5")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug6")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug7")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug8")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug9")].Location = "none"; //SCM
Characters[GetCharacterIndex("Pris1")].Location = "none"; //SCM
Characters[GetCharacterIndex("Pris2")].Location = "none"; //SCM
Characters[GetCharacterIndex("Pris3")].Location = "none"; //SCM
Characters[GetCharacterIndex("Pris4")].Location = "none"; //SCM
Characters[GetCharacterIndex("Camille Leone")].Location = "none"; //SCM
Characters[GetCharacterIndex("Geffrey Bampfylde")].Location = "none";
Characters[GetCharacterIndex("Bucho")].Location = "none";
Characters[GetCharacterIndex("Pepin Bertillon")].Location = "none";
Characters[GetCharacterIndex("Bertillon's guard1")].Location = "none";
Characters[GetCharacterIndex("Bertillon's guard2")].Location = "none";
Characters[GetCharacterIndex("Amerigo Vieira")].Location = "none";
Characters[GetCharacterIndex("Vito Leone")].Location = "none";
chrEnableReloadLocator("Muelle_town_01", "Reload21", 0);
chrEnableReloadLocator("Greenford_town", "reload5", 0);
chrEnableReloadLocator("Conceicao_town", "reload15", 0);
PChar.quest.Hitman = "end";
PChar.quest.Hitman.over = "yes";
CloseQuestHeader("Hitman");
break;
case "Hit_END_timer":
Characters[GetCharacterIndex("Ambroz Bricenos")].Location = "none";
Characters[GetCharacterIndex("Mateus Santos")].Location = "none";
Characters[GetCharacterIndex("Desiree' Muerte")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug2")].Location = "none";
Characters[GetCharacterIndex("Thug3")].Location = "none";
Characters[GetCharacterIndex("Thug4")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug5")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug6")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug7")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug8")].Location = "none"; //SCM
Characters[GetCharacterIndex("Thug9")].Location = "none"; //SCM
Characters[GetCharacterIndex("Camille Leone")].Location = "none"; //SCM
Characters[GetCharacterIndex("Geffrey Bampfylde")].Location = "none";
Characters[GetCharacterIndex("Bucho")].Location = "none";
Characters[GetCharacterIndex("Pepin Bertillon")].Location = "none";
Characters[GetCharacterIndex("Bertillon's guard1")].Location = "none";
Characters[GetCharacterIndex("Bertillon's guard2")].Location = "none";
Characters[GetCharacterIndex("Amerigo Vieira")].Location = "none";
Characters[GetCharacterIndex("Vito Leone")].Location = "none";
chrEnableReloadLocator("Muelle_town_01", "Reload21", 0);
chrEnableReloadLocator("Greenford_town", "reload5", 0);
chrEnableReloadLocator("Conceicao_town", "reload15", 0);
PChar.quest.Hitman = "end";
//Add journal entry
AddQuestRecord("Hitman", 21);
CloseQuestHeader("Hitman");
break;
case "Hit_timer1":
PChar.quest.Hit_timer1.win_condition.l1 = "Timer";
PChar.quest.Hit_timer1.win_condition.l1.date.day = GetAddingDataDay(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer1.win_condition.l1.date.month = GetAddingDataMonth(0, 3, 0);
PChar.quest.Hit_timer1.win_condition.l1.date.year = GetAddingDataYear(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer1.win_condition = "Hit_END_timer";
break;
case "Hit_timer2":
PChar.quest.Hit_timer2.win_condition.l1 = "Timer";
PChar.quest.Hit_timer2.win_condition.l1.date.day = GetAddingDataDay(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer2.win_condition.l1.date.month = GetAddingDataMonth(0, 3, 0);
PChar.quest.Hit_timer2.win_condition.l1.date.year = GetAddingDataYear(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer2.win_condition = "Hit_END_timer";
break;
case "Hit_timer3":
PChar.quest.Hit_timer3.win_condition.l1 = "Timer";
PChar.quest.Hit_timer3.win_condition.l1.date.day = GetAddingDataDay(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer3.win_condition.l1.date.month = GetAddingDataMonth(0, 3, 0);
PChar.quest.Hit_timer3.win_condition.l1.date.year = GetAddingDataYear(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer3.win_condition = "Hit_END_timer";
break;
case "Hit_timer4":
PChar.quest.Hit_timer4.win_condition.l1 = "Timer";
PChar.quest.Hit_timer4.win_condition.l1.date.day = GetAddingDataDay(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer4.win_condition.l1.date.month = GetAddingDataMonth(0, 3, 0);
PChar.quest.Hit_timer4.win_condition.l1.date.year = GetAddingDataYear(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer4.win_condition = "Hit_END_timer";
break;
case "Hit_timer5":
PChar.quest.Hit_timer5.win_condition.l1 = "Timer";
PChar.quest.Hit_timer5.win_condition.l1.date.day = GetAddingDataDay(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer5.win_condition.l1.date.month = GetAddingDataMonth(0, 3, 0);
PChar.quest.Hit_timer5.win_condition.l1.date.year = GetAddingDataYear(0, 3, 0); //TALISMAN was 0,1,0 which closes quest when player exits Santos house right after being given task
PChar.quest.Hit_timer5.win_condition = "Hit_END_timer";
break;
case "Hit_refused_Ambroz":
// dialog exit from Ambroz
DeleteEnterLocationQuest("Conceicao_tavern", "Hit_start_check");
LAi_ActorGoToLocation(CharacterFromID("Ambroz Bricenos"), "reload", "reload1", "none", "", "", "Hit_refused_Ambroz_end", 3.0);
break;
case "Hit_refused_Ambroz_end":
EndQuestMovie();TrackQuestMovie("end","Hit_refused_Ambroz_end");
bDisableFastReload = 0;
//END QUEST
LAi_QuestDelay("Hit_END", 0.0);
break;
case "Hit_start1":
// dialog exit from Ambroz
DeleteEnterLocationQuest("Conceicao_tavern", "Hit_start_check");
PChar.quest.Hitman = "goto_mateus";
LAi_ActorGoToLocation(CharacterFromID("Ambroz Bricenos"), "reload", "reload1", "Conceicao_shore_02", "goto", "citizen06", "Hit_start2", 3.0);
chrEnableReloadLocator("Muelle_town_01", "reload21", 1);
//Add journal entry
SetQuestHeader("Hitman");
AddQuestRecord("Hitman", 1);
break;
case "Hit_start2":
EndQuestMovie();TrackQuestMovie("end","Hit_start2");
bDisableFastReload = 0;
LAi_SetWarriorType(CharacterFromID("Ambroz Bricenos"));
LAi_warrior_SetStay(CharacterFromID("Ambroz Bricenos"), 1);
LAi_warrior_DialogEnable(CharacterFromID("Ambroz Bricenos"), 1);
PChar.quest.Hit_start3.win_condition.l1 = "location";
PChar.quest.Hit_start3.win_condition.l1.location = "Hit_house";
PChar.quest.Hit_start3.win_condition = "Hit_start3";
break;
case "Hit_start3":
StartQuestMovie(true, false, false);TrackQuestMovie("start","Hit_start3");
LAi_SetActorType(PChar);
Characters[GetCharacterIndex("Mateus Santos")].dialog.currentnode = "start";
LAi_ActorDialog(PChar, CharacterFromID("Mateus Santos"), "", 10.0, -1);
break;