Hello there,
My problem is that my identities class won't transfer smoothly to the sounds class. I'm wondering if someone can spot the error as I'm getting a CTD when trying to load the mission. Something like ; encountered instead of =.
The part to look at is the end of identities and the start of sound.
*************************************
onloadintro = "Briefing"
onloadmission = "The one who throws the first stone..."
debriefing = 1
showWatch = 1
showCompass = 1
showNotepad = 1
showGPS = 1
showMap = 1
onLoadIntroTime = true
minScore=-1500
avgScore=3000
maxScore=10000
class CfgIdentities
{
class peep
{
name = "Matt Sylvestre";
face = "Face26";
glasses = "none";
speaker = "Matt";
pitch = 0.94;
};
};
CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {02_s1, 02_s2, 02_s3, 02_s4, 02_s5, 02_s6, 02_s7, 02_s8, 02_s9, 02_s10, 02_s11, 02_s12, 02_s13, 02_s14};
// Class definition needed for each sound
class 02_s1
{
// Name to display in mission editor
name = "02_s1";
// Sound path, volume, pitch
sound[] = {\sound\02_s1.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s2
{
// Name to display in mission editor
name = "02_s2";
// Sound path, volume, pitch
sound[] = {\sound\02_s2.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s3
{
// Name to display in mission editor
name = "02_s3";
// Sound path, volume, pitch
sound[] = {\sound\02_s3.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s4
{
// Name to display in mission editor
name = "02_s4";
// Sound path, volume, pitch
sound[] = {\sound\02_s4.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s5
{
// Name to display in mission editor
name = "02_s5";
// Sound path, volume, pitch
sound[] = {\sound\02_s5.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s6
{
// Name to display in mission editor
name = "02_s6";
// Sound path, volume, pitch
sound[] = {\sound\02_s6.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s7
{
// Name to display in mission editor
name = "02_s7";
// Sound path, volume, pitch
sound[] = {\sound\02_s7.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s8
{
// Name to display in mission editor
name = "02_s8";
// Sound path, volume, pitch
sound[] = {\sound\02_s8.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s9
{
// Name to display in mission editor
name = "02_s9";
// Sound path, volume, pitch
sound[] = {\sound\02_s9.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s10
{
// Name to display in mission editor
name = "02_s10";
// Sound path, volume, pitch
sound[] = {\sound\02_s10.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s11
{
// Name to display in mission editor
name = "02_s11";
// Sound path, volume, pitch
sound[] = {\sound\02_s11.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s12
{
// Name to display in mission editor
name = "02_s12";
// Sound path, volume, pitch
sound[] = {\sound\02_s12.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s13
{
// Name to display in mission editor
name = "02_s13";
// Sound path, volume, pitch
sound[] = {\sound\02_s13.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class 02_s14
{
// Name to display in mission editor
name = "02_s14";
// Sound path, volume, pitch
sound[] = {\sound\02_s14.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
};
***************************************
Thanks