desc.ext: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 49: | Line 49: | ||
}; | }; | ||
}; | }; | ||
<\pre> | </pre> | ||
==Campaign Root== | |||
<pre> | |||
/* all file references are with respect to DtaExt | |||
** it auto defaults to DtaExt. | |||
** The source file can be in any folder off DtaExt or none at all | |||
** You cannot have standard Sound or Music folders | |||
** slash / no slash is same | |||
** | |||
** A1 and ofp did not require music\ or sound\ specs (and probably allowed root music and sound too. | |||
** | |||
*/ | |||
</pre> | |||
=Scripts= | |||
==Campaigns== | |||
<pre> | |||
you cannot use backslash at all it wont find it. | |||
Note that Campaign root scripts folder is implied if it cannot find file in the mission. | |||
execvm thing.sqf // assumes it's in mission.sqm root, OR campaign root.scripts | |||
execvm Scripts\thing.sqf // will look in mission.sqm\scripts or campaignRoot\scripts\scripts | |||
</pre> |
Revision as of 13:39, 10 September 2011
for desc.ext
class CfgRadio //straightfoward array of {filename,volume,pitch} { sounds[]={}; class Seq0{name="Seq0"; sound[]={"sound\09r06.wss", db-40, 1.0}; title=$STRM_09r06; }; }; class CfgSFX { sounds[]={hospoda2}; class Hospoda2 { name="Hospoda2"; sounds[]={sound1};//<<<<<name of sound array sound1[]={"hospoda2.ogg", db-0,1, 1, 1, 1, 1};//who knows empty[]= {, , , , 1 , 5, 20}; }; };
cfgSounds
one hell of a mess with titleS note the plural
ofp used semi colons between
titles[]={StartTime,Text}; titles[]=
class CfgSounds { sounds[]={}; class Seq1 {name="Seq1"; sound[]={"sound\09v07.ogg", db, 1.0}; titles[]={0, $STRM_09v07}; };//standard class 11v01{name="11v01"; sound[]={"sound\11v01.ogg", db-05, 1.0}; titles[]={{0,0.4}, $STRM_11v01}; }; class 11v04{name="11v04"; sound[]={"sound\11v04.ogg", db-05, 1.0}; titles[]={ 0, $STRM_11v04, {5.5,0.5}, $STRM_11v04a}; };
cfgENVsounds=
class CfgEnvSounds { sounds[]={dest}; class dest { name="dest"; sound[]={"sound\dest.ogg", db, 1.0}; soundNight[]={"sound\dest.ogg", db, 1.0};//<<<< titles[]={}; }; };
Campaign Root
/* all file references are with respect to DtaExt ** it auto defaults to DtaExt. ** The source file can be in any folder off DtaExt or none at all ** You cannot have standard Sound or Music folders ** slash / no slash is same ** ** A1 and ofp did not require music\ or sound\ specs (and probably allowed root music and sound too. ** */
Scripts
Campaigns
you cannot use backslash at all it wont find it. Note that Campaign root scripts folder is implied if it cannot find file in the mission. execvm thing.sqf // assumes it's in mission.sqm root, OR campaign root.scripts execvm Scripts\thing.sqf // will look in mission.sqm\scripts or campaignRoot\scripts\scripts