Help and discussion for my church heal thread takes place here.
Release thread: http://opendayz.net/threads/release-church-heal.18051/
Release thread: http://opendayz.net/threads/release-church-heal.18051/
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Did you place the .ogg file in your the zip folder to the root of your mission folder?Sound CureEffect isn't playing
of course I've puted the .ogg file in the mission folder and specify the path in the description.ext properly, but in the game floating that theDid you place the .ogg file in your the zip folder to the root of your mission folder?
class CfgSounds
//right here missing {//
sounds[] =
{
cureEffect
};
class cureEffect
{
name="cureEffect";
sound[]={cure_effect.ogg,0.9,1};
titles[] = {};
};
};
What happends if you go into a church and run it?of course I've puted the .ogg file in the mission folder and specify the path in the description.ext properly, but in the game floating that the
cureEffect did'nt found.
First of all I thoght that { is missing in your code
I added it but it's still doesn't work (((Code:class CfgSounds //right here missing {// sounds[] = { cureEffect }; class cureEffect { name="cureEffect"; sound[]={cure_effect.ogg,0.9,1}; titles[] = {}; }; };
And can you post your code, so i can do a quick scan throught itof course I've puted the .ogg file in the mission folder and specify the path in the description.ext properly, but in the game floating that the
cureEffect did'nt found.
First of all I thoght that { is missing in your code
I added it but it's still doesn't work (((Code:class CfgSounds //right here missing {// sounds[] = { cureEffect }; class cureEffect { name="cureEffect"; sound[]={cure_effect.ogg,0.9,1}; titles[] = {}; }; };
class CfgSounds
sounds[] =
{
cureEffect
};
class cureEffect
{
name="cureEffect";
sound[]={media\cure_effect.ogg,0.9,1};
titles[] = {};
};
};
class CfgSounds
{
sounds[] =
{
cureEffect
};
class cureEffect
{
name="cureEffect";
sound[]={media\cure_effect.ogg,0.9,1};
titles[] = {};
};
};
Ok i'll take a look at it .I have the media folder in my root mission folder and my .ogg in it. So the code is
also I've tried this way with {Code:class CfgSounds sounds[] = { cureEffect }; class cureEffect { name="cureEffect"; sound[]={media\cure_effect.ogg,0.9,1}; titles[] = {}; }; };
Code:class CfgSounds { sounds[] = { cureEffect }; class cureEffect { name="cureEffect"; sound[]={media\cure_effect.ogg,0.9,1}; titles[] = {}; }; };
but in the game the erorr floating that the cureEffect didn't found. Sound is not playing, but the character healing.
Yes the fn_selfActions code would look like thisthankz for this it works great.
if I wanted to add hospitols I would just add the name ??
//-------------------------------Mergs Church cure-------------------------------------
private["_playerPos","_canCure"];
_playerPos = getPosATL player;
_canCure = count nearestObjects [_playerPos, ["Land_Church_01","Land_Church_03","Land_Church_02","Land_Church_02a","Land_A_Hospital"], 20] > 0;
if (_canCure) then {
if (s_church_cure < 0) then {
s_church_cure = player addaction[("<t color=""#FF0000"">" + ("Cure Infection") +"</t>"),"church_cure.sqf"];
};
} else {
player removeAction s_church_cure;
s_church_cure = -1;
};
//-----------------------------Mergs Church cure end-------------------------------------
It should disappear staright afterRequired to make the blur effect disappeared after a certain time. My players complain about the murky picture.
sound[]={"media\cure_effect.ogg",0.9,1};
You try that, its working just fine for me how i have it...I am asking a question about the script code posted above, the sound path issue everyone is having a problem with.
Doesn't the path of the sound file need to be in quotes? Like this:
Code:sound[]={"media\cure_effect.ogg",0.9,1};
I'll have a lookWell if it is working for you then you solved the problem. I had just read the replies to this thread and posted a suggestion to help solve the issue.
The only problem that i can think of is something with the church class name. Im not sure, i haven't tried this on Tavi.I have this working great on my epoch taviana server but I cant get it working on my taviana server.
any issues with regular taviana 2.0 ??