Jump to content
Sign in to follow this  
cool=azroul13

Problem with sideradio

Recommended Posts

Hi all,

I don't be able to run the sideRadio :mad:

I see the wiki, all other thread on the subject but nothing.

I put a logic game in the editor name "logic" :rolleyes: and put a radio trigger

with on act: "null= execVm "RadiArt.sqf".

My script:

logic sideRadio RadioMsg3;
Sleep 4;

logic sideRadio RadioMsg4;
Sleep 20;

nul=[12,h1,110,3,3] execVM "Artillery.sqf";
Sleep 4; 

playSound "sons1";

description.ext:

loadScreen = "loading.jpg";
onloadintro="";
onloadintrotime=false;
onloadmission="Colline 291";
onloadmissiontime=false;

//Mission and map
disabledAI = 1;

class Header
{
gameType = COOP; 
minPlayers = 4;  
maxPlayers = 6; 
};


// description.ext settings for revive
///////////////////////////////////////////////////////////////////////////////////////////
Respawn = "BASE";
RespawnDelay = 10;
RespawnDialog = 1;

///////////////////////////////////////////////////////////////////////////////////////////



class CfgSounds
{
  sounds[] = {sons1};
  class sons1
  {
     name = "sons1";
     sound[] = {"\sounds\March.ogg", db+20, 1};
     titles[] = {};
  };
};

class CfgRadio
{
  sounds[] = {RadioMsg1,RadioMsg2,RadioMsg3,RadioMsg4};
  class RadioMsg1
  {
     name = "";
     sound[] = {};
     title = "Ici Charlie 3,le premier objectif est rempli. Pavlovo est sous notre contrôle. A vous Papa Bear.";
  };
     class RadioMsg2
  {
     name = "";
     sound[] = {};
     title = "Papa Bear Reçu, continuez la mission comme prévu. Un appui est préparé sur prochain objectif. Terminé.";
  };
        class RadioMsg3
  {
     name = "RadioMsg3";
     sound[] = {};
     title = "Ici Charlie 3,Demande un appui d'artillerie, coordonnées 05781E 06451N. A vous Papa Bear.";
  };
     class RadioMsg4
  {
     name = "RadioMsg4";
     sound[] = {};
     title = "Papa Bear Reçu, demande acceptée. Les pruneaux sont en route. Papa Bear, Terminé.";
  };

};

All work except the sideRadio

Thanks for reply

Aze

Share this post


Link to post
Share on other sites

Well, try this:

unit_name sideRadio "RadioMsg3";

Sleep 4;

unit_name sideRadio "RadioMsg4";

Sleep 20;

nul=[12,h1,110,3,3] execVM "Artillery.sqf";

Sleep 4;

playSound "sons1";

and I think that unit_name must be unit and not logic.

Share this post


Link to post
Share on other sites
It's what I put first but again nothing work.

:o

Ok, and was it

unit_name sideRadio RadioMsg3;
or
unit_name sideRadio "RadioMsg3";
?

Because it´s different :). I see in your first post variant no.1 and it´s wrong.

Edited by chicago

Share this post


Link to post
Share on other sites

My last test

s1 sideRadio "RadioMsg3";
Sleep 4;

PAPABEAR sideRadio "RadioMsg4";
Sleep 20;

nul=[12,h1,110,3,3] execVM "Artillery.sqf";
Sleep 4; 

playSound "sons1";

I also try s1 in place of PAPABEAR

Nothing ! :butbut:

Share this post


Link to post
Share on other sites

Hi,

I see one problem at least, you have a gameLogic on editor and you as a unit (side WEST/EAST/CIVILIAN etc) want to see the side radio from a gameLogic which side is sideLogic, not WEST/EAST etc.

So, putting something like this in the gameLogic init line, should make the sideRadio visible to your side too:

this joinSilent (createGroup WEST); //WEST is your side, change it if your side is different

_neo_

Share this post


Link to post
Share on other sites

try

[WEST, "HQ"] sideRadio "RadioMsg3";

?

PS. be on WEST side to see effect.

and just example of description.ext from my script, which works 100%

class CfgRadio
{
 sounds[] = {};
 class fucksakestopkill
 {
     name = "";
     sound[] = {"\sound\FuckSakeStopKillCiv.ogg", db+5, 1.0};
     title = "For Fuck's sake, Stop kiling civilians!.";
 };

 class onemore
 {
     name = "";
     sound[] = {"\sound\OneMoreTerminate.ogg", db+5, 1.0};
     title = "What the fuck are you doing? One more killed civilian and the mission will be terminated!";
 };
};

Edited by Rafalski

Share this post


Link to post
Share on other sites

It works :yay: But Outside of my mission :( .

I don't understand why it bug, something block my radio message.

Thanks all for your help ;)

Edited by Cool=Azroul13

Share this post


Link to post
Share on other sites

OK there is your problem:

use style:

[WEST, "HQ"] sideRadio "RadioMsg3";

not

S1 sideRadio "RadioMsg3";

and make sure that units have got radio :) because they do not have at the moment.

PS. to do quick test , just place playable US unit, do not change any items, and start radio alfa.

Share this post


Link to post
Share on other sites

I try your script first (it works outside the mission) change for test with s1 and c1, it works outside too and when I put in my mission nothing. :(

It was this: my player doesn't have the itemradio :rolleyes:

A little detail :D

I want to make this script compatible with dedicated server:

How to do ??

Thanks again

Edited by Cool=Azroul13

Share this post


Link to post
Share on other sites

use:

nul = [[west,"HQ"], nil , rsideRadio, "RadioMsg3"] call RE;

in init.sqf

if (isNil "RE") then {[] execVM "\ca\Modules\MP\data\scripts\MPframework.sqf"};

Share this post


Link to post
Share on other sites

I have a little problem in Server.

There are numerous message that spawn when there mutilple player.

Is there a solution to reduce.

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  

×