Operation Flashpoint Description.ext Tutorial

Downloadable version

Mission description.ext file
// Description.ext (in the Mission directory) file format description
// OFP Editing Center lustypooh.tripod.com

//

// This file describes the format of the description.ext file which resides

// in each mission's directory.

// Edited by pcverden

INDEX:

1. Information about what the character is allowed to use ingame. (Ex. Map)

2. Extra information about the mission (Ex. scoring)

3. Information about the person. (Ex. What face.)

4. Weapons in the game.

4a. NATO weapons

4b. Russian weapons

4c. Resitance weapons.

5. Ammunition to the weapons

5a. NATO Ammo

5b. Russian Ammo

5c. Resitance Ammo

6. How to add sound to the game.


-----------------------------------------------------------------

1. INFORMATION ABOUT WHAT THE CHARACTER IS ALLOWED TO USE INGAME

-----------------------------------------------------------------

// Indicates whether or not to display the watch during the briefing 0 = no, 1 = yes

showWatch = 1

// Indicates whether or not to display the compass during the briefing 0 = no, 1 = yes

showCompass = 1

// Indicates whether or not to display the notepad during the briefing 0 = no, 1 = yes

showNotepad = 1

// Indicates whether or not to display the global positioning system during the briefing 0 = no, 1 = yes

showGPS = 1

// Indicates whether or not to display the map during the briefing 0 = no, 1 = yes

showMap = 1

Example:

showMap = 1

showWatch = 1

showCompass = 1

showNotepad = 1

showGPS = 1

---------------------------------------

2. EXTRA INFORMATION ABOUT THE MISSION

---------------------------------------

// Used for scoring the mission.

minScore=200

avgScore=2500

maxScore=6000

// Title that appears on screen in briefing

onLoadIntro="Eric Stratton. Rush Chairman. Damn glad to meet ya"

// Title that appears on screen at beginning of mission

onLoadMission="Central part of Malden, near the camp in Lolisse"

// Indicates whether or not the debriefing window appears at end of the mission 0 = no, 1= yes

debriefing = 0

// DOES ANYONE KNOW WHAT THIS MEANS?

onLoadIntroTime = true

--------------------------------

3. INFORMATION ABOUT THE PERSON

--------------------------------

// Name of this individual

// This name appears on the screen when the associated character does a

// builtin action (for example..telling others to dismount)

Example:

name = "David Armstrong";

// Face texture to use for this character

// Values are :

//"face1"=Peter P.

//"face2"=Victor B.

//"face3"=Bohous

//"face4"=Mirek

//"face5"=Peter S.

//"face6"=Charles

//"face7"=Peter V.

//"face8"=Richard B.

//"face9"=Charles M.

//"face10"=Ian O'Hara

//"face11"=Vojta N.

//"face12"=Adam B.

//"face13"=Peter B.

//"face14"=Francesco F.

//"face15"=Bill O.

//"face16"=Colin F.

//"face17"=Darren I.

//"face18"=Eric J.

//"face19"=Phill D.

//"face20"=Graham U.

//"face21"=Henry G.

//"face22"=Ivan B.

//"face23"=Ghulam K.

//"face24"=Kevin B.

//"face25"=Robert

//"face26"=Martin

//"face27"=John A.

//"face28"=Bill G.

//"face29"=Peter O.

//"face30"=Henry H.

//"face31"=William G.

//"face32"=Arnold T.

//"face33"=Michael H.

//"face34"=John Fox

//"face35"=George MacArthur

//"face36"=Peter Sun

//"face37"=Robert S.

//"face38"=John Way

//"face39"=Jack C.

//"face40"=J.C.

//"face41"=Mel D.

//"face42"=John M.

//"face43"=Jirka M.

//"face44"=Honza K.

//"face45"=John A.

//"face46"=Ondrey N.

//"face47"=Ondrey S.

//"face48"=Gabriel K.

//"face49"=Oliver S.

//"face50"=Radan D.

//"face51"=George J.

//"face52"=Ota B.

//"custom"=custom face

Example:

face = "face21"

// Wearing glasses?

// Values are :

// "none" = no glasses

// "spectacles" = Glasses

// "sunglasses" = self explained

Example:

glasses = "none";

// Voice to use for this character

// Values are :

// "Adam"

//"Dan"

//"George"

//"Greg"

//"John"

//"Jonah"

//"Marc"

//"Patrick"

//"Paul"

//"Peter"

//"Rich"

//"Rob"

//"Ted"

//"Tom"

Example:

speaker = "Adam"; Adam

// Pitch of voice

// 1.0 = normal pitch

// < 1.0 = deeper voice

// > 1.0 = higher voice

Example:

pitch = 1.00;

};

};

// This class allows you to provide some uniqueness to some of the characters in the game.

class CfgIdentities

{

// The class name is referenced in missions.sqm file with setidentify command

class Officer

{

-----------------------

4. WEAPONS IN THE GAME

-----------------------

// This class indicates what weapons to make available to the player in the mission

// briefing. Each subclass is optional. The count field in each subclass indicates

// the number of that weapon to make available.



-----------------

4A. NATO WEAPONS

-----------------

class Weapons

{

class M16 // This is the regular NATO assualt rifle. It is also the most common weapon in Operation Flashpoint for use of NATO forces. Extra info: Single and Burst fire modes.

{

count = 1; // This represents the value of have many of this type of weapons you will get to pick from in the briefing. You need more then one if you intend to give it to more troops.

};

class M16GrenadeLauncher // This is the regular NATO forces assualt rifle with a Grenade Launcher. Extra info: Single, Burst, and Grenade Launcher fire modes.

{

count = 1; // How many do you what?

};

class M4 // The regular NATO forces backup weapon. Used mosly by pilots, driver , gunners, and commanders. Extra info: Single and Full auto fire modes

{

count = 1; // Your wish.

};

class M60 // The machine gun used by NATO forces. Extra info: Full auto fire mode

{

count = 1; // Count them up.

};

class HK // This weapon is used by the Black Ops because it has a silencer. Extra info: Single and Full auto fire modes

{

count = 1; // What to be stealthy.

};

class M21 // This is the NATO forces sniper rifle. Extra info: Single shot fire mode

{

count = 1; //Take your pick.

};

class CarlGustavLauncher // This is the NATO forces anti tank weapon. Extra info: Only has ONE rocket.

{

count = 1; // Here tanky tanky

};

class LAWLauncher // This is the more common rocket launcher used by NATO forces. Extra info: Has three rockets

{

count = 1; // What to destroy something?

};

class AALauncher; // This is NATO's Anti Air Rocket Launcher. Extra info: Only has ONE rocket

{

count = 1; // Who do you want to blow out of the sky?

};

}; // NOTE When you put two }; you are telling the game that there are no more after this point in this subject.


--------------------

4B. RUSSIAN WEAPONS

--------------------

class Weapons

{

class AK74; // This is the regular Russian forces weapon. It is also the most common weapon in Operation Flashpoint for use of Russian forces. Extra info: Single, Burst, and Full auto fire modes.

{

count = 1; // This represents the value of have many of this type of weapons you will get to pick from in the briefing. You need more then one if you intend to give it to more troops.

};

class AK74SU; // The regular Russian forces backup weapon. Used mosly by pilots, driver , gunners, and commanders. Extra info: Single, Burst, and Full auto fire modes.

{

count = 1; // Your wish.

};

class AK74GrenadeLauncher; // This is the regular Russian forces assualt rifle with a Grenade Launcher. Extra info: Single, Burst, Full auto, and Grenade Launcher fire modes.

{

count = 1; // How many do you what?

};

class PK; // The machine gun used by Russian forces. Extra info: Full auto fire mode

{

count = 1; // Count them up.

};

class SVDDragunov; // This is the Russian forces sniper rifle. Extra info: Single shot fire mode

{

count = 1; // Take your pick.

};

class RPGLauncher; // This is the more common rocket launcher used by Russian forces. Extra info: Has three rockets

{

count = 1; // What to destroy something?

};

class AT4Launcher; // This is the Russian forces anti tank weapon. Extra info: Only has ONE rocket.

{

count = 1; // Here tanky tanky

};

class 9K32Launcher; // This is Russian's Anti Air Rocket Launcher. Extra info: Only has ONE rocket

{

count = 1; // Who do you want to blow out of the sky?

};

};

----------------------

4C. RESITANCE WEAPONS

----------------------

class Weapons

{

class AK47CZ; // This weapon is used mostly by the Resistance soldiers. Extra info: Single, Burst, and Full auto fire modes.

{

count = 1; // This represents the value of have many of this type of weapons you will get to pick from in the briefing. You need more then one if you intend to give it to more troops.

};

class AK47; // This is the weapon mostly used by Resistance leader. Extra info: Single, Burst, and Full auto fire modes.

{

count = 1; // Leaders charge.

};

class AK47GrenadeLauncher; // This is the regular Resistance forces assualt rifle with a Grenade Launcher. Extra info: Single, Burst, Full auto, and Grenade Launcher fire modes.

{

count = 1; // How many do you what?

};

class kozlice; // This is the addon Shotgun. Extra info: Single (ball) and burst (shell)

{

count = 1; // What is up with the resitance?

};

};

------------------------------

5. AMMUNITION TO THE WEAPONS

------------------------------

// This class indicates what weapon magazines to make available to the player in the mission

// briefing. Each subclass is optional. The count field in each subclass indicates

// the number of that magazine to make available.

--------------

5A. NATO AMMO

--------------

class Magazines

{

class M16 // Ammo for the M16 and M16GrenadeLauncher

{

count = 1; // How many clips do you what to have in the briefing selection.

};

class GrenadeLauncher // Ammo for the Grenade Launcher under the M16GrenadeLauncher.

{

count = 1;

};

class M4; // Ammo for the M4 backup gun

{

count = 1;

};

class M60; // Ammo for the M60 machinegun

{

count = 1;

};

class HK; // Ammo for the silenced HK

{

count = 1;

};

class M21; // Ammo for the M21 sniper

{

count = 1;

};

class CarlGustavLauncher; // Ammo for the Anti Tank Rocket Launcher.

{

count = 1;

};

class LAWLauncher; // Ammo for the normal rocket launcher.

{

count = 1;

};

class AALauncher; // Ammo for the Anti Air Rocket Launcher.

{

count = 1;

};

};

------------------

5B. RUSSIAN AMMO

------------------

class Magazines

{

class AK74; // Ammo for the AK74, AK74SU, and AK74GrenadeLauncher

{

count = 1; // How many clips do you what to have in the briefing selection.

};

class GrenadeLauncher; // Ammo for the Grenade Launcher under the AK74GrenadeLauncher.

{

count = 1;

};

class PK; // Ammo for the PK machine gun

{

count = 1;

};

class SVDDragunov; // Ammo for the SVDDragunov sniper rifle

{

count = 1;

};

class RPGLauncher; // Ammo for the RPGLauncher

{

count = 1;

};

class AT4Launcher; // Ammo for the AT4Launcher

{

count = 1;

};

class 9K32Launcher; // Ammo for the AT4Launcher

{

count = 1;

};

};

----------------

RESISTANCE AMMO

----------------

class Magazines

{

class AK47; // Ammo for the AK47, AK47CZ, and the AK47GrenadeLauncher.

{

count = 1; // How many clips do you what to have in the briefing selection.

};

class GrenadeLauncher; // Ammo for the GrenadeLauncher under the AK47GrenadeLauncher

{

count = 1;

};

class kozliceball; // Ammo for the Kozlice

{

count = 1;

class kozliceshell; // Ammo for the Kozlice

{

count = 1;

};

};

--------------------------------

6. HOW TO ADD SOUND TO THE GAME

--------------------------------

// This is rather complicated stuff. If you don't have the hang of Operation Flashpoint yet, learn something else first to give you the ground rules.

// Define sounds in the game.

class CfgSounds

{

// Contains a list of all the .ogg files (without the .ogg extension) which are

// in all of the CfgSounds class instances below.

sounds[] =

{

S02v01, S02v02, S02v03, S02v05, S02v06, S02v07, S02v08, S02v12, S02v13, S02v14,

S02v50

};

// Define a specific sound

// The class name is referenced in the mission.sqm file. (e.g. say

""S02v61"")

class S02v61

{

// Name. Why do some have names and others don't? How is this used?

name = "";

/ Sound file to use

// First entry is sound file to use (from sounds directory)

// Second field?

// Third field? Pitch maybe?

sound[] = {"S02v61.ogg", db-10, 1.0};

// Text String to accompany the sound. Found in stringtable.csv file

// What does multiple entries mean?

titles[] =

{

0, $STRM_S02v61

};

};

}

// Sound effects

class CfgSFX

{

sounds[] = {};

};

// Env sounds

class CfgEnvSounds

{

sounds[] = {};

};

// Radio chatter?

// Same structure as CfgSounds

class CfgRadio

{

// Contains a list of all the .ogg files (without the .ogg extension) which are

// in all of the CfgRadio class instances below.

sounds[] =

{

S02r16, S02r17, S02r18, S02r19, S02r20, S02r21, S02r22, S02r23, S02r24

};

// Class name is referenced in the mission.sqm file. (E.g. sideRadio

""S02r15"")

class S02r15

{

name = "";

// Sound file to use

// First entry is sound file to use (from sounds directory)

// Second field?

// Third entry is the pitch

sound[] = {"S02r15.ogg", db-40, 1.0};

// Text String to accompany the sound. Found in stringtable.csv file

title = $STRM_S02r15;

};

};

// Music

class CfgMusic

{

// Contains a list of all the .ogg files (without the .ogg extension) which are

// in all of the CfgMusic class instances below.

tracks[]=

{

01demo, 05demo, 11demo,

demo1985, democut, demomixdown

};

// Definition for a specific music track

// The class name is referenced in the mission.sqm file. (E.g. track="01demo")

class 01demo

{

// Name. How is this used?

name = "Demo 01";

// Sound file to use

// First entry is sound file to use (from music directory)

// Second field?

// Third entry is the pitch

sound[] = {\music\01demo.ogg, db+0, 1.0};

};

};





-- Link us --




-- Links --






Hosted By







-- © 2002 pcverden and Hans Myraune --