Understanding mission.dat file

Terrain / Theater editing

Moderators: Snake Man, Lone Wolf

Snake Man
Commander-In-Chief
Posts: 9948
Joined: 2000-07-31 22:01:01
Gaming Interests: ArmA, ArmA 2, Falcon 4.0 and OFP.
Editing Interests: All, I (try) to edit everything.
Location: PMC

Understanding mission.dat file

Post by Snake Man »

Understanding mission.dat file. This file can be found on the campaign directory.

RV had no comments on this this, AF has these following header comments for the data values:

AF comments

Code: Select all

// No Type Target skill MissionProfile TargetProfile TargetDesc RouteWP TargetWP MinAlt MaxAlt MissionAlt Separation Loiter Str MinTime MaxTime Escort MinDist Min_Time Caps Flags
And OF has these additional comments for each of the 41 lines of data, each comment represent one line (0 - 41) in the .dat file:

OF comments

Code: Select all

// AMIS_NONE
// AMIS_BARCAP
// AMIS_BARCAP2
// AMIS_HAVCAP
// AMIS_TARCAP
// AMIS_RESCAP
// AMIS_AMBUSHCAP
// AMIS_SWEEP
// AMIS_ALERT
// AMIS_INTERCEPT
// AMIS_ESCORT
// AMIS_SEADSTRIKE
// AMIS_SEADESCORT
// AMIS_OCASTRIKE
// AMIS_INTSTRIKE
// AMIS_STRIKE
// AMIS_DEEPSTRIKE
// AMIS_STSTRIKE
// AMIS_STRATBOMB
// AMIS_FAC
// AMIS_ONCALLCAS
// AMIS_PRPLANCAS
// AMIS_CAS
// AMIS_SAD
// AMIS_INT
// AMIS_BAI
// AMIS_AWACS
// AMIS_JSTAR
// AMIS_TANKER
// AMIS_RECON
// AMIS_BDA
// AMIS_ECM
// AMIS_AIRCAV
// AMIS_AIRLIFT
// AMIS_SAR
// AMIS_ASW
// AMIS_ASHIP
// AMIS_PATROL
// AMIS_RECONPATROL
// AMIS_ABORT
// AMIS_TRAINING
Then there is also mission.gbd file, which seems to use same kind of scripting as trigger files, look here:

AF mission.gbd file:

Code: Select all

#IF_PACKAGE_MISSION_EQ 13 14 15 16 17 18 22 29 36
PACKAGE_MISSION_DESCRIPTION1
PACKAGE_TARGET_NAME P
#ENDIF
#IF_PACKAGE_MISSION_EQ 25 32 34
PACKAGE_MISSION_DESCRIPTION1
SPECIFIC_LOCATION TARGET
#ENDIF
#IF_PACKAGE_MISSION_EQ 20 21 24 33
PACKAGE_MISSION_DESCRIPTION1
THE_LOCATION TARGET
#ENDIF
#IF_PACKAGE_MISSION_EQ 1 2 3 4 5 6 7 8 9 10 11 12 19 23 26 27 28 30 31 35 37 38
PACKAGE_MISSION_DESCRIPTION1
#ENDIF
#ENDSCRIPT
I still have very little understanding of what the mission.dat will do :)

Return to “Terrain / Theater”