Home   Help Search Login Register  

Author Topic: No entry '.Sounds' When loading  (Read 2236 times)

0 Members and 1 Guest are viewing this topic.

Offline edge2

  • Members
  • *
  • Ha!
No entry '.Sounds' When loading
« on: 10 Feb 2008, 00:17:23 »
I made an island called Windau. I had several problems with the config but seemed to fix it, but now when i upload it to a server and try to run a mission on it i get an error No entry '.Sounds'
Sometimes when i edit the config, The island takes hours to load even on local. I have removed all the objects from the island and then tested it no server, but still got the error. The island also uses only BIS default addons.

This is the config im using:

class CfgPatches {
   class _windau {
      units[] = {};
      weapons[] = {};
      worlds[] = {_windau};
      requiredVersion = 1.91;
   };
};

class CfgWorlds {
   class DefaultWorld {};
   class Intro : DefaultWorld {};
   class _windau : Intro {
      access = 3;
      description = "Windau";
      icon = "\windau\_wind.paa";
      worldName = "\windau\_windau.wrp";
      cutscenes[] = {""};
      centerPosition[]={666.666, 666.666, 0};
      class Sounds
      {
         sounds[]={};
      };
      
      class Names
      {
      class Libau
      {
         name="Libau";
         position[]={6997.7549, 7633.2397, 0};
      };
      class Dunaburg
      {
         name="Dunaburg";
         position[]={7825.6235, 6339.9385, 0};
      };
      class Lelgab
      {
         name="Lelgab";
         position[]={6652.7275, 5250.1143, 0};
      };
      class Luback
      {
         name="Luback";
         position[]={6723.3198, 4021.3389, 0};
      };
      class Haynasch
      {
         name="Haynasch";
         position[]={5249.1875, 3170.7334, 0};
      };
      class Goldingen
      {
         name="Goldingen";
         position[]={3113.3137, 2151.5427, 0};
      };
      class Lemsal
      {
         name="Lemsal";
         position[]={2278.2844, 3301.6797, 0};
      };
      class Walmer
      {
         name="Walmer";
         position[]={4878.8428, 4425.2266, 0};
      };
      class Trinity_Fields
      {
         name="Trinity Fields";
         position[]={3726.5989, 3758.9883, 0};
      };
      class Durben
      {
         name="Durben";
         position[]={4667.4126, 6327.4678, 0};
      };
      class Karsau
      {
         name="Karsau";
         position[]={2722.0671, 5097.0225, 0};
      };
   };



};


   
};

class CfgWorldList {
   class _windau {};
};

Please help and thanks
Turning CS kiddies into OFP grunts

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: No entry '.Sounds' When loading
« Reply #1 on: 10 Feb 2008, 06:10:22 »
Just had a quick look on my way to bed........try removing the underscore from windau.

windau not _windau.

and also wind.paa not _wind.paa......etc

Planck
I know a little about a lot, and a lot about a little.

Offline edge2

  • Members
  • *
  • Ha!
Re: No entry '.Sounds' When loading
« Reply #2 on: 10 Feb 2008, 14:30:33 »
Fact is when i write it just windau it takes ages to load, so what i understood is that the class and the name cant be the same, but some island configs have the same. I dont have any idea why is it like that. When i took apart Feta, replaced the wrp file and then tried to load it, I actually could load it but when i started the server didnt load it. I could just see shadows from cars. Island size is 256 x 256.
Turning CS kiddies into OFP grunts

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: No entry '.Sounds' When loading
« Reply #3 on: 10 Feb 2008, 18:18:20 »
Try this config:

Code: [Select]
//Windau

#define TEast 0
#define TWest 1
#define TGuerrila 2
#define TCivilian 3
#define TSideUnknown 4
#define TEnemy 5
#define TFriendly 6
#define TLogic 7

#define true 1
#define false 0

#define private 0
#define protected 1
#define public 2

class CfgPatches
{
   class Windau
   {
      units[] = {};
      weapons[] = {};
      worlds[] = {"Windau"};
      requiredVersion = 1.91;
   };
};

class CfgVehicles{};

class CfgSurfaces
{
class Default {};
};

class CfgEnvSounds {};

class CfgWorlds
{
   class DefaultWorld {};
   class Windau : DefaultWorld
   {
      access = 3;
      description = "Windau";
      icon = "\windau\_wind.paa";
      worldName = "\windau\windau.wrp";
      startTime="7:30";
      startDate="10/4/82";
      startWeather=0.400000;
      startFog=0.000000;
      forecastWeather=0.400000;
      forecastFog=0.000000;
      ilsPosition[]={0,0,0};
      ilsDirection[]={0,0.08,1};
      ilsTaxiIn[]={};
      ilsTaxiOff[]={};
      cutscenes[] = {""};
      centerPosition[]={666.666, 666.666, 0};

      class ReplaceObjects {};

      class EnvSounds: CfgEnvSounds {};

      class Sounds
      {
         sounds[]={};
      };
     
      class Animation
      {
vehicles[]={};
      };

      class Names
      {
         class Libau
         {
            name="Libau";
            position[]={6997.7549, 7633.2397, 0};
         };
         class Dunaburg
         {
            name="Dunaburg";
            position[]={7825.6235, 6339.9385, 0};
         };
         class Lelgab
         {
            name="Lelgab";
            position[]={6652.7275, 5250.1143, 0};
         };
         class Luback
         {
            name="Luback";
            position[]={6723.3198, 4021.3389, 0};
         };
         class Haynasch
         {
            name="Haynasch";
            position[]={5249.1875, 3170.7334, 0};
         };
         class Goldingen
         {
            name="Goldingen";
            position[]={3113.3137, 2151.5427, 0};
         };
         class Lemsal
         {
            name="Lemsal";
            position[]={2278.2844, 3301.6797, 0};
         };
         class Walmer
         {
            name="Walmer";
            position[]={4878.8428, 4425.2266, 0};
         };
         class Trinity_Fields
         {
            name="Trinity Fields";
            position[]={3726.5989, 3758.9883, 0};
         };
         class Durben
         {
            name="Durben";
            position[]={4667.4126, 6327.4678, 0};
         };
         class Karsau
         {
            name="Karsau";
            position[]={2722.0671, 5097.0225, 0};
         };
      };
    };
};

class CfgWorldList
{
   class windau {};
};

I have tested this one using a copy of abel.wrp renamed to windau.wrp and a copy of _abel.paa renamed to _wind.paa

Everything worked as expected in OFP.


Planck
I know a little about a lot, and a lot about a little.

Offline edge2

  • Members
  • *
  • Ha!
Re: No entry '.Sounds' When loading
« Reply #4 on: 10 Feb 2008, 19:00:16 »
Ok ill try
I thought it might be because its a Linux server

Thanks

Edit: Huh? It actually loaded and it works! Thanks alot  ;)

Oh, I was also searching...Is it possible to add sound at a specific location on the island (by writing it in the config)? For example a dog barking at one exact position?
« Last Edit: 10 Feb 2008, 19:03:31 by edge2 »
Turning CS kiddies into OFP grunts

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: No entry '.Sounds' When loading
« Reply #5 on: 10 Feb 2008, 23:31:29 »
I don't think you can do that really, I have never seen a cfgSFX section in an island config, there is no way I can see to apply it to a specific location.....these SFX are usually used in conjunction with waypoints and triggers in missions.


Planck
I know a little about a lot, and a lot about a little.