Jump to content
Sign in to follow this  
senchi

Additional Environment sounds

Recommended Posts

Hi all.

I have a small question.  smile_o.gif

Can I add a special individual sounds, adding them to the config island?

For example:

Coordinates: (x.y.z)

Sound: Rope Bridge

Could possibly edit class EnvSounds?

Just I need to play a special sound in certain coordinates ...

But this should not be in the Mission:)

This should be in the config island

Any ideas ?

Share this post


Link to post
Share on other sites

nope you can't, but you can trick it:

create an empty model, add a config to it, and make class eventhandler with sound played... wink_o.gif

Share this post


Link to post
Share on other sites

You are right, but ...

I can not make working "eventhandler" in object , if the object set in VISITOR sad_o.gif

If i set the object in the editor - All works  sad_o.gif

Share this post


Link to post
Share on other sites

And eventhandler, will be Working ?

o_O

Share this post


Link to post
Share on other sites
Quote[/b] ]convention rules:

LAND_nameoftheclass

What do you mean?

I feel himself very stupid  confused_o.gif

Look ...

What is not right?

2.jpg

99f6d3ab.jpg

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgPatches

{

class SAR_Dead_armor

{

units[]=

{

"obj1",

"obj2"

                       

};

weapons[]={};

requiredVersion=1.000000;

requiredAddons[]=

{

"CAData",

"CABuildings",

"cacharacters",

"CAMisc"

};

version=1.140000;

};

};

class CfgVehicleClasses

{

class SAR_Dead_armor

{

displayName="SMERSH: break armor";

};

};

class CfgVehicles

{

class NonStrategic;

class SAR_Dead_armor_break: NonStrategic

{

scope=2;

vehicleClass="SAR_Dead_armor";

side=3;

cost=1;

mapSize=1;

displayName="break T-72";

model="\SAR_Dead_armor\T72.p3d";

armor=1000;

               class EventHandlers

{

                  init = "[this] exec ""\SAR_Dead_armor\Myst.sqs""";

};

};

class SAR_Dead_armor2_break: NonStrategic

{

scope=2;

vehicleClass="SAR_Dead_armor";

side=3;

cost=1;

mapSize=1;

displayName="break M1_abrams";

model="\SAR_Dead_armor\M1_abrams.p3d";

armor=1000;

               class EventHandlers

{

                  init = "[this] exec ""\SAR_Dead_armor\Myst.sqs""";

};

};

};

If i set "break M1_abrams" in Editor - all working

If i set "break M1_abrams" in Visitor - nothing

Share this post


Link to post
Share on other sites

no, it is still not working sad_o.gif

1) I change class to LAND_(blablalba)

2) I set property name (Class and Map)

3) I check Config.cpp ...

but not working...

.....

And more ..

At home i do not open the door (and even disappearing all action), if I put them through the Visitor, wtf ? smile_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]you have to change the inerhit class: from nonstarategic to house

Aaaand nothing smile_o.gif

...

The doors did not open, EventHandler for objects does not work smile_o.gif

Share this post


Link to post
Share on other sites

You can give me that ? banghead.gif

Or just config.. sad_o.gif

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×