Description.ext: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
m (→‎Miscellaneous: adding multiplayer)
Line 52: Line 52:
===Miscellaneous===
===Miscellaneous===


'''disableAI''' = false/true
'''[[disableAI]]''' = false/true


Removes all playable units which do not have a human player.
Removes all playable units which do not have a human player.


'''ShowGPS''' = 0;
'''[[ShowGPS]]''' = 0;


Enables/Disables the GPS
Enables/Disables the GPS
debriefing = 0;
Defines if the debreifing is shown or not.
'''[[showCompass]]'''= 0;
'''[[showMap]]''' = 0;
'''[[showNotepad]]''' = 0;
'''[[showWatch]]''' = 0;
===Multiplayer===
'''TitleParam1''' and '''TitleParam2''' are multiplayer options. These options are seen in the lobby of a multiplayer game. These options can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches.
titleParam1 = "";
valuesParam1[] = {};
defValueParam1 = ;
textsParam1[] = {"Unlimited", "5 min", "10 min", "15 min", };
titleParam2 = "Score to win:";
valuesParam2[] = {10000, 5, 7, 10, 15, 20, 25, 30};
defValueParam2 = 5;
textsParam2[] = {"Unlimited", 5, 7, 10, 15, 20, 25, 30};

Revision as of 02:14, 31 May 2006


Introduction

The description.ext is a text file located in the root of the mission folder which will allow you to define many things in your mission. Each entry must be given a new line in the description.ext. It has even been said that a ; is required after each line but this isn't true of the 1.97 version and maybe required in the future. Certainly adding the semi colon won't hurt or effect your mission.


OnLoad

OnLoadMission et al

This displays a message whilst the mission is loading. Note that a mission that takes very little time to load will only display the message for a short time. Care should be taken to see whether your message is readable in that timeframe.

Example:

OnLoadMission = "YourMessage";
OnLoadIntro = "YourMessage";

OnLoadIntroTime et al

This allows you to define whether you will see the time and date displayed whilst the mission loads. Variables are True or False.

Example:

OnLoadIntroTime = False;
OnLoadMissionTime = False;


Score

This feature allows you to set scores for your mission. Score is related to the star display in the debriefing screen.

Example:

MinScore = 0;
AvgScore = 1800;
MaxScore = 7500;


Respawn Options

respawn = value;

Value can be:

  • 1 No respawn
  • 2 Respawn as a seagull
  • 3 Is base respawn (at marker respawn_west, respawn_east, respawn_guerrila (sic!) or respawn_civilian)
  • 4 Respawn in your group as long as there are AI units available

respawndelay=TIME;

Respawn delay is in seconds.

Sounds

Miscellaneous

disableAI = false/true

Removes all playable units which do not have a human player.

ShowGPS = 0;

Enables/Disables the GPS

debriefing = 0;

Defines if the debreifing is shown or not.

showCompass= 0;

showMap = 0;

showNotepad = 0;

showWatch = 0;

Multiplayer

TitleParam1 and TitleParam2 are multiplayer options. These options are seen in the lobby of a multiplayer game. These options can be useful for setting time limits and score limits in such games as Capture the Flag and Death Matches.

titleParam1 = "";

valuesParam1[] = {};

defValueParam1 = ;

textsParam1[] = {"Unlimited", "5 min", "10 min", "15 min", };


titleParam2 = "Score to win:";

valuesParam2[] = {10000, 5, 7, 10, 15, 20, 25, 30};

defValueParam2 = 5;

textsParam2[] = {"Unlimited", 5, 7, 10, 15, 20, 25, 30};