OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: PunkerSXDX on 01 Sep 2002, 05:41:16
-
what's the Syntax to add glasses and what are the Values for Specticles and Sun Glasses? ???
-
No syntax as such.
You need to configure the glasses in the description.ext:
class CfgIdentities              ÂÂ
{  ÂÂ
class XXX Identity
   {
   name = "XXX";      Name
   face = "Face1";         Face
   glasses = "none";         No glasses
   speaker = "Adam";        Voice     ÂÂ
pitch = 1.00;         Voice height  ÂÂ
};     ÂÂ
};
Hope this will help...
-
I'll giv eyou the answer quiclky I've almost fall asleep.
you have to create a description.ext file. Put in there this:
Class CfgIdentities
{
Identities[] = {Hinojosa};
class Hinojosa
{
name = "Hinojosa Cobacho";
face = "face27";
glasses = "none";
speaker="Adam";
pitch = 1.00;
};
};
I think you can delete the face, name speaker, etc if you don't want them. IN glasses put Spectacles or sunglasses. Then in the init of th eunit put this setidentity "name". in this case the name would be "hinojosa". I think I wrote in English, I nearl can't see... going to bed now! hope this helps
-
Can I put this in the mission.sqm file?
-
Nope
-
im not sure, but to make a description .ext file, you dont have to do anything fancy, create a normal wordpad (.txt) file in the same directory, copy that stuff down into it, then save and exit, then at the top of the folder go to tools > folder options > view > show file extensions
then simply make sure that you rename your .txt file
"description.ext" without the quotes of course....
i wudent try editing the mission.sqm file because all the data it holds is relevant, ie: every unit in the game, and the description just holds values which you can change to...
-
Yes as simple as that. Just create the description.ext file and put it into the missions folder.
-
Okay Thanx Guys :toocool: