Jump to content

Recommended Posts

Ww8wpLeQR7GgoS_zAG1Scw.png

headshot-killfeed-script-version-20-1_4. headshot-killfeed-script-version-20-2_4. headshot-killfeed-script-version-20-3_4. headshot-killfeed-script-version-20-4_4. headshot-killfeed-script-version-20-5_4. headshot-killfeed-script-version-20-6_4.

 
Headshot + Killfeed Script
by

 

GEORGE FLOROS [GR]


Description:

Adding a notification , for Headshot + Killfeed , to spice it a little bit .
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:

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

 

Notes:

It is 2 scripts , that you can use also seperate.
It is possible , to select between 3 different type of notification ,
for both scripts.
Working on Multiplayer + Spawned Units
Display kills on chat . The Kills shows on global ( systemChat )


Known issues :


There will be a headshot notification , also for the ai of Your team!


Credits & Thanks:

For the Killfeed Script ,source used from :
https://forums.bistudio.com/forums/topic/183541-creating-a-basic-kill-feed/
by kaysio Posted August 5, 2015

 

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 .


Changelog:


v2.0


Refixed the codes
Killfeed now working with every weaponry
The Kills shows on global ( systemChat )
Headshot will not display more than once (dead or alive)
Added 20 Headshot sounds
Option for randomize the Headshot sound

 

v1.0

 

Forum topic:
- BI forums
- Armaholic forums

 

 

Armaholic

download_pages.png

  • Like 4

Share this post


Link to post
Share on other sites

I like it ! Cool idea !

  • Like 1

Share this post


Link to post
Share on other sites

how do i take the sound off cause the folder isnt even being recognized

  • Like 1

Share this post


Link to post
Share on other sites

Mondetta

 

As i wrote in the Installation / Usage:

 

There is everything included ,
in the description.ext and init.sqf , to copy paste in your mission .

 

In the description.ext

copy the following :

class CfgSounds
{
	sounds[] = {};
		
	//adjust the volume from db0
	
	//Killfeed
	class Killfeed_notification{name = "Killfeed_notification";sound[] = {"Killfeed_GF\Killfeed_notification.ogg", db-5, 1.0};titles[] = {};};
	//HEADSHOT
	class HEADSHOT_notification_Damn{name = "HEADSHOT_notification_Damn";sound[] = {"Killfeed_GF\HEADSHOT_notification_Damn.ogg", db0, 1.0};titles[] = {};};
		
	};

 

and in the init.sqf

copy the following :

[] execVM "Killfeed_GF\Killfeed_GF.sqf";
[] execVM "Killfeed_GF\Headshot_GF.sqf";

 

also in the :

Killfeed_GF.sqf + Headshot_GF.sqf  ,

to make any change to the sounds ,

you need to change this :

 

publicVariable "Killfeed_notification";
playSound "Killfeed_notification";    

 

Share this post


Link to post
Share on other sites
1 hour ago, GEORGE FLOROS GR said:

Mondetta

 

As i wrote in the Installation / Usage:

 

There is everything included ,
in the description.ext and init.sqf , to copy paste in your mission .

 

In the description.ext

copy the following :


class CfgSounds
{
	sounds[] = {};
		
	//adjust the volume from db0
	
	//Killfeed
	class Killfeed_notification{name = "Killfeed_notification";sound[] = {"Killfeed_GF\Killfeed_notification.ogg", db-5, 1.0};titles[] = {};};
	//HEADSHOT
	class HEADSHOT_notification_Damn{name = "HEADSHOT_notification_Damn";sound[] = {"Killfeed_GF\HEADSHOT_notification_Damn.ogg", db0, 1.0};titles[] = {};};
		
	};

 

and in the init.sqf

copy the following :


[] execVM "Killfeed_GF\Killfeed_GF.sqf";
[] execVM "Killfeed_GF\Headshot_GF.sqf";

 

also in the :

Killfeed_GF.sqf + Headshot_GF.sqf  ,

to make any change to the sounds ,

you need to change this :

 


publicVariable "Killfeed_notification";
playSound "Killfeed_notification";    

 

thankyou

  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, GEORGE FLOROS GR said:

If you dont have a   description.ext  or init.sqf  , use the one from the included mission .

I changed out the default headshot sound for a new sound.ogg, but when I get a headshot it says that it cannot find the sound even though both sounds are in the Killfeed_GF folder.

  • Like 1

Share this post


Link to post
Share on other sites
 
Extra information

Installation / Usage:
 
As i wrote in the Installation / Usage:


There is everything included ,
in the description.ext and init.sqf , to copy paste in your mission .


In the description.ext
copy the following :
 
class CfgSounds
{
	sounds[] = {};
		
	//adjust the volume from db0
	
	//Killfeed
        class Killfeed_notification{name = "Killfeed_notification";sound[] = {"Killfeed_GF\Killfeed_Sounds\Killfeed_notification.ogg", db-5, 1.0};titles[] = {};};

	//HEADSHOT
	class HEADSHOT_notification_Damn{name = "HEADSHOT_notification_Damn";sound[] = {"Killfeed_GF\Killfeed_Sounds\HEADSHOT_Damn_i_m_good.ogg", db0, 1.0};titles[] = {};};
		
	};

and in the init.sqf
copy the following :
 
[] execVM "Killfeed_GF\Killfeed_GF.sqf";
[] execVM "Killfeed_GF\Headshot_GF.sqf";


If you want to change the name of the sound also , then you need to change it inside the :

description.ext
 
//Killfeed
class Killfeed_notification{name = "Killfeed_notification";sound[] = {"Killfeed_GF\Killfeed_Sounds\Killfeed_notification.ogg", db-5, 1.0};titles[] = {};};

to Your_Name_Sound_notification
 
//Killfeed
class Your_Name_Sound_notification{name = "Your_Name_Sound_notification";sound[] = {"Killfeed_GF\Killfeed_Sounds\Your_Name_Sound_notification.ogg", db-5, 1.0};titles[] = {};};

also in the :
Killfeed_GF.sqf + Headshot_GF.sqf ,
to make any change to the sounds ,
you need to change this :
 
playSound "Killfeed_notification";  

to Your_Name_Sound_notification
 
playSound  "Your_Name_Sound_notification"; 

Share this post


Link to post
Share on other sites

Hey George, i noticed that also if your AI Squadmembers make a HS it will start your script.

Maybe its intended but if not you can consider a change in a possibly update.

  • Like 1

Share this post


Link to post
Share on other sites

 

Known Issues

( so far ! )

 

 

  • if your AI Squadmembers do a Headshot , there will be a Headshot notification.

Share this post


Link to post
Share on other sites

For any further

A1lqDStoTzS-qQEYqiisow.png

Creation - Modification of this script ,

feel free to share here with the others!

Share this post


Link to post
Share on other sites
Error in expression < {

if (!(isPlayer _x)) then {
_x spawn HEADSHOT};

_x setVariable ["added_EV2",>
Error position: <HEADSHOT};

_x setVariable ["added_EV2",>
Error Nicht definierte Variable in Ausdruck: headshot

Getting this error in rpt.

variable headshot not defined.

Says its in \Headshot_GF.sqf, line 92

 

  • Like 1

Share this post


Link to post
Share on other sites

 

Muecke

 

Do you get this on the sample mission and where?

Cause as i checked also on the dedicated didn't notice anything

Share this post


Link to post
Share on other sites
9 hours ago, GEORGE FLOROS GR said:

 

Muecke

 

Do you get this on the sample mission and where?

Cause as i checked also on the dedicated din't notice anything

No its implemented in my CTI mission. Got this error in my rpt after a match on dedicated server.

Our server does not write rpt logs so I cant tell if the error will show up there.

I have a InitPublicVariables.sqf in my mission and have now added HEADSHOT = []; in it.

Seems to do the trick.

 

 

  • Like 1

Share this post


Link to post
Share on other sites

Thank you so much for this script, I added it to my server and put all credits in the diary.

Question: Could you make this script work with mortars? I also don't seem to get a notification from Air to Ground missile kills. This is on a home dedicated server.

  • Like 1

Share this post


Link to post
Share on other sites

starm1

 

Thanks also!

The Headshot script , will work with any weaponry,

but the Killfeed not .

 

I will try ,  ( if i can! ) , to fix this .

Maybe i will add something extra , instead of tweak this!

 

  • Like 1

Share this post


Link to post
Share on other sites

Soon will be the update of the script ,

with the Killfeed as you can see here , working with every weaponry

zkEv2LHlQq_EuHJzgOufhw.png

I will release this when i will be off work (soon) !

cause there is not so much time!

  • Like 1

Share this post


Link to post
Share on other sites
Updating to version 2.0

 

in progress
 
Changelog:

Version 2.0
Refixed the codes
Killfeed now working with every weaponry
The Kills shows on global ( systemChat )
Headshot will not display more than once (dead or alive)
Added 20 Headshot sounds
Option for randomize the Headshot sound

Notes:

It is 2 scripts , that you can use also seperate.
It is possible , to select between 3 different type of notification ,
for both scripts.
Working on Multiplayer + Spawned Units
Display kills on chat . The Kills shows on global ( systemChat )
Known issues :
There will be a headshot notification , also for the ai of Your team!

QfnxVJ6GTKSSbefem4YmFw.png4_7e9GOwRSyFXa2gOgj6ng.pngMuN4z-ITTRqbvvMVCzCC4g.pngwaDff7cJTZCF8L_3DqRHEQ.pngKE3LITaNQOG2iBJIWqSpXg.pngGaXpHy7ZRgmS23GeyzIvPg.png
  • Like 1

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

×