Description.ext – Talk

From Bohemia Interactive Community
Jump to navigation Jump to search
(CfgSFX & CfgEnvSounds missing)
Line 27: Line 27:


Min/max/avgscore doesn't seem to mean anything as points/stars are not shown during a debriefing in MP?? --[[User:Doolittle|Doolittle]] 06:20, 23 August 2007 (CEST)
Min/max/avgscore doesn't seem to mean anything as points/stars are not shown during a debriefing in MP?? --[[User:Doolittle|Doolittle]] 06:20, 23 August 2007 (CEST)
== CfgSFX & CfgEnvSounds missing ==
Shouldn't CfgSFX & CfgEnvSounds included in Sounds section. There's practically no info on these on biki. From OFPEC forums I found some examples but no solid info on all the values in CfgSFX.
Example:
class CfgSFX
{
  sounds[] = {siren1,siren2};
  class siren1
  {
  sounds[]={siren1};
  name = "siren1";
  // sfxfile, vol, frq, probab, min_delay, mid_delay, max_delay
  siren1[]={"siren.ogg",db-1,1,1,5,0,0};
  empty[]={, , , , , , ,};
  };
  class siren2
  {
  sounds[]={siren2};
  name = "siren2";
  siren2[]={"air_raid",db-1,1,1,5,0,0}; // .wss implied
  empty[]={"","","","",5,5,5};
  }; 
};
Maybe someone with more info can add better examples to the article. --[[User:Rok|Rok]] 23:06, 29 May 2009 (CEST)

Revision as of 22:06, 29 May 2009

Well, I now saw three different definitions for respawn = value... I'm not too sure about the numbers anymore as I only used "group", "instant" and "base" so far. Also it's not sure that "side" works...

--Raedor 01:20, 2 June 2006 (CEST)


I'm looking for a place where the preprocessor commands (like #define and #include) can be explained but I don't know whether it should be added here in the description.ext article or in something config related or should we create a new article for this? But could someone else do this because the reason I'm asking is that I'm looking for an explaination for the #include command --T_D 00:37, 7 August 2006 (CEST)

this should be listed as "Config.cpp Preprocess Commands" under the addons category and a 'related link' put in desc.ext. While doing so, there should also be an attempt to mention the macros (stupid word that) true false public and private.

--ook? 07:59, 7 August 2006 (CEST)

The section about radio commands notes something like title = {$STR_RADIO_2}; Is the title looked up in the stringtable.csv? And is it localized? This should perhaps be noted somewhere. -- Manny 17:50, 20 February 2007 (CET)

Where ever you see $STR_ means its to be looked up in the stringtable. Feel free to make a note. hoz


-- Dennis : I tested a mission where a sqf script that changed gear at respawn didn't have access to param2 from the description.ext file in the mission editor, param2 isnt't even showing in a hint command (for example hint str param2 doesn't even show an error message or the default unknown value. But when I saved the file for multiplayer and tested mission the script worked well it recognized param2 variable and its value.

params are _only_ working in MP matches and the MP editor. hint str undefined_value returns nothing, if you want to make sure that you get a hint try e.g. hint str [param2] which at least returns []. --raedor 00:51, 21 May 2007 (CEST)

What do the undocumented scripting commands '__EXEC' and '__EVAL' do in the description.ext file? As per the description.ext in the missions.pbo of v1.08. --Sy 13:17, 22 June 2007 (CEST)

Note to self: you must have a briefing.html in order for onLoadMission to show! --Doolittle 06:25, 9 July 2007 (CEST)

Min/max/avgscore doesn't seem to mean anything as points/stars are not shown during a debriefing in MP?? --Doolittle 06:20, 23 August 2007 (CEST)

CfgSFX & CfgEnvSounds missing

Shouldn't CfgSFX & CfgEnvSounds included in Sounds section. There's practically no info on these on biki. From OFPEC forums I found some examples but no solid info on all the values in CfgSFX.

Example:

class CfgSFX
{
 sounds[] = {siren1,siren2};
 class siren1
 {
  sounds[]={siren1};
  name = "siren1";
  // sfxfile, vol, frq, probab, min_delay, mid_delay, max_delay
  siren1[]={"siren.ogg",db-1,1,1,5,0,0};
  empty[]={, , , , , , ,};
 };
 class siren2
 {
  sounds[]={siren2};
  name = "siren2";
  siren2[]={"air_raid",db-1,1,1,5,0,0}; // .wss implied
  empty[]={"","","","",5,5,5};
 };  
};

Maybe someone with more info can add better examples to the article. --Rok 23:06, 29 May 2009 (CEST)