Home   Help Search Login Register  

Author Topic: Description.ext file is giving error !  (Read 680 times)

0 Members and 1 Guest are viewing this topic.

Offline goki

  • Members
  • *
Description.ext file is giving error !
« on: 06 Aug 2003, 14:34:28 »
Hi,

first of all I am using 1.0 version but the problem is not basicly about this because in the past it worked now it didn't;


My descripition.ext file was  okay in the past but today I opened it and added a few more lines to create more identity and to add music then saved it with the same name;

"description.ext"     as    Text (Tab delimited)

Excel asked me if I want to replace the old file with the same name and I clicked ok.

and as you know it said that descripition.ext file is Text (Tab limited) and if I save it so then some information may be lost.

I clicked "yes" and then went to mission editor and tried to open the mission and it kicked me to windows/desktop and gave a kinky, nut error !

and here strange part is beginning;

then I deleted that description file which gave error and I  put the original description.ext file in my mission folder again and it worked. but afterwards to learn if the mistake is about the format I opened it with Microsoft Notepad, added new identity, class CfgSounds data and I saved the file again yet guess what? it kicked me to desktop again, so I think it is about the format I am saving in.

I wish you warn me if it is also about writing the data in a wrong  way or using a wrong language for description file.

I don't remember how to create a neat, new one.

I attached error picture, problematic description.ext file and working description.ext file ( actually content of the problematic file is the one I want to use, working one is not including sound data etc... ) please check them out and aid me,

incidentally, is there any tool, wizard to create description file data, I mean something I can use instead of excel?

Am I following a wrong way to create such data?

thanks for reading and attempting to help  :)


-G

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Description.ext file is giving error !
« Reply #1 on: 06 Aug 2003, 14:42:25 »
I always use Notepad to create description.ext.      I thought Excel was only for stringtable.csv.

Make sure the file isn't called description.ext.txt or description.ext.xls or something.    I always get a working description.ext to work with the mission first, then change the text inside it.

I don't use them myself, but I suspect there are description.ext file creation utilities in the Ed Depot.
Plenty of reviewed ArmA missions for you to play

peter

  • Guest
Re:Description.ext file is giving error !
« Reply #2 on: 06 Aug 2003, 17:53:34 »
class CfgIdentities
{
  class Unit
  {name = "Tuukka Nokkala";
  face = "face1";
  glasses = "sunglasses";
  speaker = "Jonah";
  pitch = 1.0;};
};
  class Officer      
  name = "Angut";      
  face = "Face2";      
  glasses = "none";      
  speaker = "Adam";      
  pitch = 0.60;      
};

should be -------------------------------------------------------------

class CfgIdentities
{
  class Unit
  {name = "Tuukka Nokkala";
  face = "face1";
  glasses = "sunglasses";
  speaker = "Jonah";
  pitch = 1.0;};

  class Officer      
  {name = "Angut";      
  face = "Face2";      
  glasses = "none";      
  speaker = "Adam";      
  pitch = 0.60;};
};

Offline goki

  • Members
  • *
Re:Description.ext file is giving error !
« Reply #3 on: 08 Aug 2003, 15:40:40 »
Peter, Macguba thank you millions !

now I remember that excel was not a good tool to create such data...

Peter thank you first you helped me so much but can I ask something more?

-so there should be an empty line between different identities. right?

and so, is this rule valid for other data? for e.g; when writing other classes like music or fx? to make it clear; how much empty line should be put between different information of same class?

peter

  • Guest
Re:Description.ext file is giving error !
« Reply #4 on: 08 Aug 2003, 17:16:03 »
itÂ's not the empty line, the brackets are important ...

classCfgAnything
{

     class Whatever01
          {...
          ...};

     class Whatever02
          {...
          ...};

};

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Description.ext file is giving error !
« Reply #5 on: 08 Aug 2003, 17:17:41 »
Scripts ignore empty lines




You can have
as many

or as few



as you like.

Peter was pointing out that you had an extra

};

in the middle and you'd also missed out a {.     Always check your brackets to make sure you have the same number of { as }.


Edit:  Damn, too slow again ... and not as colourful.
« Last Edit: 08 Aug 2003, 17:18:20 by macguba »
Plenty of reviewed ArmA missions for you to play

Offline goki

  • Members
  • *
Re:Description.ext file is giving error !
« Reply #6 on: 08 Aug 2003, 18:16:38 »
well thanks again,

what can I say ?   thank you very much :)

you special people ! I will send my mission to you
:)



 8)

 :-*

 8)