Cutstuff Forum

Mega Man 8-bit Deathmatch => Help & Editing => Topic started by: PAC-MAN on August 15, 2016, 04:28:27 AM

Title: Custom Health/Weapon Ammo Messages
Post by: PAC-MAN on August 15, 2016, 04:28:27 AM
I've seen it ingame, users tend to have custom messages that say X health they have, or X ammo for Y weapon left.
I would like to know how I can make one for myself, as they seem somewhat useful!

Thanks in advance,
-PAC
Title: Re: Custom Health/Weapon Ammo Messages
Post by: Russel on August 15, 2016, 06:11:33 AM
Alright so first off you open the console and type "chat_substitution 1"

Then, open a chat message and type "$health". If it displays a number, then it worked.

The commonly used recognized strings are $health, $ammo, $weapon, and $ammocount.

There are also custom ones added in a modified Zandronum client, which can be found here. (https://zandronum.com/forum/viewtopic.php?t=6050)
Title: Re: Custom Health/Weapon Ammo Messages
Post by: PAC-MAN on August 21, 2016, 11:24:29 PM
Thanks! Follow-up; how would I go about getting this to work with binds?
I.E I bind K to say "I've got [x] health left!"
Title: Re: Custom Health/Weapon Ammo Messages
Post by: Korby on August 22, 2016, 03:10:01 AM
replace [x] in that instance with $health