Thread: [DF2] Df2mis.bin
View Single Post
  #5  
Old 01-09-2021, 08:32 AM
Guest001 is offline Guest001
Registered User

Join Date: Aug 2008
Posts: 4,971

Hope this helps

I just shortened this Campaign Mission List - Sourced from BHD script - I've tested it in DFX2 where it worked OK using Campaign.def but I haven't tested it in DF2.

Make a file called Campaign.def or DF2MIS.BIN with your modified script inside and place it in the root folder of the game.

The original script loads 16 missions so this may be more suitable for just a few custom campaign maps.
The last mission should unlock when the campaign is completed
Remove flag PLAY_BINK and param1 CustomFileName01.bik to disable video into

Code:
//Flags:
//
//FINAL_MIS - last mission of the campaign   | prefix FINAL_ may need experimentation FINAL_CAMP is used below
//ALWAYS_AVAILABLE - Always available from the campaign list until completed, then it goes to the Instant Action list
//CHECKPOINT - All missions before this must be completed before this one can be selected. 
//NL Note: (Normally, the code only checks to see if the mission before it was completed before it becomes available.)
//
BEGIN MISSION
	filename	CustomMissionName01.bms
	campaign	1
	mission		01
	flags		ALWAYS_AVAILABLE
END

BEGIN MISSION
	filename	CustomMissionName02.bms
	campaign	1
	mission		02
	flags		CHECKPOINT PLAY_BINK
	param1		CustomFileName01.bik
END

BEGIN MISSION
	filename	CustomMissionName03.bms
	campaign	1
	mission		03
END

BEGIN MISSION
	filename	CustomMissionName04.bms
	campaign	1
	mission		04
	flags		FINAL_CAMP
END

BEGIN MISSION
	filename	CustomMissionName05.bms
	campaign	1
	mission		05
END

Last edited by Guest001; 01-09-2021 at 08:51 AM.
Reply With Quote