Jump to content

Recommended Posts

gf-vehicle-radio-chatter-script-version-

GF Vehicle Radio chatter script

by

 

GEORGE FLOROS [GR]


Description:

GF Vehicle Radio chatter script , configurable script.
You are free to do anything but i would like to give me Credits for this!
Simple and easy to use and adapt .
Have Fun !


Installation / Usage:

For usage instructions and information of how to use the GF Vehicle Radio chatter script please refer to the included documentation and/or example mission.

Place in your mission the files . There is everything included , in the init.sqf , to copy paste in your mission .

https://community.bistudio.com/wiki/SQF_syntax
Don't try to open this with the simple notepad.

For everything that is with comment // in front or between /*
means that it is disabled , so there is no need to delete the extra lines.

You can open this ex:
with notepad++
https://notepad-plus-plus.org/

and also use the extra pluggins
(this way will be better , it will give also some certain colours to be able to detect ex. problems )
http://www.armaholic.com/page.php?id=8680

or use any other program for editing .

For the Compilation List of my GF Scripts , you can search in:
https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/Notes:

 

Notes:

Configurable Script.
You can display Custom or game's default sounds,
select distance from vehicle and repeat time.
The radio is disabled for the civilian vehicles
and there is available an exclude list.
It is working on any type of vehile (Landvehicle,Tank,Air,Ship).
It is working also for the spawned vehicles.


Credits and Thanks to :

Thanks to All script contributors
Thanks to everyone who tries to do the best for this game!
Thanks to BIS for such a great platform .
Thanks to BIS Community and BIS Community Forums .
Thanks to Armaholic Community and Forums .

 

Special Thanks to :

 

@tpw https://forums.bohemia.net/profile/762937-tpw/?do=content&type=forums_topic&change_section=1
For helping , with sharing part of his mod / script .
@TPW MODS / tpw_radio
https://forums.bohemia.net/forums/topic/154944-tpw-mods-v20180630-enhanced-realism-and-immersion-for-arma-3-sp/


Changelog:

v2.0
Reedited code.
Added a Mod version ,possible to unpack and edit.

 

v1.0


Forum topic:
- Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40143

 

 

Armaholic

download

GF Vehicle Radio chatter script

 

  • Like 6
  • Thanks 2

Share this post


Link to post
Share on other sites
6 hours ago, foxhound said:

An Armaholic mirror is now available:

 

 

Thank you very much Foxhound !

Share this post


Link to post
Share on other sites

Hellow. I use your script and noticed some micro freezing every 1-2 seconds. I turned you script off and all work fine as always. Script is very good and give more atmosphere. Mabye I just bad lucky, and all work fine but I hope you will check it. Thanks.

  • Thanks 1

Share this post


Link to post
Share on other sites
2 hours ago, baton1990 said:

I hope you will check it. Thanks.

 

Thank you very much baton1990 !

 

Just tell me something , how many vehicles there are in your mission ?

 

Did you run any other script or mod when you where testing this?

Did you tried this script alone? ( vanilla + no other scripts? )

 

So else to balance this more , you can open the :

GF_Vehicle_Radio_chatter.sqf

and add more than (2)

at the end of the file :

sleep 2;

Share this post


Link to post
Share on other sites

Thanks Ive follow your advice and set sleep 30 . Now its ok and I just dont mention it. Thanks. Aswell Im using your cleanup script and I think you need set up cleanup time loop 60 secs as default, because it cause micro freezes too. Thanks. Looking for your new scripts.

  • Thanks 1

Share this post


Link to post
Share on other sites
3 minutes ago, baton1990 said:

time loop 60 secs as default

 

The cleanup script , for the example purpose is set to 1 , but i would suggest to run the script every 45 min to 2 hours top depending the mission and the players

Share this post


Link to post
Share on other sites

ok so I have // out all systemchat however I still get a notice of 

 

_custom_radio_chat with this script.

 

as you can see its already blocked but still shows notice


  

  {    
    _Every_Vehicle = _x;
    if ( (!(typeof  _x in tpw_radio_carlist)) && {!(_Every_Vehicle iskindof "StaticWeapon")} && 
    {!(_Every_Vehicle iskindof "ParachuteBase")}&& (isNull (attachedTo _Every_Vehicle)) && (!((typeOf _x) in _Exclude_Vehicles_List)) ) then {
    GF_Vehicle_Radio = GF_Vehicle_Radio - [_x];   
    
    if ( (({((_x distance _Every_Vehicle) > _Distance)} count _allPlayers) isEqualTo 0) && (!(_x getVariable ["GF_Radio_chatter_ON",false]))) then {
                                    
            _x setVariable ["GF_Radio_chatter_ON",true];
            _x call GF_Vehicle_Radio_Play;
            GF_Vehicle_Radio_away = false;
            
            //systemchat "GF_Radio_chatter_ON";

            }else{
            
    if  ( (({((_x distance _Every_Vehicle) < _Distance)} count _allPlayers) isEqualTo 0) && ((_x getVariable ["GF_Radio_chatter_ON",true]))  ) then {
                            
            _x setVariable ["GF_Radio_chatter_ON",false];
            _x call GF_Vehicle_Radio_Play_Delete;
            GF_Vehicle_Radio_away = true;    
            
            //systemchat "GF_Radio_chatter_OFF";
        };    
    };    
    };    
    } forEach GF_Vehicle_Radio;
      
    sleep 2;
};

 

  • Like 1

Share this post


Link to post
Share on other sites
14 minutes ago, jandrews said:

all systemchat

 

Might be a systemchat notification from another script included ?

Check :

BIS_Vehicle_Radio_chatter.sqf or

Custom_Vehicle_Radio_chatter.sqf

 

Share this post


Link to post
Share on other sites

hello, I was wondering if I could remove this chatter from specific vehicles.  Is there an easy way like place a line in vehicle init to ignore code? Thanks

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, jandrews said:

remove this chatter from specific vehicles. 

 

There is an exclude list for classnames that you can edit :

//________________	Exclude certain Vehicles	________________		
_Exclude_Vehicles_List = [
	"B_Heli_Light_01_dynamicLoadout_F"
]; 

 

or for specific try :

this setVariable ["GF_Radio_chatter_ON",true];

( i haven't test this but it should be fine ! , so tell me if is ok please ! )

Share this post


Link to post
Share on other sites

Changelog:

 

v2.0
Reedited code.
Added a Mod version ,possible to unpack and edit.

Share this post


Link to post
Share on other sites

Nice work again and it's really nice to let other modders, Teams to repack the mod with their own sounds ^^ Great as ever !!

  • Thanks 1

Share this post


Link to post
Share on other sites
3 hours ago, yanoukovytsch said:

it's really nice to let other

 

Thank you very much yanoukovytsch !

 

It's good to be able to adjust and use it , as you like !

Share this post


Link to post
Share on other sites

This is a very nice script. One thing I noted, based on our conversation on another thread, is that for the BIS radio sounds you are using playSound3D. Unfortunately the sounds do not stay with the vehicle when it moves, I've tested this quite a bit in your sample mission with the Hunter car.  I think this is a game engine limitation. Unfortunately if I use say3D, I cannot hear any of the BIS sounds due to that known game bug. Your custom sounds work great though!

  • Thanks 1

Share this post


Link to post
Share on other sites
49 minutes ago, AZCoder said:

Unfortunately the sounds do not stay with the vehicle when it moves

 

Despite that i update it this yesterday , to be honest , i didn't pay attention , to the bis sounds script that much !

but i remember from the first version of he script ,that it was working .

So else i will check this again.

 

Thanks AZCoder !

 

# By the way ... did you saw the new  topic of  @johnnyboy  ?!

 

 

  • Haha 1

Share this post


Link to post
Share on other sites

I applied the GF Vehicle Radio chatter script to my server.

But there was a problem ...

Continuously low fps for 1 to 3 seconds.

I think this reason is a problem with your code.

So I ask you for help.


And I want to increase the volume.

Where can I fix it?

  • Like 1

Share this post


Link to post
Share on other sites

Hello there Pantom !

 

On 11/17/2019 at 1:44 AM, Pantom said:

Continuously low fps for 1 to 3 seconds.

You should try to add some more sleep as Baton did.

You might also running more scripts with loops that cause problems to your performance

 

 

The volume can be raised from the description.ext on cfg sounds.

 

 

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

×