OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Colossos on 01 Jul 2005, 12:50:45
-
I'm working on a mission but I have a serious problem:
Whenever I create a trigger and press "effects", the game quits to windows and I get the message:
NO ENTRY
\operationflahspoint\users\myname\missions\mymission/description.ext cfgsounds3
All the sound files have the right name and are in the right folder, so I guess it's a syntax problem. Pls take a look.
Thx , from one unhappy colossos
class CfgSounds
{
// List of sounds (.ogg files without the .ogg extension)
sounds[] = {003, hill, x07v01, x07v02, x10v12};
// Class definition needed for each sound
class 003
{
// Name to display in mission editor
name = "003";
// Sound path, volume, pitch
sound[] = {\sound\003.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class hill
{
// Name to display in mission editor
name = "hill";
// Sound path, volume, pitch
sound[] = {\sound\hill.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class x07v01
{
// Name to display in mission editor
name = "x07v01";
// Sound path, volume, pitch
sound[] = {\sound\x07v01.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class x07v02
{
// Name to display in mission editor
name = "x07v02";
// Sound path, volume, pitch
sound[] = {\sound\x07v02.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
class x10v12
{
// Name to display in mission editor
name = "x10v12";
// Sound path, volume, pitch
sound[] = {\sound\x10v12.ogg, db + 0, 1.0};
// Sound title text (set to no text)
titles[] = {0, ""};
};
};
class CfgMusic
{
// List of music tracks (.ogg files without the .ogg extension)
tracks[] = {jade};
// Class definition needed for each music track
class jade
{
// Name to display in mission editor
name = "jade";
// Music path, volume, pitch
sound[] = {\music\jade.ogg, db + 0, 1.0};
};
};
-
try this
class CfgSounds
{
sounds[] = { 003,hill,x07v01,x07v02,x10v12 };
class 003
{
name = "003";
sound[] = {"003.ogg", db + 0, 1.0};
titles[] = {};
};
class hill
{
name = "hill";
sound[] = {"hill.ogg", db + 0, 1.0};
titles[] = {};
};
class x07v01
{
name = "x07v01";
sound[] = {"x07v01.ogg", db + 0, 1.0};
titles[] = {};
};
class x07v02
{
name = "x07v02";
sound[] = {"x07v02.ogg", db + 0, 1.0};
titles[] = {};
};
class x10v12
{
name = "x10v12";
sound[] = {"x10v12.ogg", db + 0, 1.0};
titles[] = {};
};
};
class CfgMusic
{
tracks[] = {jade};
class jade
{
name = "jade";
sound[] = {"\music\jade.ogg", db + 0, 1.0};
};
};
-
Thx for the reply but I still got the same message :'(
no entry " missions\mymission/description.ext cfgsounds.3"
-
is there anything else in your desc file?
i just tryed it on mine, hit effects, and there all listed as they should be, no errors at all...
-
yes, there is some other stuff in it:
class CfgSounds
{
sounds[] = { 003,hill,x07v01,x07v02,x10v12 };
class 003
{
name = "003";
sound[] = {"003.ogg", db + 0, 1.0};
titles[] = {};
};
class hill
{
name = "hill";
sound[] = {"hill.ogg", db + 0, 1.0};
titles[] = {};
};
class x07v01
{
name = "x07v01";
sound[] = {"x07v01.ogg", db + 0, 1.0};
titles[] = {};
};
class x07v02
{
name = "x07v02";
sound[] = {"x07v02.ogg", db + 0, 1.0};
titles[] = {};
};
class x10v12
{
name = "x10v12";
sound[] = {"x10v12.ogg", db + 0, 1.0};
titles[] = {};
};
};
class CfgMusic
{
tracks[] = {jade};
class jade
{
name = "jade";
sound[] = {"\music\jade.ogg", db + 0, 1.0};
};
};
class Weapons
{
   // Add the weapons to the mission gear
   class Binocular
   {
      Count = 4;
   };
   class M16
   {
      Count = 3;
   };
   class LAWLauncher
   {
      Count = 2;
   };
   class Beretta
   {
      Count = 2;
   };
};
class Magazines
{
   // Add the magazines to the mission gear
   class M16
   {
      Count = 9;
   };
   class LAWLauncher
   {
      Count = 9;
   };
   class BerettaMag
   {
      Count = 9;
   };
   class HandGrenade
   {
      Count = 4;
   };
};
I dont think that the problem is in my description.ext but somewhere else. Or maybe I have a Setidentity in my mission editor but havent modified yet in my description.ext.
-
ok, it works now after trying different things. I've erased the soundlist and now it works. Hmm, strange... but hey this thread is solved :).
class CfgSounds
{
sounds[] = { 003,hill,x07v01,x07v02,x10v12 };
is now
class CfgSounds
{
sounds[] = {};
And it works now. Strange.