OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 23 Apr 2005, 09:38:19
-
okay i have an error in this description.ext something about the max score but it worked ok when i moved the cfgIdentities class to the top aswell my player doesnt have the name brain sheplan he has mt user name
and i have this in his init field
this setidentity "BS"
So if anyone knows what wrong with either of these two things
class CfgIdentities
{
class BS
{
name = "Brian Sheplan";
face = "Johan Way";
glasses = "none";
speaker = "Rob";
pitch = 1;
};
};
class CfgSounds
{
sounds[] = { };
class clipnotes
{
name = "clipnotes";
sound[] = {"clipnotes.ogg", db, 1.0};
titles[] =
{
0, $STRM_clipnotes
};
};
class cockgear
{
name = "cockgear";
sound[] = {"cockgear.ogg", db, 1.0};
titles[] =
{
0, $STRM_cockgear
};
};
class emptymen
{
name = "emptymen";
sound[] = {"emptymen.ogg", db, 1.0};
titles[] =
{
0, $STRM_emptymen
};
};
class reloadplan
{
name = "reloadplan";
sound[] = {"reloadplan.ogg", db, 1.0};
titles[] =
{
0, $STRM_reloadplan
};
};
};
class CfgRadio
{
sounds[] = { };
class units
{
name = "units";
sound[] = {"units.ogg", db-40, 1.0};
title = $STRM_units;
};
class out
{
name = "out";
sound[] = {"out.ogg", db-40, 1.0};
title = $STRM_out;
};
class defeat
{
name = "defeat";
sound[] = {"defeat.ogg", db-40, 1.0};
title = $STRM_defeat;
};
class great
{
name = "great";
sound[] = {"great.ogg", db-40, 1.0};
title = $STRM_great;
};
onloadmission = "In Saint Pierre";
debriefing = 1;
showGPS = 1;
showMap = 1;
minScore = 850
avgScore = 1300
maxScore = 2700
-
1 - class CfgRadio lacks a closing bracket ("};") just above onLoadMission
2 - the two sounds[] arrays in CfgSounds and CfgRadio should, IIRC, list the sounds/radio messages defined.
E.g in CfgSounds:
...
sounds[] = {clipnotes, cockgear, emptymen, reloadplan };
...
and likewise for CfgRadio.