News: Welcome back to Bullworth! If you haven't already, you will need to reset your password..


Author Topic: Loading missions in freeroam  (Read 2450 times)

0 Members and 2 Guests are viewing this topic.

Offline boyser

  • Wazzzuuupppp
  • Full Member
  • ***
  • Posts: 176
  • Gender: Male
  • THE REAL G IS ME
    • View Profile
Loading missions in freeroam
« on: January 27, 2016, 11:31:45 AM »
How do I load a mission while playing freeroam
Example:
Like thedreamisdead's selector he starts the outfit while playing freeroam

Offline Rambo7

  • "Awesomely Kick-Ass Troll"
  • Full Member
  • ***
  • Posts: 404
  • Gender: Male
  • #ZAMBess
    • View Profile
    • My ModDB Page
Re: Loading missions in freeroam
« Reply #1 on: January 27, 2016, 11:58:00 AM »
Use this lua code ForceStartMission("Mission Name")
For eg. ForceStartMission("1_B") --This will start Russell in the Hole mission

You can use this for the reference
Code: [Select]
Chapter 1

Mission  .lur  Mission Name
Mission 1 1_01  Welcome to Bullworth Part1
  1_02  Welcome to Bullworth Part2
  1_02A  Welcome to Bullworth Part3
Mission 2 1_02B  This Is Your School Part1
  1_02C  This Is Your School Part2
  1_02_Dummy  Load Error
Mission 3 1_03  The Setup
Mission 4 1_04  Slingshot
Mission 5 1_05  Save Algie
  1_06_01  Load Error
Mission 6 1_07  Defend Bucky
Mission 7 1_08  That Bitch
Mission 8 1_09  The Candidate
Mission 9 1_10  Help Gary
  1_11_Dummy  Reload
  1_11_HallStrt  Reload
Mission 10 1_11x1  Halloween
Mission 11 1_11x2  The Big Prank
  1_11x2unlock  Load Error
Mission 10 1_11xp  Halloween
Mission 12 1_B  Russell in the Hole
Mission 13 1_E01  Peteys Errand
Transition Chapt1Trans Automn

 Chapter 2
Mission 1 2_01  Last Minute Shop
Mission 2 2_02  Comic Klepto (Chapter 3) (Area id not loaded)
  2_02_Conv Load Error
Mission 3 2_03  The Eggs
Mission 4 2_04  Race the Vale 
Mission 5 2_05  Tad's House 
Mission 6 2_06  Movie Tickets
  2_06supplemental Load Error
Mission 7 2_07  Beach Rumble
Mission 8 2_08  Weed Killer
Mission 9 2_09  Boxing Challenge Part1
Mission 10 2_B  Dishonourable Fight Part2
Mission 11 2_G2  Carnival Date
  2_R11_Chad Load Error
Mission 12 2_S06  Panty Raid (Area id not loaded)
  Boxing_util Load Error
Transition Chapt2Trans Winter Interiors/Peds

 Chapter 3
Mission 1 3_01  Jealous Johnny
Mission 2 3_01A  Balls of Snow
Mission 3 3_01C  Nutcrackin'
Mission 4 3_01D  Rudy the Red Nosed Santa
Mission 5 3_02  Bait
Mission 6 3_03  BETA MISSION
Mission 7 3_04  Wrong Part of Town
Mission 8 3_05  The Tenements
Mission 9 3_06  The Rumble
  3_07  Crash
Mission 10 3_08  Christmas is Here
  3_08_Dummy Reload
Mission 11 3_B  Fighting Johnny Vincent
Mission 12 3_G3  Lola's Race
Mission 13 3_R05B  Discreet Deliveries
  3_R08  Load Error
  3_R08_SignUp Reload
  3_R09  Load Error
Mission 14 3_S10  Tagging
Mission 15 3_XM  Miracle on Bullworth St
Transition Chapt3Trans Spring

 Chapter 4
Mission 1 4_01  Paparazzi
Mission 2 4_02  Stronghold Assault
Mission 3 4_03  Defender of the Castle
Mission 4 4_04  Funhouse Fun
Mission 5 4_05  Nice Outfit
Mission 6 4_06  The Big Game
Mission 7 4_B1  Nerd Boss Fight
Mission 8 4_B2  Jock Boss Fight
Mission 9 4_S12  Here's to you Ms. Philips
Transition Chapt4Trans Late Spring

 Chapter 5
Mission 1 2_S07  Small Offences (Chapter 2)
Mission 2 3_S08  Mailbox Armageddon
Mission 3 5_01  Rats in the Library
Mission 4 5_02  Preppies Vandalized
Mission 5 5_03  Finding Johnny Vincent
  5_04  Load Error
Mission 6 5_05  Revenge on Mr. Burton
Mission 7 5_06  Busting In, Part I
Mission 8 5_07a  Busting In, Part II
Mission 9 5_09  Making a Mark
Transition Chapt5Trans Endless Summer

 Chapter 6
Mission 1 3_R07 The Collector CHAP 5
Mission 2 5_B  Showdown at the Plant CHAP 5
Mission 3 6_01  Go See The Principal CHAP 5
6_02    Complete Mayhem Part 1
6_03    Complete Mayhem Part 2
6_B    Final Showdown
  6_Dummy  Reload

 Other
  DodgeballGame Load Error
Mission 1 PhotoFilters (Unknown Photography)
  Wrestling1 Load Error
  Main  Crash
Mission 2 1_GS  The Diary (Chapter 1)
Mission 3 1_S01  Hattrick vs. Galloway (Chapter 2)
  2_R03  Load Error
  2_R03_Conv Load Error
  2_R04  Crash
Mission 4 2_S02  Glass House (Chapter 3)
Mission 5 2_S04  Character Sheets
  2_S05  Load Error
Mission 6 3_S03  Cheating Time
Mission 7 3_S11  Galloway Away
Mission 8 4_G4  Discretion Assured
Mission 9 5_G5  Smash It Up

Offline boyser

  • Wazzzuuupppp
  • Full Member
  • ***
  • Posts: 176
  • Gender: Male
  • THE REAL G IS ME
    • View Profile
Re: Loading missions in freeroam
« Reply #2 on: January 27, 2016, 12:05:22 PM »
Use this lua code ForceStartMission("Mission Name")
For eg. ForceStartMission("1_B") --This will start Russell in the Hole mission

You can use this for the reference
Code: [Select]
Chapter 1

Mission  .lur  Mission Name
Mission 1 1_01  Welcome to Bullworth Part1
  1_02  Welcome to Bullworth Part2
  1_02A  Welcome to Bullworth Part3
Mission 2 1_02B  This Is Your School Part1
  1_02C  This Is Your School Part2
  1_02_Dummy  Load Error
Mission 3 1_03  The Setup
Mission 4 1_04  Slingshot
Mission 5 1_05  Save Algie
  1_06_01  Load Error
Mission 6 1_07  Defend Bucky
Mission 7 1_08  That Bitch
Mission 8 1_09  The Candidate
Mission 9 1_10  Help Gary
  1_11_Dummy  Reload
  1_11_HallStrt  Reload
Mission 10 1_11x1  Halloween
Mission 11 1_11x2  The Big Prank
  1_11x2unlock  Load Error
Mission 10 1_11xp  Halloween
Mission 12 1_B  Russell in the Hole
Mission 13 1_E01  Peteys Errand
Transition Chapt1Trans Automn

 Chapter 2
Mission 1 2_01  Last Minute Shop
Mission 2 2_02  Comic Klepto (Chapter 3) (Area id not loaded)
  2_02_Conv Load Error
Mission 3 2_03  The Eggs
Mission 4 2_04  Race the Vale 
Mission 5 2_05  Tad's House 
Mission 6 2_06  Movie Tickets
  2_06supplemental Load Error
Mission 7 2_07  Beach Rumble
Mission 8 2_08  Weed Killer
Mission 9 2_09  Boxing Challenge Part1
Mission 10 2_B  Dishonourable Fight Part2
Mission 11 2_G2  Carnival Date
  2_R11_Chad Load Error
Mission 12 2_S06  Panty Raid (Area id not loaded)
  Boxing_util Load Error
Transition Chapt2Trans Winter Interiors/Peds

 Chapter 3
Mission 1 3_01  Jealous Johnny
Mission 2 3_01A  Balls of Snow
Mission 3 3_01C  Nutcrackin'
Mission 4 3_01D  Rudy the Red Nosed Santa
Mission 5 3_02  Bait
Mission 6 3_03  BETA MISSION
Mission 7 3_04  Wrong Part of Town
Mission 8 3_05  The Tenements
Mission 9 3_06  The Rumble
  3_07  Crash
Mission 10 3_08  Christmas is Here
  3_08_Dummy Reload
Mission 11 3_B  Fighting Johnny Vincent
Mission 12 3_G3  Lola's Race
Mission 13 3_R05B  Discreet Deliveries
  3_R08  Load Error
  3_R08_SignUp Reload
  3_R09  Load Error
Mission 14 3_S10  Tagging
Mission 15 3_XM  Miracle on Bullworth St
Transition Chapt3Trans Spring

 Chapter 4
Mission 1 4_01  Paparazzi
Mission 2 4_02  Stronghold Assault
Mission 3 4_03  Defender of the Castle
Mission 4 4_04  Funhouse Fun
Mission 5 4_05  Nice Outfit
Mission 6 4_06  The Big Game
Mission 7 4_B1  Nerd Boss Fight
Mission 8 4_B2  Jock Boss Fight
Mission 9 4_S12  Here's to you Ms. Philips
Transition Chapt4Trans Late Spring

 Chapter 5
Mission 1 2_S07  Small Offences (Chapter 2)
Mission 2 3_S08  Mailbox Armageddon
Mission 3 5_01  Rats in the Library
Mission 4 5_02  Preppies Vandalized
Mission 5 5_03  Finding Johnny Vincent
  5_04  Load Error
Mission 6 5_05  Revenge on Mr. Burton
Mission 7 5_06  Busting In, Part I
Mission 8 5_07a  Busting In, Part II
Mission 9 5_09  Making a Mark
Transition Chapt5Trans Endless Summer

 Chapter 6
Mission 1 3_R07 The Collector CHAP 5
Mission 2 5_B  Showdown at the Plant CHAP 5
Mission 3 6_01  Go See The Principal CHAP 5
6_02    Complete Mayhem Part 1
6_03    Complete Mayhem Part 2
6_B    Final Showdown
  6_Dummy  Reload

 Other
  DodgeballGame Load Error
Mission 1 PhotoFilters (Unknown Photography)
  Wrestling1 Load Error
  Main  Crash
Mission 2 1_GS  The Diary (Chapter 1)
Mission 3 1_S01  Hattrick vs. Galloway (Chapter 2)
  2_R03  Load Error
  2_R03_Conv Load Error
  2_R04  Crash
Mission 4 2_S02  Glass House (Chapter 3)
Mission 5 2_S04  Character Sheets
  2_S05  Load Error
Mission 6 3_S03  Cheating Time
Mission 7 3_S11  Galloway Away
Mission 8 4_G4  Discretion Assured
Mission 9 5_G5  Smash It Up
doesn't this let you play the mission?
I don't want to enter the mission I want to load the mission and continue playing freeroam

Offline DaBOSS54320

  • Hero Member
  • ****
  • Posts: 3,398
  • Gender: Female
    • View Profile
Re: Loading missions in freeroam
« Reply #3 on: January 27, 2016, 01:34:41 PM »
The loading of the mission is done in the mission's script, it's not really meant to be loaded seperatly.

Offline Unknownsoldier

  • Hero Member
  • ****
  • Posts: 2,773
    • View Profile
Re: Loading missions in freeroam
« Reply #4 on: January 27, 2016, 04:25:06 PM »
didn't you make a thread about this last year? anyways. this is how to do it and LOAD all the details in the actual mission. Using ForceMissionStart or whatever doesn't always load the full mission. so here is how to fully load a mission script:

ImportScript("\\Test\\Missions\\RunMissionLib.lua")
RunMission("Script_ID")
--change "Script_ID" to the ID such as 5_B or whatever.

now remember, don't paste that importscript at the TOP of the script. Put it in the same function.