Home » Renegade Discussions » Mod Release Forum » [SSGM 4.0 Plugin] Custom Kill Messages ALPHA
[SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #463989] |
Thu, 08 March 2012 12:30  |
iRANian
Messages: 4311 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
THIS IS AN ALPHA VERSION AND MIGHT CRASH OR LAG YOUR FDS.
This plugin replaces the normal kill messages for players running scripts.dll 2.9.2 or higher with custom versions that look like these:
KillerName <killed string> VictimName <squish string>
KillerName <killed string> VictimName with a HEAD SHOT!
KillerName <killed string> VictimName with a NECK SHOT!
Where <killed string> and <squish string> are randomly chosen from a list of strings you can configure. The source code contains a function to very accurately obtain what weapon was used to kill a player, but this function isn't used. Squishes might possibly not be detected accurately (using a hacky method to detect them), if that's the case please contact me.
You can contact me on renegadeforums.com under the nick iRANian.
Thanks to the Tiberian Technologies team and in particular StealthEye for adding the features to beta 4 that make this possible and for answering a lot of my questions.
To install this plugin set 'SendPlayerKillsToNewClients=' in server.ini to false, place 'CustomKillMessages.dll' in the root FDS folder and add an entry for it under [Plugins] in SSGM.ini. Then at the bottom of SSGM.ini add:
[CustomKillMessages_KilledStrings]
;These are the strings that are randomly chosen as the string to replace 'killed' with in 'KillerName killed VictimName'
01=beat the shit out of
02=politically massacred
[CustomKillMessages_SquishStrings]
;These are the strings that are randomly chosen as the string to replace 'squishstring' with in 'KillerName killed VictimName squishstring'
01=herp derp
02=SQUISH!
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #469122 is a reply to message #463989] |
Tue, 12 June 2012 03:16   |
 |
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |

|
|
Fixed the c4 and beacon to the new system.
Although I did find a error.
It's either when your a eng or a sak or havok.
Not for sure witch, but when we tested it I was a eng and he was a sak and it crashed the server when he killed me, and when I was a havok and killed him as a eng.
It also says was killed by a headshot even if it was a foot shot.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #469147 is a reply to message #469122] |
Tue, 12 June 2012 14:11   |
 |
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
DistrbdSt0rm21 wrote on Tue, 12 June 2012 06:16 | Fixed the c4 and beacon to the new system.
Although I did find a error.
It's either when your a eng or a sak or havok.
Not for sure witch, but when we tested it I was a eng and he was a sak and it crashed the server when he killed me, and when I was a havok and killed him as a eng.
It also says was killed by a headshot even if it was a foot shot.
|
Then you did something wrong.
Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.
Part time streamer - https://twitch.tv/gg_wonder
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #469155 is a reply to message #463989] |
Tue, 12 June 2012 15:35   |
 |
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |

|
|
All I did was changed the Is_C4 and Is_Beacon
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #469160 is a reply to message #463989] |
Tue, 12 June 2012 16:13   |
 |
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
You're checking objects. You aren't even checking the right variable. You didn't check for explosion.
Don't assume you can just copy and paste a line based on what I posted in a different topic, and think you've "fixed" it.
Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.
Part time streamer - https://twitch.tv/gg_wonder
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #469165 is a reply to message #469160] |
Tue, 12 June 2012 17:11   |
 |
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |

|
|
Xpert wrote on Tue, 12 June 2012 18:13 | You're checking objects. You aren't even checking the right variable. You didn't check for explosion.
Don't assume you can just copy and paste a line based on what I posted in a different topic, and think you've "fixed" it.
|
1 I never said I did, as I'm still learning C++.
2 I just thought I would make it easyer on Iran rather then just telling him what he needs to do.
So unless one of you guys want to fix it for him or wait for him to fix it then don't bitch at me.
EDIT: even though I'm not gonna release anything, I'm still gonna finish what I started.
Don't know if Iran has already fixed it or not, please let me know and I will remove it.
Have not tested yet.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
[Updated on: Thu, 19 July 2012 06:07] Report message to a moderator
|
|
|
Re: [SSGM 4.0 Plugin] Custom Kill Messages ALPHA [message #472008 is a reply to message #463989] |
Fri, 20 July 2012 03:57  |
 |
Distrbd21
Messages: 743 Registered: September 2008
Karma: 0
|
Colonel |

|
|
bump
updated my post above, IRAN If you already fixed it let me know and I'll remove it.
Live Your Life Not Some one Else's.| Sharing Is Caring
Cookie Jar<glome> Who stole the cookie from the cookie jar?!
<content> glome stole the cookie from the cookie jar!
<glome> Who me?!
<content> Yes you!
<glome> Couldn't be!
<content> Then WHO?!!
<glome> Woody stole the cookie from the cookie jar!
*** glome has been kicked by DrWoody (fuck you i didn't touch the motherfucking cookie, bitch
Suicide<TB> I was depressed last night so I called the Suicide Life Line.
<TB> I reached a call center in Pakistan.
<TB> I told them I was suicidal.
<TB> They got all excited and asked if I could drive a truck
|
|
|
Goto Forum:
Current Time: Sat Mar 01 13:00:30 MST 2025
Total time taken to generate the page: 0.01496 seconds
|