Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
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 Go to previous message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma:
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!


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SSGM 4.0 Plugin] Leave Deaths Exploit Fix
Next Topic: [SSGM 4.0 Plugn] SBH No Remote C4 Pickup
Goto Forum:
  


Current Time: Sat Apr 27 12:20:23 MST 2024

Total time taken to generate the page: 0.01200 seconds